Automatic parking method, device, electronic device, and storage medium

Through the fusion of inertial measurement unit and odometer data and deep learning model training, the problem of insufficient intelligence of automatic parking is solved, the high accuracy and intelligent experience of automatic parking are achieved, and the success and efficiency of the parking operation are ensured.

CN114987449BActive Publication Date: 2024-10-01CHONGQING CHANGAN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210612982.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-31
Publication Date
2024-10-01
Estimated Expiration
2042-05-31

AI Technical Summary

Technical Problem

The existing automatic parking technology is not intelligent enough, which leads to problems such as unreasonable parking posture or parking failure when the vehicle does not enter the parking area in the learned posture.

Method used

By obtaining inertial measurement unit data and odometer data for data fusion, a sample data set is formed, and a deep learning model is established for training. The target image data and current vehicle parameter data are input into the trained deep learning model to obtain the current inertial navigation position. position to perform automatic parking.

Benefits of technology

It improves the accuracy and intelligent experience of automatic parking and enables subsequent parking operations without user participation. The deep learning module can perform self-learning and self-adjustment, enhancing the accuracy and efficiency of parking.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114987449B_ABST
    Figure CN114987449B_ABST
Patent Text Reader

Abstract

The present application provides an automatic parking method, device, electronic device, and storage medium, which relate to the field of automatic parking, including obtaining sample data, wherein the sample data includes image parameters and vehicle parameter data; fusing the inertial measurement unit data and odometer data to obtain the inertial navigation posture of the vehicle to form a sample data set; establishing a deep learning model based on the sample data set; obtaining target image data and current vehicle parameter data, and inputting them into the trained deep learning model to obtain the current inertial navigation posture, so that the vehicle can perform automatic parking according to the current inertial navigation posture. During the parking operation of the present application, automatic parking can be performed at any current inertial navigation posture. Except for the initial sample data which requires user participation, subsequent parking can be performed automatically. The deep learning module can perform self-learning and self-adjustment to improve the accuracy of automatic parking.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of automatic parking, and specifically to an automatic parking method, device, electronic equipment, and storage medium. Background Art

[0002] With the development of autonomous driving technology, automatic memory parking is one of the important applications of autonomous driving technology. Memory parking is to obtain the historical parking data of the vehicle and establish a corresponding parking map for a single parking path and the same parking space. The parking map can provide prior information in future memory parking tasks to assist the autonomous driving car in completing the memory parking task.

[0003] Existing automatic parking systems usually lack intelligence. When a vehicle enters a parking area in a posture other than that used for learning, problems such as unreasonable parking posture or parking failure may occur. Summary of the invention

[0004] In view of the above-mentioned shortcomings of the prior art, the present invention provides an automatic parking method to solve the above-mentioned technical problems.

[0005] An automatic parking method provided by the present invention includes acquiring sample data, wherein the sample data includes image parameters and vehicle parameter data, wherein the vehicle parameter data includes at least inertial measurement unit data and odometer data; fusing the inertial measurement unit data and the odometer data to obtain the inertial navigation posture of the vehicle to form a sample data set; establishing a deep learning model according to the sample data set, and training the deep learning model; acquiring target image data and current vehicle parameter data, and inputting them into the trained deep learning model to obtain the current inertial navigation posture, so that the vehicle performs automatic parking according to the current inertial navigation posture.

[0006] In one embodiment of the present application, the inertial measurement unit data and the odometer data are fused to obtain the inertial navigation posture of the vehicle to form a sample data set, including: the inertial measurement unit data and the odometer data are synchronized in time and space; the inertial measurement unit data and the odometer data are fused, wherein the time and space synchronization includes synchronizing the inertial measurement unit clock and the odometer clock.

[0007] In one embodiment of the present application, the inertial measurement unit data and the odometer data are synchronized in time and space, including: converting the inertial measurement unit data and the odometer data into a vehicle body coordinate system respectively.

