Parking method and system

By generating images of available parking spaces and calculating parking angles, the problem of excessive vehicle movement range in automatic parking technology is solved, accurate parking of vehicles is achieved, reducing parking time and the risk of vehicle scratches, and improving user experience.

CN112937554BActive Publication Date: 2024-09-13FORYOU GENERAL ELECTRONICS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110131332.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-01-30
Publication Date
2024-09-13
Estimated Expiration
2041-01-30

AI Technical Summary

Technical Problem

When the existing automatic parking technology is used to park in a vertical parking space, the vehicle movement range is too large, which increases the risk of the vehicle behind seizing the parking space, and it cannot be parked directly after one parking operation, which affects the user experience.

Method used

By generating images of available parking spaces, the parking starting position and maximum adjustment range are determined, and the parking angle of the vehicle is calculated and controlled to achieve minimum movement range to enter the parking space, reduce parking time, and improve user experience.

Benefits of technology

It achieves one-time warehousing, reduces parking time, reduces the risk of vehicle scratches, and improves user experience and parking efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112937554B
    Figure CN112937554B
Patent Text Reader

Abstract

The present invention relates to the field of automobile control technology, and provides a parking method and system. An available parking space image is produced according to available parking spaces, and a first preset condition is designed to determine the starting point (parking starting position) of reverse parking to complete vehicle positioning. When the vehicle reaches the parking starting position, the maximum adjustment range of the vehicle in the parking process can be calculated according to the available parking space image, and then the first parking angle of the vehicle when the minimum reverse action is taken as the fixed point is obtained; and when the current vehicle reaches the first preset position with the first parking angle, the second parking angle of the reverse parking process is further calculated, so that the vehicle can enter the available parking space with the minimum action amplitude, and finally the target parking position is taken as the target, and the vehicle can be controlled to reach the target parking position by performing a simple direction adjustment, so that the vehicle can be put into the parking space in place with one adjustment and reverse parking can be performed perfectly, thereby reducing congestion caused by excessive parking time, saving user time, and improving user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of automobile control technology, and in particular to a parking method and system. Background Art

[0002] Different automatic parking systems in the prior art use different methods to detect objects around the car. Some have sensors mounted around the front and rear bumpers of the car that act as both transmitters and receivers. These sensors send signals that are reflected when they hit obstacles around the car body. The car's computer then uses the time it takes to receive the signal to determine the location of the obstacle. Other systems use cameras or radars mounted on the bumpers to detect obstacles.

[0003] The end result is the same: the car detects the parked vehicle, the size of the parking space, and the distance from the curb, and then drives the car into the parking space; however, the following flaws still exist:

[0004] 1. When parking in a vertical parking space, the existing automatic parking technology will continue to move forward for about 3 meters (about 1.5 parking space widths) after identifying the target parking space, which gives the following car an opportunity to occupy the parking space, seriously affecting the user experience;

[0005] 2. When parking in a vertical parking space, the existing automatic parking technology is basically unable to park directly into place after one try, which seriously affects the user experience. Summary of the invention

[0006] The present invention provides a parking method and system, which solve the technical problems of unreasonable reversing algorithm of existing automatic parking technology, excessive vehicle movement range during reversing, risk of parking space being occupied, and inability to directly enter the parking space after one parking maneuver, resulting in poor user experience.

[0007] In order to solve the above technical problems, the present invention provides a parking method, comprising the steps of:

[0008] S1. When an available parking space is identified, a corresponding available parking space image is generated;

[0009] S2. determining a parking start position of the current vehicle according to the available parking space image and a first preset condition, and further acquiring a maximum adjustment range of the current vehicle at the parking start position;

[0010] S3, calculating a first parking angle of the current vehicle at the parking starting position according to the maximum adjustment range and the vehicle information, and controlling the current vehicle to reach a first preset position according to the first parking angle;

[0011] S4, presetting a minimum safety distance between the current vehicle and obstacles on both sides of the available parking space, and calculating a second parking angle of the current vehicle at the first preset position in combination with the vehicle information, and then controlling the current vehicle to arrive at the second preset position according to the second parking angle;

[0012] S5. According to the target parking position, control the current vehicle to reach the target parking position from the second preset position.

[0013] This basic solution creates an available parking space image based on the available parking spaces, designs a first preset condition to determine the starting point (parking starting position) for reversing into the garage to complete vehicle positioning; when arriving at the parking starting position, the maximum adjustment range of the vehicle during the parking process can be calculated based on the available parking space image, and then the first parking angle of the vehicle during the minimum reversing action is obtained with the parking starting position as the fixed point; and when the current vehicle reaches the first preset position with the first parking angle, the second parking angle during the reversing process is further calculated, so that the vehicle can enter the available parking space with the minimum action amplitude, and finally with the target parking position as the target, a simple direction adjustment can be made to control the vehicle to reach the target parking position, achieving a perfect reversing into the garage with one adjustment, thereby reducing congestion caused by long parking time, saving user time, and improving user experience.