[0008] In one embodiment of the present application, a deep learning model is established based on the sample data set, and the deep learning model is trained, including: self-adjusting the deep learning model, wherein the self-adjustment includes periodically using historical data as a new training set to train the deep learning model,

[0009] In one embodiment of the present application, the sample data includes image parameters and vehicle parameter data, wherein the acquisition of the image parameters includes: acquiring image data in parking learning; extracting feature information of the image data in real time; matching feature information of the current frame with that of the past frame to generate map points, and a number of the map points construct the image parameters.

[0010] In one embodiment of the present application, feature information of image data is extracted in real time, including: using a deep learning method to obtain point features, line features, surface features, physical features or semantic segmentation features of the image data.

[0011] In one embodiment of the present application, the current frame is matched with the feature information of the past frame to generate a map point, including: obtaining the prior pose of the camera according to the external parameters of the camera and the current inertial navigation pose of the target; completing initialization and generating initial map points according to the prior pose information and feature information matching information of the second frame and the first frame; after the initialization is successful, performing feature matching on the current frame and the past frame to generate a map point; according to the feature information matching relationship, eliminating erroneous map points and fusing redundant map points

[0012] The present application also provides an automatic parking device, including: an acquisition module, the acquisition module acquires sample data, the sample data includes image parameters and vehicle parameter data, the vehicle parameter data includes at least inertial measurement unit data and odometer data; a data processing module, the processing module fuses the inertial measurement unit data and the odometer data to obtain the inertial navigation posture of the vehicle to form a sample data set; a deep learning model is established according to the sample data set, and the deep learning model is trained; the acquisition module obtains target image data and current vehicle parameter data, and inputs them into the trained deep learning model to obtain the current inertial navigation posture, so that the vehicle performs automatic parking according to the current inertial navigation posture.

[0013] The present application also provides an electronic device, comprising: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, the electronic device implements the above-mentioned automatic parking method.

[0014] The present application also provides a computer-readable storage medium having computer-readable instructions stored thereon. When the computer-readable instructions are executed by a processor of a computer, the computer executes the automatic parking method according to any one of claims 1 to 7.

[0015] Beneficial effects of the present invention:

[0016] This application obtains the inertial navigation posture by fusing the sample inertial measurement unit data and the odometer data to form a sample data set, and establishes and trains a deep learning model through the sample data set. During the parking operation, the current inertial navigation posture is obtained according to the target image data and the current vehicle parameter data, thereby realizing automatic parking at any current inertial navigation posture. In addition to the initial sample data, this application requires user participation, and subsequent parking can be performed automatically. Through the deep learning module, self-learning and self-adjustment can be performed to improve the accuracy of automatic parking and enhance the user's intelligent experience.

[0017] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0019] Figure 1 is a flow chart of an automatic parking method shown in an exemplary embodiment of the present application;

[0020] Figure 2 yes Figure 1 The flowchart of S120 in an exemplary embodiment shown in the embodiment;

[0021] Figure 3 yes Figure 1 A schematic diagram of S110 in an exemplary embodiment is shown;

[0022] Figure 4 yes Figure 3 A schematic diagram of the process of S330 in an exemplary embodiment of the embodiment;

[0023] Figure 5 is a schematic diagram of local map optimization shown in an exemplary embodiment of the present application;

[0024] Figure 6 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present application is shown. DETAILED DESCRIPTION

[0025] The following will describe the embodiments of the present invention with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention, not for limiting the scope of protection of the present invention.

[0026] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.

[0027] In the following description, numerous details are discussed to provide a more thorough explanation of the embodiments of the present invention. However, it is obvious to those skilled in the art that the embodiments of the present invention can be implemented without these specific details. In other embodiments, well-known structures and devices are shown in the form of block diagrams rather than in detail to avoid making the embodiments of the present invention difficult to understand.

[0028] First of all, it should be explained that automatic parking is an autonomous driving system for self-driving cars that moves the vehicle from the driving lane to the parking space for parallel, perpendicular or angle parking. Automatic parking systems are designed to improve the comfort and safety of driving in confined environments, where a lot of attention and experience are required to drive a car. The parking maneuver is achieved by coordinated control of the steering angle and speed, which takes into account the actual conditions of the environment to ensure collision-free movement within the available space.

[0029] Automatic parking is generally divided into full-scene automatic parking and single-scene parking. The full-scene parking automatic parallel parking algorithm can locate sufficient parking spaces on the roadside, provide a convenient starting position for the car in front of the parking space, and perform parallel parking operations. Automatic withdrawal includes locating available space within the parking space for car movement, placing the car in the appropriate position behind the parking space, and performing the action of withdrawing the vehicle from the parking space to the driving lane. The key concept behind automatic parking is to plan and parameterize the basic control curves of steering angle and speed in order to obtain the desired vehicle path shape within the available space. Using sensor data from the vehicle servo system and distance measurements of the environment, the parking action is executed as a series of controlled movements, and the steering and speed control are calculated and executed in real time.

[0030] For single-scene parking, such as personal parking spaces in residential areas, rental parking spaces, and personal parking spaces in company areas. For single-scene parking, also known as memory parking, memory parking is to obtain historical parking data on the vehicle side, and establish a corresponding parking map for a single parking path and the same parking space. The parking map can provide prior information in future memory parking tasks to assist autonomous driving vehicles in completing memory parking tasks. Memory parking is used many times, the usage environment is limited, and it is usually in a weak network or no network situation. A weak network is also called a weak network environment, which has the characteristics of a low network transmission rate. The initial construction of the parking map is particularly important.

[0031] refer to Figure 1 , Figure 1 1 is a flowchart of an automatic parking method according to an exemplary embodiment of the present application. The method is mainly applied to the implementation environment of memory parking. It should be understood that the method can also be applied to other exemplary implementation environments. The present embodiment does not limit the implementation environment to which the method is applied.

[0032] Step S110, acquiring sample data, the sample data including image parameters and vehicle parameter data, the vehicle parameter data including inertial measurement unit data and odometer data.

[0033] First of all, it should be explained that the inertial measurement unit (IMU) is a device that measures the three-axis attitude angle (or angular rate) and acceleration of an object. In a narrow sense, an IMU has gyroscopes and accelerometers installed on three orthogonal axes, with a total of six degrees of freedom, to measure the angular velocity and acceleration of an object in three-dimensional space, which is the well-known "6-axis IMU". In a broad sense, IMU can add a magnetometer on the basis of accelerometers and gyroscopes to form the "9-axis IMU" that is now known to the public. The accelerometer detects the acceleration signal of the object in the independent three axes of the carrier coordinate system, while the gyroscope detects the angular velocity signal of the carrier relative to the navigation coordinate system, measures the angular velocity and acceleration of the object in three-dimensional space, and uses this to calculate the attitude of the object. The core value of IMU in navigation is irreplaceable. In order to improve its reliability, more types of sensors can be equipped for each single axis. To ensure measurement accuracy, the IMU is generally installed at the center of gravity of the object being measured. Odometer is a device that uses data obtained from a mobile sensor to estimate the change of an object's position over time.

[0034] In memory parking, sample data is usually obtained when the user manually parks during the first parking process. For image data, in existing technologies, the establishment of image data is generally based on simple splicing of visual feature point information or semantic information, without using enough information for redundant processing. Traditional visual feature point information is easily affected by changes in light, and semantic information only uses information from a single frame, which cannot overcome the shortcomings of low positioning accuracy caused by map redundancy. On the other hand, the establishment of a parking map requires the full participation of the user, and the user needs to make selections or adjustments in a timely manner until the map is completed. This way of mapping is likely to lead to a poor user experience when the map fails or is abnormal.

[0035] Please refer to Figure 3 , Figure 3 yes Figure 1 The schematic diagram of S110 in an exemplary embodiment shown in the embodiment is as follows, Figure 3 A method for obtaining sample image parameters is introduced. The sample image parameters are used to provide prior information for future memory parking tasks, assisting the autonomous driving car to complete the memory parking map.