[0014] In a further embodiment, the present invention further comprises the steps of:

[0015] S0. Use the sensing device to detect the area, and when it is detected that the middle area between the near-side obstacles meets the availability conditions, it is determined to be an available parking space;

[0016] The usable condition is that the width and depth of the middle area are not less than a preset width and a preset depth.

[0017] This solution determines the existence of available parking spaces based on the size of the middle area between obstacles. It can ensure that the vehicle maintains a minimum safety distance from the obstacles on both sides of the channel, while obtaining the maximum safety distance to the parking channel, thereby reducing the risk of vehicle scratches. It is not restricted by parking space lines, so more available parking space information can be obtained, improving parking efficiency.

[0018] In a further embodiment, in step S1, generating the corresponding available parking space image is specifically:

[0019] Taking the vertex of the available parking space closest to the current vehicle as a reference point, and combining the preset width and the preset depth, determining a virtual range corresponding to the available parking space;

[0020] An actual image of the available parking space is obtained, and superimposed with the virtual range to obtain an image of the available parking space.

[0021] This solution establishes a virtual available parking space according to the preset width and preset depth, and superimposes it with the actual image. With the support of the actual scene, the image of the available parking space can be vividly divided, which is easy to understand and gives the user a good usage experience.

[0022] In a further embodiment, step S2 comprises the steps of:

[0023] S21, taking the edge line of the parking space where the reference point is located as the mark position, obtaining the vehicle position when the starting mark on the current vehicle coincides with the edge line space, and marking it as the parking starting position;

[0024] S22, determining a corresponding first safety distance line and a second safety distance line according to the first safety distance and the second safety distance preset on both sides of the driving channel;

[0025] S23, continuously detecting the distance between the outermost vertices of the obstacles on both sides of the driving channel and the current vehicle, dividing the first safety distance line and the second safety distance line according to the outermost vertices, and obtaining the maximum adjustable range of the current vehicle.

[0026] In a further embodiment, step S23 comprises:

[0027] S231, detecting the outermost vertices of the obstacles on the left and right sides of the available parking space facing the driving passage as the two end points of the maximum adjustment range;

[0028] S232, detecting an obstacle on the other side of the driving passage corresponding to the obstacles on the left and right sides, and using the outermost vertex thereof facing the driving passage as the other two end points of the maximum adjustment range;

[0029] S233, determining the projection points of the above four endpoints on the nearest first safety distance line or the second safety distance line, and connecting the four projection points in sequence to obtain the maximum adjustable range of the current vehicle.

[0030] In this solution, the starting position of parking is calibrated by aligning the spatial coincidence of the starting mark on the current vehicle with the edge line as the first preset condition. At this time, the movable width on the driving channel (i.e., the first safety distance line and the second safety distance line) can be determined according to the preset first safety distance and second safety distance. The lengths of both ends of the driving channel can be determined according to the projection points of the outermost vertices of the obstacles around the available parking spaces onto the first safety distance line and the second safety distance line, thereby obtaining the maximum adjustment range within which the current vehicle can move without touching other obstacles.

[0031] In a further embodiment, step S3 comprises:

[0032] S31, taking the proximal end fixed point of the obstacle on the side of the available parking space in the current vehicle forward direction as the coordinate origin, and determining the horizontal axis and the vertical axis along the horizontal and vertical directions respectively, to establish a plane coordinate system;

[0033] S32, calculating, according to the maximum adjustment range and the vehicle body size, in combination with the plane coordinate system, a maximum turning angle when the current vehicle at the parking starting position moves forward with a minimum turning radius, to obtain a first parking angle;

[0034] S33: Control the current vehicle to move forward at the first parking angle and the minimum turning radius to reach a first preset position.

[0035] In a further implementation scheme, the step 32 is specifically as follows: when the current vehicle moves from the parking starting position to the edge of the maximum adjustment range with the minimum turning radius, obtaining the coordinate information of the edge reference point of the current vehicle at the parking starting position and the first preset position, determining the coordinate information of the turning circle center thereof in combination with the minimum turning radius, and calculating the maximum turning angle as the first parking angle according to the above coordinate information;

[0036] The calculation formula is as follows:

[0037]

[0038] Wherein, δ is the first parking angle, a1 and a2 are the coordinates of the edge reference point at the parking starting position and the first preset position respectively, and O1 is the coordinate of the center of the turning circle.