[0036] Step S310, acquiring image data during parking learning.

[0037] Parking learning generally refers to the process of an autonomous vehicle learning to park when a user manually parks for the first time. The image data is captured by a camera. In the embodiment of the present application, the image data may be an original fisheye image or an image after distortion correction.

[0038] It should be noted that image distortion generally includes radial distortion, eccentric distortion, and prism distortion.

[0039] Radial distortion refers to the movement of a given image point inward and outward from its ideal position, and is mainly caused by imperfections in the change of radial curvature of the lens surface. Positive distortion of the image point is called pincushion distortion, which causes the outer points to spread relatively and increase the imaging ratio. Negative radial displacement of the image point is called barrel distortion, which causes the outer edge points to become more crowded and the imaging ratio to decrease.

[0040] Eccentric distortion is mainly caused by the inconsistency between the optical center and the geometric center of the optical system, that is, the optical axis centers of each lens cannot be strictly collinear. This type of distortion contains both radial distortion and tangential distortion.

[0041] Thin prism distortion is mainly caused by defects in lens design and production as well as camera assembly, such as slight tilt of the image sensing array or lens part. This type of distortion is equivalent to adding a thin prism to the optical system, which not only causes radial deviation but also tangential distortion.

[0042] Different correction algorithms are used to correct different distortions, and this application does not limit the specific correction method.

[0043] Step S320: extracting feature information of the image data in real time.

[0044] Traditional image data feature information is generally completed by simply splicing visual feature point information or semantic information. Feature point information is easily affected by changes in light, while semantic information only uses information from a single frame and cannot overcome shortcomings such as low positioning accuracy caused by map redundancy.

[0045] In one embodiment of the present application, the extracted image data includes point features, line features, surface features, object features, or semantic segmentation features obtained by learning and training using a deep learning method. By training the image data using a deep learning method to obtain specific point features, line features, surface features, object features, or semantic segmentation features, the problem that traditional feature point information is easily affected by light changes can be overcome, thereby improving the accuracy of feature information.

[0046] Step S330, the feature information of the current frame is matched with the feature information of the past frame to generate map points, and a number of map points construct image parameters.

[0047] By matching the feature information of the current frame with that of the past frame, there are both identical and different feature information between consecutive frames. By matching the feature information, the creation of map points can be completed, and new map points are continuously created to improve the map. When parking, they are output as image parameters to provide prior information.

[0048] Please refer to Figure 4 , Figure 4 yes Figure 3 A schematic diagram of the flow chart of S330 in an exemplary embodiment of the embodiment, Figure 4 This is an example description of how to create map points and optimize map points to obtain accurate image parameter data. The specific description is as follows:

[0049] Step S410, obtaining the camera's prior pose according to the camera's external parameters and the target's current inertial navigation pose.

[0050] Step S420, completing initialization and generating initial map points based on the prior pose and feature information matching information of the second frame and the first frame.

[0051] Step S430, feature matching is performed between the current frame and the past frame to generate map points. The newly generated map points are added to the initial map points, and a number of map points form a local map required for memory parking.

[0052] Step S440: According to the feature matching relationship, the erroneous map points are eliminated and the redundant map points are merged. The processed map points are inserted into the local map for map optimization. The local map is optimized by maintaining the map points for a period of time in the past, and the image parameter information is continuously optimized.

[0053] Please refer to Figure 5 , Figure 5 It is a schematic diagram of a local map optimization model in an embodiment of the present application. The optimization method optimizes both map points and posture information. In order to ensure that the optimization obtains the optimal solution, a certain number of marginalized map points and postures need to be added to the optimization problem as fixed vertices. Preferably, the local map is a map created within the past 30 seconds.

[0054] Please continue to refer to Figure 5 , assuming that there are currently N poses and K map points in the local map, of which camera1_fix and camera2_fix are fixed pose vertices, and the rest are free pose vertices, point1_fix and point2_fix are fixed map point position vertices, and the rest are free map point position vertices. The camera1_fix camera observes the map points point1_fix and point2_fix, the camera2_fix camera observes the map points point1_fix, point3, and pointK, and the cameraN camera observes the map points point3 and pointK. Based on these observation relationships and the attributes related to the cameras and map points, the error variance solution graph optimization problem is constructed.

[0055] Step S120: Inertial measurement unit data and odometer data are fused to obtain inertial navigation posture and form a sample data set. The inertial measurement unit data includes angular velocity and acceleration, and the odometer data includes the wheel speedometer data of the vehicle.

[0056] For information on how to fuse IMU data and odometer data to obtain inertial navigation attitude, please refer to Figure 2 , Figure 2 yes Figure 1 The flowchart of S120 in an exemplary embodiment in the illustrated embodiment is specifically described as follows:

[0057] In step S210, the inertial measurement unit data and the odometer data are respectively converted to the vehicle body coordinate system. The unified coordinate system can ensure the spatial accuracy of the fused data. The conversion between coordinate systems can be achieved by multiplying a transformation matrix (4×4), which will not be introduced in detail in this application.

[0058] Step S220, the inertial measurement unit data and the odometer data are time synchronized. Step S210 spatially synchronizes the inertial measurement unit data and the odometer data, and then completes the spatial and temporal synchronization of the data through the time synchronization of the data.

[0059] The inertial measurement unit data and the odometer data are time synchronized, and the synchronization method is hardware synchronization and / or software synchronization.

[0060] Because the clock source has clock drift, and each clock source has different clock drift, even if the timestamps of each sensor are aligned at the initial time, after running for a period of time, the previously aligned results will still deviate. The solution to this problem is to unify the clock source in hardware. A common approach is to make a pulse generator, and all sensors are triggered by this pulse. Each time it is triggered, its own clock is corrected once, so that the accumulated error of the clock source can be eliminated.

[0061] Hardware time synchronization has high requirements and requires hardware support. Generally, the clocks of the inertial measurement unit and the odometer are synchronized separately, so that the sampling timestamps are unified, thus achieving hardware time synchronization.

[0062] After solving the hardware synchronization, it can only be guaranteed that the time difference has no cumulative drift, but the acquisition time of each sensor is not the same, so software synchronization is also required, and software synchronization is usually interpolation. In an exemplary embodiment of the present application, the inertial measurement unit data is interpolated to the time stamp of the odometer based on the timestamp of the odometer.

[0063] By synchronizing the inertial measurement unit data and odometer data in time and space, the error of the fused data can be reduced and the accuracy can be improved.

[0064] Step S230: fusing the inertial measurement unit data and the odometer data.

[0065] Data fusion methods include Euler integration, median integration, Runge-Kutta integration, Kalman filtering and error state Kalman filtering.

[0066] Taking Euler integration as an example, the Euler method uses the current position p(k) + the current position p'(k)*dt(time) to approximate the value at p(k+1). The main error of this method comes from the fact that p'(t) changes within the integration interval, but it is replaced by p(k) here. Other data fusion forms will not be described one by one.

[0067] The inertial navigation pose is obtained by data fusion to form a sample data set.

[0068] Step S130, establishing a deep learning model based on the sample data, and training the deep learning model.

[0069] Deep learning is a research direction in the field of machine learning. It is introduced into machine learning to make it closer to its original goal - artificial intelligence.

[0070] Machine Learning (ML) is a multi-disciplinary subject that involves probability theory, statistics, approximation theory, convex analysis, algorithm complexity theory and other disciplines. It specializes in studying how computers simulate or implement human learning behavior to acquire new knowledge or skills and reorganize existing knowledge structures to continuously improve their performance. Among them, machine learning is the core of artificial intelligence and the fundamental way to make computers intelligent. Its applications are spread across all areas of artificial intelligence. Machine learning and deep learning usually include artificial neural networks, belief networks, reinforcement learning, transfer learning, inductive learning, and teaching learning.