[0039] This solution uses the cosine formula, which is simple and easy to understand, to predict the end point (first preset position) and angle (first parking angle) of the current vehicle's forward movement starting from the parking starting position, and combines it with the plane coordinate system built with actual reference objects to perform digital translation to obtain accurate data control commands, thereby controlling the current vehicle to complete forward positioning in one go and eliminating the problem of other vehicles occupying parking spaces with the minimum turning radius.

[0040] In a further embodiment, step S4 comprises:

[0041] S41, presetting a minimum safety distance between the current vehicle and obstacles on both sides of the available parking space, and then obtaining a corresponding third safety distance line and a fourth safety distance line on the plane coordinate system;

[0042] S42, calculating, according to the third safety distance line or the fourth safety distance line and the vehicle body size, a maximum turning angle of the current vehicle when reversing at the minimum turning radius to obtain a second parking angle;

[0043] S43: Control the current vehicle to reverse at the second parking angle and the minimum turning radius to reach a second preset position.

[0044] In a further embodiment, step 42 is specifically as follows: when the current vehicle reverses from the first preset position to contact the third safety distance line or the fourth safety distance line with the minimum turning radius, obtaining the coordinate information of the edge reference point at the first preset position and the second preset position, determining the coordinate information of the turning circle center thereof in combination with the minimum turning radius, and calculating the maximum turning angle as the second parking angle according to the above coordinate information;

[0045] The calculation formula is as follows:

[0046]

[0047] Wherein, α is the first parking angle, a2 and a4 are the coordinates of the edge reference point at the first preset position and the second preset position respectively, and O2 is the coordinate of the center of the turning circle.

[0048] This solution uses the cosine formula, which is easy to understand, and takes the minimum safe distance between the current vehicle and the obstacles on both sides of the available parking space as the limit. It predicts the end point (second preset position) and angle (second parking angle) of the current vehicle starting the reversing action at the first preset position, and combines it with the plane coordinate system built with actual reference objects to perform digital translation to obtain accurate data control commands, so that the current vehicle can be controlled to complete the parking positioning in one go without scratching other obstacles, and the problem of other vehicles occupying parking spaces is eliminated with the minimum turning radius.

[0049] In a further embodiment, step S5 comprises:

[0050] S51, obtaining an actual distance between the current vehicle at the second preset position and an inner edge line of a target parking position;

[0051] S52: Divide the actual distance into at least two adjustment areas, and adjust the distance between the current vehicle and obstacles on both sides in each adjustment area in turn until the target parking position is reached.

[0052] When the current vehicle enters an available parking space, this solution divides the remaining reversing distance into at least two adjustment areas, so that the distance between the vehicle body and obstacles on both sides can be coordinated while entering the parking space, thereby ensuring that the vehicle body posture is consistent with the obstacles on the left and right sides after parking is completed, and the distance to the left and right sides is equivalent, thereby reducing the risk of vehicle scratches.

[0053] The present invention also provides a parking system, which is applied to the above-mentioned parking method, and comprises a sensing device, a decoding module, a control module and a vehicle braking module connected in sequence;

[0054] The sensing device is used to detect the distance between the vehicle and surrounding obstacles and to obtain the actual image of the parking space;

[0055] The decoding module is used to obtain the collected data output by the sensing device and upload it to the control module after decoding;

[0056] The control module is used to process the collected data according to the preset logic combined with the vehicle information, sequentially calculate the parking starting position, the first parking angle and the first preset position when the current vehicle is moving forward, and the second parking angle, the second preset position and the target parking position when the vehicle is reversing, and send corresponding control instructions to the vehicle braking module;

[0057] The vehicle braking module is used to drive the vehicle in response to the control command: after reaching the parking starting position, the vehicle moves forward to the first preset position at the first parking angle, reverses to the target parking position at the second preset position, and finally parks in the target parking position.

[0058] In a further embodiment, the sensing device includes a radar probe and a camera. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] Figure 1 is a work flow chart of a parking method provided by an embodiment of the present invention;

[0060] Figure 2 is a schematic diagram of establishing an available parking space image provided by an embodiment of the present invention;

[0061] Figure 3 is a schematic diagram of the detection range of a sensing device provided by an embodiment of the present invention;

[0062] Figure 4 is a schematic diagram of a region with a maximum adjustment range provided by an embodiment of the present invention;

[0063] Figure 5 is a schematic diagram of the process of step S3 provided in an embodiment of the present invention;

[0064] Figure 6 It is a schematic diagram of reversing in step S3 provided in an embodiment of the present invention.

[0065] Figure 7 It is a structural framework diagram of a parking system provided in Example 2 of the present invention. DETAILED DESCRIPTION

[0066] The following specifically illustrates the implementation mode of the present invention in conjunction with the accompanying drawings. The embodiments are provided for illustrative purposes only and cannot be understood as limiting the present invention. The accompanying drawings are provided for reference and illustration only and do not constitute a limitation on the scope of patent protection of the present invention, because many changes can be made to the present invention without departing from the spirit and scope of the present invention.

[0067] Example 1

[0068] An embodiment of the present invention provides a parking method, such as Figure 1 As shown, in this embodiment, steps S0 to S5 are included:

[0069] S0. Use the sensing device to perform area detection, and when it is detected that the middle area between the near-side obstacles meets the availability conditions, it is determined to be an available parking space.

[0070] Among them, the available conditions are that the width and depth of the middle area are not less than the preset width w and the preset depth h; the preset width w and the preset depth h are respectively the sum of the vehicle width and the reserved width, and the sum of the vehicle length and the reserved length. The reserved width and reserved length can be adjusted according to user habits or the actual size of the vehicle.

[0071] In this embodiment, obstacles are generally other parked vehicles. Therefore, when a vehicle enters a parking area (such as an indoor parking lot, an outdoor parking lot, or an ordinary open space) it moves forward in a straight line at a low speed, and uses the radar installed on the vehicle body to detect the surroundings to obtain the distance between other parked vehicles closest to the side of the vehicle (i.e., the middle area). When the width and depth of the middle area are not less than the preset width w and the preset depth h, it is determined to be an available parking space.

[0072] This embodiment determines the existence of available parking spaces based on the size of the middle area between obstacles, and can obtain the maximum safety distance of the entrance channel under the premise of ensuring the minimum safety distance between the vehicle and the obstacles on both sides of the channel, thereby reducing the risk of vehicle scratches; and is not restricted by parking space lines, so more available parking space information can be obtained to improve parking efficiency.

[0073] S1. When an available parking space is identified, a corresponding available parking space image is generated;

[0074] See also Figure 2 , the corresponding available parking space image is generated as follows:

[0075] Taking the vertex closest to the current vehicle on the available parking space as a reference point, combined with the preset width w and the preset depth h, a virtual range corresponding to the available parking space is determined;

[0076] The vehicle-mounted camera is used to obtain the actual image of the available parking space, which is superimposed with the virtual range to obtain the image of the available parking space.

[0077] In this embodiment, see Figure 2 Taking the current vehicle moving to the left as an example, the upper left vertex of the vehicle (obstacle) parked on the left side of the available parking space can be used as the reference point O, and the upper right vertex M1 (i.e. the upper left vertex of the vehicle parked on the right side), the lower right vertex M2 (i.e. the lower left vertex of the vehicle parked on the right side), and the lower left vertex M3 (i.e. the lower right vertex of the vehicle parked on the left side) of the virtual range are determined according to the preset width w and the preset depth h.

[0078] This embodiment establishes a virtual available parking space according to the preset width w and the preset depth h, and superimposes it with the actual image. With the support of the actual scene, the image of the available parking space can be vividly divided, which is easy to understand and gives the user a good usage experience.

[0079] S2. Determine the parking starting position of the current vehicle according to the available parking space image and the first preset condition, and further obtain the maximum adjustment range of the current vehicle at the parking starting position, see Figure 3 , Figure 4 , including steps S21 to S23:

[0080] S21, taking the edge line of the parking space where the reference point is located as the mark position, obtaining the vehicle position when the starting mark on the current vehicle coincides with the edge line space, and marking it as the parking starting position;

[0081] In this embodiment, the starting mark is the vehicle rearview mirror. When the available parking space image is produced, the vehicle rearview mirror is also converted into the available parking space image. When an available parking space is detected, the vehicle is controlled to continue to drive straight at a low speed until the vehicle rearview mirror coincides with the edge line of the parking space where the reference point is located on the horizontal line, which means that the vehicle has reached the parking starting position. At this time, the current vehicle is controlled to stop (the gear is changed from D gear to P gear).

[0082] S22. Determine a corresponding first safety distance line L1 and a second safety distance line L2 according to a first safety distance S1 and a second safety distance S2 preset on both sides of the driving channel.

[0083] First, the radar or camera installed on the vehicle body bumper measures the distance to the obstacles on both sides of the driving channel to determine the minimum distance between the obstacles and both sides of the vehicle. At this time, after adding the reserved space of the first safety distance S1 and the second safety distance S2, the first safety distance line L1 and the second safety distance line L2 can be divided on both sides of the driving channel.

[0084] S23, continuously detecting the distance between the outermost vertices of the obstacles on both sides of the driving channel and the current vehicle, dividing the first safety distance line L1 and the second safety distance line L2 according to the outermost vertices, and obtaining the maximum adjustable range of the current vehicle.

[0085] In this embodiment, step S23 includes:

[0086] S231, detecting the outermost vertices of the obstacles on the left and right sides of the available parking space facing the driving passage, that is, point R and point M1, as the two end points of the maximum adjustment range;