[0071] In an exemplary embodiment of the present application, the deep learning model is also continuously self-adjusted. The self-adjustment includes regularly using historical data as a new training set to train the deep learning model and continuously adjusting the model parameters, thereby making the deep learning model more accurate.

[0072] Step S140, acquiring target image data and current vehicle parameter data.

[0073] Step S150, inputting the target image data and the current vehicle parameter data into the trained deep model to obtain the current inertial navigation posture, so that the vehicle performs automatic parking according to the current inertial navigation posture.

[0074] This application overcomes the fact that traditional feature point information is easily affected by light changes by extracting point features, line features, surface features, object features, or semantic segmentation features learned and trained by deep learning methods. At the same time, a local map optimization method is added during the mapping process to make the accuracy of map points higher. On the other hand, this application adopts a real-time mapping method, and users only need to teach once when parking for the first time to complete the mapping. It greatly improves the user experience and improves the efficiency of mapping. By establishing a deep learning model for sample data and training it, the posture of the vehicle in automatic parking is more accurate, and the parking efficiency and accuracy are effectively improved.

[0075] An exemplary embodiment of the present application further provides an automatic driving device, which is described as follows:

[0076] First of all, it should be noted that the automatic driving device first includes basic structures such as power mechanism, chassis, body, wheels, etc. The power mechanism is an engine or a motor, where the engine generally uses fuel and the motor is powered by a battery.

[0077] The function of the chassis is to support and install the assembly of the automobile engine and its components, forming the overall shape of the car, making the car move and ensuring normal driving. The traditional vehicle chassis consists of five parts: transmission system, running system, steering system, suspension system and braking system.

[0078] The power generated by the car engine is transmitted to the drive wheels by the transmission system. The transmission system has functions such as deceleration, speed change, reversing, power interruption, inter-wheel differential and inter-axle differential. It works with the engine to ensure the normal driving of the car under various working conditions and has good power and economy. It is mainly composed of clutch, transmission, universal joint, drive shaft and drive axle. For some new energy electric vehicles, there are generally two forms: central drive and electric wheel drive. The central drive is basically the same as the driving method of fuel vehicles, and the electric motor includes longitudinal and transverse placement. The volume and mass of the mechanical transmission device in the electric wheel drive form are greatly reduced compared with the volume and mass of the electric motor central drive form, but the cost is the increase in the complexity and cost of the control system.

[0079] Running system: The running system installs the various assemblies and components of the vehicle in the appropriate position and supports the entire vehicle to ensure the normal driving of the vehicle. It is composed of the frame, axle, suspension and wheels. The functions of the running system are: to convert the power transmitted from the transmission system into the driving force of the vehicle through the wheels; to bear and transmit various forces and torques acting on the wheels by the road surface, and to absorb vibrations and mitigate impacts; to cooperate with the steering system to achieve correct control of the vehicle's driving; and to support the weight of the entire vehicle.

[0080] Steering system: The special mechanism used to change or restore the direction of travel of a car is called the car steering system. The basic components of the steering system are: steering gear, steering control mechanism, and steering transmission mechanism.

[0081] Suspension system: The suspension system is a general term for all the force-transmitting connection devices between the frame and the axle or wheel of the car. Its function is to transmit the force and torque acting between the wheel and the frame, and to buffer the impact force transmitted to the frame or body by the uneven road surface, and to attenuate the vibration caused thereby, so as to ensure that the car can run smoothly. The typical suspension system structure consists of elastic elements, guide mechanisms, and shock absorbers, etc. Some structures also have buffer blocks, lateral stabilizer bars, etc. Elastic elements are in the form of leaf springs, air springs, spiral automobile suspension springs, and torsion bar springs.

[0082] Braking system: A series of special devices on a car that allow the outside world (mainly the road surface) to exert a certain force on certain parts of the car (mainly the wheels) to force it to brake to a certain extent are collectively called the braking system. Its functions are: to force the moving car to slow down or even stop according to the driver's requirements; to make the stopped car park stably under various road conditions (including on ramps); to keep the speed of the car driving downhill stable.

[0083] An embodiment of the present application mainly includes a collection module, which collects sample data, and the sample data includes image parameters and vehicle parameter data, and the vehicle parameter data includes at least inertial measurement unit data and odometer data. It should be noted that the sample data at least includes data collected during the initial parking learning process, that is, the first time the user manually waves the car, the vehicle collects sample data and learns the parking method in this area.

[0084] During the parking learning process, the camera collects image data, the inertial measurement unit including the gyroscope and accelerometer collects the vehicle's angular velocity and acceleration, and the odometer including the wheel speed meter collects the wheel speed data of each wheel.

[0085] Data processing module, during the parking learning process, the data processing module receives various data from the acquisition module, processes them, and completes the map building, so as to facilitate the output of image parameters in the subsequent automatic parking process.

[0086] The processing process includes time-space synchronization of the inertial measurement unit data and the odometer data. After time-space synchronization, the IMU data and the odometer data are fused through integration (Euler integration, median integration, and Runge-Kutta integration) or filtering (Kalman filtering and error state Kalman filtering) to obtain the current inertial navigation posture of the autonomous driving vehicle.

[0087] Extract deep learning feature information from each frame of image data in real time, including point features, line features, surface features, object features or semantic segmentation features. Initialization is completed by comparing the feature information of the second frame with the first frame of image data, and the initial map points and the initial local map of the initial map points are established. New map points are continuously generated by matching the feature information of consecutive frames, and the existing feature information matching relationship is used to eliminate map points with incorrect feature information matching, merge redundant map points, and insert the processed map points into the local map for supplementary optimization.

[0088] In the subsequent automatic parking process, the acquisition module continuously collects image data and vehicle parameter data, and the data processing module inputs the vehicle parameter data into the deep learning model and outputs the vehicle's current inertial navigation position so that the vehicle performs automatic parking according to the current inertial navigation position.

[0089] An embodiment of the present application also provides an electronic device, comprising: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, the electronic device implements the automatic parking method provided in the above-mentioned embodiments.

[0090] Figure 6 The structure diagram of the computer system suitable for implementing the electronic device of the embodiment of the present application is shown. It should be noted that: Figure 6 The computer system of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0091] like Figure 6 As shown, the computer system includes a central processing unit (CPU) 601, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 602 or the program loaded from the storage part 608 to the random access memory (RAM) 603, such as executing the method described in the above embodiment. In RAM 603, various programs and data required for system operation are also stored. CPU 601, ROM 602 and RAM 603 are connected to each other through bus 604. Input / output (I / O) interface 605 is also connected to bus 604.

[0092] The following components are connected to the I / O interface 605: an input section 606 including a keyboard, a mouse, etc.; an output section 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I / O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed so that a computer program read therefrom is installed into the storage section 608 as needed.

[0093] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication section 609, and / or installed from a removable medium 611. When the computer program is executed by a central processing unit (CPU) 601, various functions defined in the system of the present application are executed.

[0094] It should be noted that the computer-readable medium shown in the embodiment of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a 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. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a computer-readable computer program is carried. This propagated data signal can take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. A computer program contained on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0095] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. Wherein, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0096] The units involved in the embodiments described in this application may be implemented by software or hardware, and the units described may also be set in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.

[0097] Another aspect of the present application further provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the automatic parking method as described above is implemented. The computer-readable storage medium may be included in the electronic device described in the above embodiment, or may exist independently without being assembled into the electronic device.

[0098] Another aspect of the present application also provides a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device performs the automatic parking provided in each of the above embodiments.

[0099] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present invention. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed by the present invention shall still be covered by the claims of the present invention.

Claims