[0087] S232, detecting the obstacle on the other side of the driving channel corresponding to the obstacles on the left and right sides, and using the outermost vertices facing the driving channel, namely, point G and point P, as the other two endpoints of the maximum adjustment range;

[0088] S233, determining the projection points of the above four endpoints on the nearest first safety distance line L1 or second safety distance line L2, and connecting the four projection points in sequence to obtain the maximum adjustable range of the current vehicle.

[0089] Specifically, G0 is the projection point of point G on L1, point P0 is the projection point of point P on L1, point R0 is the projection point of point R on L2; point S0 is the projection point of point S on L2, and the quadrilateral G0P0R0S0 formed by the four projection points is the maximum adjustment range of the parking starting position.

[0090] In this embodiment, the starting mark on the current vehicle coincides with the edge line space as the first preset condition to calibrate the parking starting position. At this time, the movable width on the driving channel (i.e., the first safety distance line L1 and the second safety distance line L2) can be determined according to the preset first safety distance S1 and the second safety distance S2, and the length of the two ends of the driving channel can be determined according to the projection points of the outermost vertices of the obstacles around the available parking spaces onto the first safety distance line L1 and the second safety distance line L2, thereby obtaining the maximum adjustment range within which the current vehicle can move without touching other obstacles.

[0091] S3. Calculate a first parking angle of the current vehicle at the parking starting position according to the maximum adjustment range and the vehicle information, and control the current vehicle to reach a first preset position according to the first parking angle, see Figure 5 , including steps S31 to S33:

[0092] S31, taking the proximal end fixed point of the obstacle on the side of the available parking space in the current vehicle forward direction as the coordinate origin, and determining the horizontal axis X and the vertical axis Y along the horizontal and vertical directions respectively, to establish a plane coordinate system XOY;

[0093] S32. According to the maximum adjustment range G0P0R0S0 and the vehicle body size, in combination with the plane coordinate system XOY, calculate the maximum turning angle of the current vehicle at the parking starting position when it moves forward with the minimum turning radius to obtain a first parking angle.

[0094] In this embodiment, when the current vehicle moves from the parking start position to the edge of the maximum adjustment range with the minimum turning radius (in this embodiment, the vehicle steering wheel is controlled to turn clockwise to the maximum angle), the coordinate information of the edge reference point of the current vehicle at the parking start position and the first preset position is obtained, and the coordinate information of the turning circle center is determined in combination with the minimum turning radius. According to the above coordinate information, the maximum turning angle ∠a1O1a2 is calculated as the first parking angle δ;

[0095] exist Figure 4 In the figure, line segment r is the minimum turning radius of the vehicle (current vehicle), a0 is the outermost edge of the exterior rearview mirror of the vehicle, a1 is the outermost edge of the right front corner of the front of the vehicle when the vehicle is at the parking starting position, a2 is the outermost edge of the right front corner of the front of the vehicle when the vehicle is in the first preset position, a3 is the outermost edge of the left front corner of the front of the vehicle when the vehicle is at the parking starting position, d0 is the straight-line distance between the outermost edge of the front of the vehicle and a0, d1 is the distance between the center of the wheel and the outermost edge of the body; L0 is the distance between the outermost edge of the front of the vehicle and the front axle of the vehicle; L is the wheelbase of the vehicle.

[0096] The calculation formula is as follows:

[0097] Calculate the minimum turning radius R of the current vehicle min :

[0098]

[0099] Among them, L is the wheelbase, K is the distance between the centerline of the two wheel spindles and the intersection of the ground, θ imax is the maximum turning angle of the inner steering wheel, and a is the length of the wheel arm.

[0100] At this time, the coordinates of the center O1 are (01x, O1y), O1x = (L + L0) - d0, O1y = L * tanθ imax +d1+S2;

[0101] The coordinates of a1 are (a1x, a1y), a1x=L+L0, a1y=w+S2;

[0102] The coordinate formula of a2 is,

[0103] The distance of line segment a1O1 is:

[0104]

[0105] Since a1 and a2 are on the circle O1, a1O1=a2O1, then the first parking angle δ is:

[0106]

[0107] Wherein, δ is the first parking angle, a1 and a2 are the coordinates of the edge reference point at the parking starting position and the first preset position respectively, and O1 is the coordinate of the center of the turning circle.

[0108] S33, controlling the current vehicle to move forward at a first parking angle and a minimum turning radius to reach a first preset position.

[0109] At this time, the vehicle is controlled to switch from P gear to D gear, and with O1 as the center, it starts to drive at a low speed from the parking start position to the first preset position. When the turning angle β1 of the vehicle is equal to ∠a1o1a2, the vehicle stops. β1 is calculated as follows:

[0110]

[0111] Among them, v is the vehicle speed and t1 is the driving time.

[0112] In this embodiment, step 32 is specifically as follows:

[0113] This embodiment uses the cosine formula, which is simple and easy to understand, to predict the end point (first preset position) and angle (first parking angle) of the current vehicle's forward movement starting from the parking starting position, and combines it with a plane coordinate system built with actual reference objects to perform digital translation to obtain accurate data control commands, thereby controlling the current vehicle to complete forward positioning in one go and eliminating the problem of other vehicles occupying parking spaces with the minimum turning radius.

[0114] S4, preset the minimum safe distance between the current vehicle and the obstacles on both sides of the available parking space, and calculate the second parking angle of the current vehicle at the first preset position in combination with the vehicle information, and then control the current vehicle to reach the second preset position according to the second parking angle, see Figure 6 , including steps S41 to S43:

[0115] S41, presetting the minimum safety distances between the current vehicle and obstacles on both sides of the available parking space as d2 and d3 respectively, and then obtaining the corresponding third safety distance line L3 and fourth safety distance line L4 on the plane coordinate system;

[0116] S42. Calculate the maximum turning angle of the current vehicle when reversing with a minimum turning radius according to the third safety distance line L3 or the fourth safety distance line L4 and the vehicle body size, and obtain a second parking angle.

[0117] In this embodiment, when the current vehicle reverses from the first preset position to the third safety distance line L3 or the fourth safety distance line L4 with the minimum turning radius (in this embodiment, the steering wheel of the vehicle is controlled to turn counterclockwise to the maximum angle), the coordinate information of the edge reference point at the first preset position and the second preset position is obtained, and the coordinate information of the turning circle center is determined in combination with the minimum turning radius. According to the above coordinate information, the maximum turning angle ∠a1O1a4 is calculated as the second parking angle α;

[0118] exist Figure 5 In the figure, O2 is the center of the minimum turning area of ​​the rear of the vehicle when reversing into a parking space, d2 and d3 are the minimum safety distances between the vehicle and obstacles on both sides when parking in the target parking space, L3 is the minimum safety distance line between the vehicle and obstacles on the left when parking in the target parking space (i.e. the third safety distance line); L4 is the minimum safety distance line between the vehicle and obstacles on the right when parking in the target parking space (i.e. the fourth safety distance line), which is tangent to the circle formed by the minimum turning radius r0 of the rear of the vehicle at point c1, and a4 is the end point of reversing when the steering wheel of the vehicle is turned counterclockwise to the maximum angle (i.e. the second preset position).

[0119] Similarly, the calculation formula is as follows:

[0120]

[0121] Wherein, α is the first parking angle, a2 and a4 are the coordinates of the edge reference point at the first preset position and the second preset position respectively, and O2 is the coordinate of the center of the turning circle.

[0122] S43, controlling the current vehicle to reverse at a second parking angle and a minimum turning radius to reach a second preset position.

[0123] At this time, the vehicle is controlled to switch from D gear to R gear, and with O2 as the center, it starts to drive at a low speed from the parking starting position to the first preset position. When the turning angle β2 of the vehicle is equal to ∠a2O2a4, the vehicle stops. β2 is calculated as follows:

[0124]

[0125] Among them, v is the vehicle speed and t2 is the driving time.

[0126] This embodiment uses the cosine formula with a simple and easy-to-understand algorithm, and takes the minimum safe distance between the current vehicle and the obstacles on both sides of the available parking space as the limit, and predicts the end point (second preset position) and angle (second parking angle) of the current vehicle starting the reversing action at the first preset position, and combines it with the plane coordinate system built with actual reference objects to perform digital translation to obtain accurate data control commands, so that the current vehicle can be controlled to complete the parking positioning in one go without scratching other obstacles, and the problem of other vehicles occupying parking spaces is eliminated with the minimum turning radius.

[0127] S5, according to the target parking position, controlling the current vehicle to reach the target parking position from the second preset position, including steps S51-S52:

[0128] S51. Obtaining an actual distance between the current vehicle at the second preset position and the inner edge line of the target parking position.

[0129] In this embodiment, the target parking position is an area on the available parking space that is d2 and d3 away from the obstacles on the left and right sides, respectively, and whose bottom overlaps with the extension line of the rear end M3M4 of the rearmost obstacle on the side.

[0130] When reaching the second preset position, the actual distance between the outermost edge of the rear end of the vehicle and the extended line M3M4 of the rear end of the rearmost obstacle on the side is still continuously detected.

[0131] S52: Divide the actual distance into at least two adjustment areas, and adjust the distance between the current vehicle and obstacles on both sides in each adjustment area in turn until the target parking position is reached.

[0132] The actual distance is divided into at least two adjustment areas, at least one of which is used to turn the steering wheel to adjust the distance between the vehicle body and the obstacles on the left and right sides to d2 and d3 respectively, and at least one of which is used to control the vehicle to reverse into the garage in a straight line until the rear of the vehicle coincides with the rear extension line M3M4 of the rearmost obstacle on the side. Park the vehicle in this way and switch the gear from R to P to complete the parking.