1. An automatic parking method, It is characterized in that include: Acquire sample data, wherein the sample data includes image parameters and vehicle parameter data, wherein the vehicle parameter data includes at least inertial measurement unit data and odometer data; Performing data fusion on the inertial measurement unit data and the odometer data to obtain the inertial navigation posture of the vehicle to form a sample data set; Establishing a deep learning model according to the sample data set, and training the deep learning model; Obtain target image data and current vehicle parameter data, and input them into the trained deep learning model to obtain the current inertial navigation posture, so that the vehicle performs automatic parking according to the current inertial navigation posture; The sample data includes image parameters and vehicle parameter data, wherein obtaining the image parameters includes: Obtain image data for parking learning; Extract feature information of image data in real time; The current frame matches the feature information of the past frame to generate map points, and a plurality of the map points construct the image parameters; Extract feature information of image data in real time, including: Use deep learning methods to obtain point features, line features, surface features, physical features or semantic segmentation features of image data; The current frame matches the feature information of the past frame to generate map points, including: According to the external parameters of the camera and the current inertial navigation posture of the target, the prior posture of the camera is obtained; According to the matching information of the prior pose information and feature information of the second frame and the first frame, the initialization is completed to generate the initial map points; After successful initialization, feature matching is performed between the current frame and the past frame to generate map points; According to the feature information matching relationship, erroneous map points are eliminated and redundant map points are merged.

2. The automatic parking method according to claim 1, It is characterized in that The inertial measurement unit data and the odometer data are fused to obtain the inertial navigation posture of the vehicle to form a sample data set, including: The inertial measurement unit data and the odometer data are synchronized in time and space; The inertial measurement unit data and the odometer data are fused. The time-space synchronization includes synchronizing the inertial measurement unit clock and the odometer clock.

3. The automatic parking method according to claim 2, It is characterized in that The inertial measurement unit data and the odometer data are synchronized in time and space, including: The inertial measurement unit data and the odometer data are respectively converted into a vehicle body coordinate system.

4. The automatic parking method according to claim 1, It is characterized in that Establishing a deep learning model according to the sample data set and training the deep learning model includes: The deep learning model is self-adjusted, and the self-adjustment includes periodically using historical data as a new training set to train the deep learning model.

5. An automatic parking device, It is characterized in that include: An acquisition module, wherein the acquisition module acquires sample data, wherein the sample data includes image parameters and vehicle parameter data, wherein the vehicle parameter data includes at least inertial measurement unit data and odometer data; A data processing module, wherein the processing module fuses the inertial measurement unit data and the odometer data to obtain the inertial navigation posture of the vehicle and form a sample data set; Establishing a deep learning model according to the sample data set, and training the deep learning model; The acquisition module acquires target image data and current vehicle parameter data, and inputs them into the trained deep learning model to obtain the current inertial navigation posture, so that the vehicle performs automatic parking according to the current inertial navigation posture; The sample data includes image parameters and vehicle parameter data, wherein obtaining the image parameters includes: Obtain image data for parking learning; Extract feature information of image data in real time; The current frame matches the feature information of the past frame to generate map points, and a plurality of the map points construct the image parameters; Extract feature information of image data in real time, including: Use deep learning methods to obtain point features, line features, surface features, physical features or semantic segmentation features of image data; The current frame matches the feature information of the past frame to generate map points, including: According to the external parameters of the camera and the current inertial navigation posture of the target, the prior posture of the camera is obtained; According to the matching information of the prior pose information and feature information of the second frame and the first frame, the initialization is completed to generate the initial map points; After successful initialization, feature matching is performed between the current frame and the past frame to generate map points; According to the feature information matching relationship, erroneous map points are eliminated and redundant map points are merged.

6. An electronic device, It is characterized in that include: one or more processors; A storage device for storing one or more programs, which, when executed by the one or more processors, enables the electronic device to implement the automatic parking method as described in any one of claims 1 to 4.

7. A computer-readable storage medium, It is characterized in that Computer-readable instructions are stored thereon, and when the computer-readable instructions are executed by a processor of a computer, the computer is caused to execute the automatic parking method according to any one of claims 1 to 4.