[0133] In this embodiment, when the current vehicle enters an available parking space, the remaining reversing distance is divided into at least two adjustment areas, so that the distance between the vehicle body and obstacles on both sides can be coordinated while entering the parking space, thereby ensuring that the vehicle body posture is consistent with the obstacles on the left and right sides and the distance is equivalent to the left and right sides after parking is completed, thereby reducing the risk of vehicle scratches.

[0134] In the embodiment of the present invention, an available parking space image is prepared according to the available parking spaces, and the starting point (parking starting position) of reversing into a garage can be quickly determined according to a first preset condition to complete the positioning of the vehicle. When the vehicle reaches the parking starting position, the maximum adjustment range of the vehicle in the parking process can be calculated according to the available parking space image, and then the first parking angle of the vehicle with the minimum reversing action is obtained with the parking starting position as the fixed point. When the vehicle reaches the first preset position with the first parking angle, the second parking angle of the reversing process is further calculated, so that the vehicle can enter the available parking space with the minimum action amplitude. Finally, with the target parking position as the target, a simple direction adjustment can be performed to control the vehicle to reach the target parking position, so that the vehicle can be reversing into the garage perfectly with one adjustment, thereby reducing congestion caused by long parking time, saving user time, and improving user experience.

[0135] Example 2

[0136] The reference numerals in the drawings of the specification of this embodiment include: a sensing device 1 , a decoding module 2 , a control module 3 , and a vehicle braking module 4 .

[0137] The embodiment of the present invention further provides a parking system, which is applied to a parking method in the above embodiment 1, see Figure 7 , comprising a sensing device 1, a decoding module 2, a control module 3 and a vehicle braking module 4 connected in sequence;

[0138] The sensing device 1 is used to detect the distance between the vehicle and surrounding obstacles and to obtain the actual image of the parking space;

[0139] The decoding module 2 is used to obtain the collected data output by the sensing device 1 and upload it to the control module 3 after decoding;

[0140] The control module 3 is used to collect data according to the preset logic combined with the vehicle information processing, and sequentially calculate the parking starting position, the first parking angle and the first preset position when the current vehicle is moving forward, and the second parking angle, the second preset position and the target parking position when reversing, and send corresponding control instructions to the vehicle brake module 4;

[0141] The vehicle brake module 4 is used to drive the vehicle in response to the control command: after reaching the parking start position, the vehicle moves forward to the first preset position at a first parking angle, reverses to the target parking position at a second preset position, and finally parks in the target parking position.

[0142] In this embodiment, the sensing device 1 includes but is not limited to a radar probe and a camera.

[0143] The control module is preferably an on-vehicle ECU.

[0144] The parking system provided in this embodiment uses various modules to implement various steps in the parking method, providing a hardware basis for the parking method and facilitating the implementation of the method.

[0145] The above embodiments are preferred implementation modes of the present invention, but the implementation modes of the present invention are not limited to the above embodiments. Any other changes, modifications, substitutions, combinations, and simplifications that do not deviate from the spirit and principles of the present invention should be equivalent replacement methods and are included in the protection scope of the present invention.

Claims

1. A parking method, characterized in that: Includes steps: S0. Use the sensing device to detect the area, and when it is detected that the middle area between the near-side obstacles meets the availability conditions, it is determined to be an available parking space; S1. When an available parking space is identified, a corresponding available parking space image is generated; S2. determining a parking start position of the current vehicle according to the available parking space image and a first preset condition, and further acquiring a maximum adjustment range of the current vehicle at the parking start position; S3, calculating a first parking angle of the current vehicle at the parking starting position according to the maximum adjustment range and the vehicle information, and controlling the current vehicle to reach a first preset position according to the first parking angle; S4, presetting a minimum safety distance between the current vehicle and obstacles on both sides of the available parking space, and calculating a second parking angle of the current vehicle at the first preset position in combination with the vehicle information, and then controlling the current vehicle to arrive at the second preset position according to the second parking angle; S5. According to the target parking position, controlling the current vehicle to reach the target parking position from the second preset position; Wherein, the applicable condition is that the width and depth of the middle area are not less than the preset width and preset depth; In step S1, generating the corresponding available parking space image is specifically as follows: Taking the vertex of the available parking space closest to the current vehicle as a reference point, combined with a preset width and a preset depth, a virtual range corresponding to the available parking space is determined; Acquire an actual image of an available parking space, and superimpose it with the virtual range to obtain an image of an available parking space; The step S2 comprises the steps of: S21, taking the edge line of the parking space where the reference point is located as the mark position, obtaining the vehicle position when the starting mark on the current vehicle coincides with the edge line space, and marking it as the parking starting position; S22, determining a corresponding first safety distance line and a second safety distance line according to the first safety distance and the second safety distance preset on both sides of the driving channel; S23, continuously detecting the distance between the outermost vertices of the obstacles on both sides of the driving channel and the current vehicle, dividing the first safety distance line and the second safety distance line according to the outermost vertices, and obtaining the maximum adjustable range of the current vehicle.

2. A parking method according to claim 1, characterized in that: The step S23 comprises: S231, detecting the outermost vertices of the obstacles on the left and right sides of the available parking space facing the driving passage as the two end points of the maximum adjustment range; S232, detecting an obstacle on the other side of the driving passage corresponding to the obstacles on the left and right sides, and using the outermost vertex thereof facing the driving passage as the other two end points of the maximum adjustment range; S233, determining the projection points of the above four endpoints on the nearest first safety distance line or the second safety distance line, and connecting the four projection points in sequence to obtain the maximum adjustable range of the current vehicle.

3. A parking method as claimed in claim 2, characterized in that: The step S3 comprises: S31, taking the proximal end fixed point of the obstacle on the side of the available parking space in the current vehicle forward direction as the coordinate origin, and determining the horizontal axis and the vertical axis along the horizontal and vertical directions respectively, to establish a plane coordinate system; S32, calculating, according to the maximum adjustment range and the vehicle body size, in combination with the plane coordinate system, a maximum turning angle when the current vehicle at the parking starting position moves forward with a minimum turning radius, to obtain a first parking angle; S33: Control the current vehicle to move forward at the first parking angle and the minimum turning radius to reach a first preset position.

4. A parking method as claimed in claim 3, characterized in that: The step 32 specifically includes: when the current vehicle moves from the parking start position to the edge of the maximum adjustment range with the minimum turning radius, obtaining the coordinate information of the edge reference point of the current vehicle at the parking start position and the first preset position, determining the coordinate information of the turning circle center thereof in combination with the minimum turning radius, and calculating the maximum turning angle as the first parking angle according to the above coordinate information; The calculation formula is as follows: in, is the first parking angle, , are the coordinates of the edge reference point at the parking start position and the first preset position, respectively. are the coordinates of the center of the turning circle.

5. A parking method as claimed in claim 3, characterized in that: The step S4 comprises: S41, presetting a minimum safety distance between the current vehicle and obstacles on both sides of the available parking space, and then obtaining a corresponding third safety distance line and a fourth safety distance line on the plane coordinate system; S42, calculating, according to the third safety distance line or the fourth safety distance line and the vehicle body size, a maximum turning angle of the current vehicle when reversing at the minimum turning radius to obtain a second parking angle; S43: Control the current vehicle to reverse at the second parking angle and the minimum turning radius to reach a second preset position.

6. A parking method as claimed in claim 5, characterized in that: The step 42 specifically includes: when the current vehicle reverses from the first preset position to the third safety distance line or the fourth safety distance line with the minimum turning radius, obtaining the coordinate information of the edge reference point of the current vehicle at the first preset position and the second preset position, determining the coordinate information of the turning circle center thereof in combination with the minimum turning radius, and calculating the maximum turning angle as the second parking angle according to the above coordinate information; The calculation formula is as follows: in, is the first parking angle, , are the coordinates of the edge reference point at the first preset position and the second preset position, respectively, are the coordinates of the center of the turning circle.

7. A parking method as claimed in claim 1, characterized in that: The step S5 comprises: S51, obtaining an actual distance between the current vehicle at the second preset position and an inner edge line of a target parking position; S52: Divide the actual distance into at least two adjustment areas, and adjust the distance between the current vehicle and obstacles on both sides in each adjustment area in turn until the target parking position is reached.

8. A parking system, used to execute a parking method according to any one of claims 1 to 7, characterized in that: It includes a sensing device, a decoding module, a control module and a vehicle braking module connected in sequence; The sensing device is used to detect the distance between the vehicle and surrounding obstacles and to obtain the actual image of the parking space; The decoding module is used to obtain the collected data output by the sensing device and upload it to the control module after decoding; The control module is used to process the collected data according to the preset logic combined with the vehicle information, sequentially calculate the parking starting position, the first parking angle and the first preset position when the current vehicle is moving forward, and the second parking angle, the second preset position and the target parking position when the vehicle is reversing, and send corresponding control instructions to the vehicle braking module; The vehicle braking module is used to drive the vehicle in response to the control command: after reaching the parking starting position, the vehicle moves forward to the first preset position at the first parking angle, reverses to the target parking position at the second preset position, and finally parks in the target parking position.

9. A parking system as claimed in claim 8, characterized in that: The sensing device includes a radar probe and a camera.