Novel vertical parking method, server and storage medium

文档序号:125286 发布日期:2021-10-22 浏览:21次 中文

阅读说明:本技术 一种全新的垂直泊车方法,服务器及存储介质 (Novel vertical parking method, server and storage medium ) 是由 康磊 罗贤平 于 2021-07-30 设计创作,主要内容包括:本发明提供一种全新的垂直泊车方法,服务器及存储介质,采用了车头泊车的方式,具体的,通过预设的泊车轨迹和采用搜索法进行计算出泊车进程,从而解决充电口在车头时倒车不便的缺点。(The invention provides a brand-new vertical parking method, a server and a storage medium, which adopt a locomotive parking mode, particularly calculate a parking process by a preset parking track and a search method, and solve the defect that the car is inconvenient to back when a charging port is at the locomotive.)

1. A brand new vertical parking method is characterized in that when a vehicle runs to the position right in front of a parking space, a right vehicle body is close to the position of the parking space, the vehicle body is perpendicular to the central axis of the parking space, and a vehicle head faces to the right side; and establishing a Cartesian coordinate system, describing a parking track by taking the direction of the vehicle head as an X axis and the vehicle body as an origin, and calculating the parking process by adopting a search method.

2. A novel method of vertical parking according to claim 1 wherein said cartesian coordinate system comprises: setting a vehicle body as an original point A, setting a point B at a preset distance from the original point A in the opposite direction of the vehicle head, setting a first curve of the vehicle head running and warehousing as a curve BC, turning a second curve to be a curve CF after the vehicle head runs to the point C, when the vehicle head runs to the point F, enabling the vehicle body to be parallel to the central axis of the parking space or enabling the central axis of the vehicle body to be superposed with the central axis of the parking space, enabling the left side and the right side of the vehicle body to be in left and right side line areas of the parking space, calculating an angle corresponding to the curve BC to be Theta1, and enabling an angle corresponding to the curve CF to be Theta 2.

3. The novel vertical parking method according to claim 2, wherein when the vehicle finishes parking in a garage, an included angle R between the direction of the vehicle head and the X axis is as follows: r = Theta 1+ Theta 2.

4. A brand new vertical parking method as claimed in claim 1, wherein said search method further comprises: setting the search step length to be 5cm, drawing a first circle by the curve BC to obtain a circle center D and a radius r 1; drawing a second circle by the curve CF to obtain a circle center E and a radius r 2; the radius r1 and the radius r2 are preset to have a maximum value of 10m and a minimum value of 0 m.

5. A novel vertical parking method according to claim 4, wherein the following parking trajectories are described in sequence: a straight line AB, a curve BC, a curve CF and a straight line FG, wherein a point G is the position of the vehicle head after parking is finished.

6. The brand new vertical parking method according to claim 5, further comprising:

obtaining the coordinate of the starting point B of the curve BC, the radius R1 and the radius R2 by a search method, setting the abscissa of the starting point B as XB, the abscissa of the F point as XF, and setting the two circle centers connecting the first circle and the second circle as a straight line DE, wherein DE = R1+ R2; setting a point M as an intersection point of DB and EF extension lines, setting the abscissa of the point M as XM, and further calculating:

EM = XM – XF + R2;

cos(Theta2) = EM / DE;

calculated from R =90 °, is: theta 1= 90 ° -Theta 2; and calculating coordinates of the point C and the point F according to the coordinates (xB, yB) of the point B, and further setting a parking process: straight line AB, curve BC, curve CF and straight line FG.

7. The brand new vertical parking method according to claim 6, further comprising:

adding a relaxation curve L at the junction of the straight line AB and the curve BC; a relaxation curve L is added to the curve CF and the straight line FG.

8. The novel vertical parking method as defined in claim 7, further comprising the steps of:

s1: let R1= R0;

s2: let R2= R0;

s3: judging whether XF is on the center line of the parking space, if so, ending parking and warehousing adjustment; otherwise, calculate r2= r2+ 50; a

S4: judging whether r2 is less than or equal to 1000cm, if yes, returning to S3; otherwise, calculate r1= r1+ 50;

s4: judging whether r1 is less than or equal to 1000cm, if yes, returning to S2; otherwise, XA = XA +50 is calculated and returns to S1.

9. A server, comprising at least two network connection ports, wherein: a first network connection port for connecting to a vehicle network for transmitting in real time a parking maneuver calculated according to the method of any of claims 1-8: straight line AB, curve BC, curve CF and straight line FG; the second network connection port is used for connecting a vehicle-throwing sensor and acquiring parking state parameters in real time; the server applies a computing center to perform the computing process of the method of any one of claims 1 to 8.

10. A storage medium, characterized in that the storage medium stores a computer program which, when executed by a processor, implements each step in the vertical parking method according to any one of claims 1 to 8, the storage medium being embedded in a server according to claim 9.

Technical Field

The invention relates to the technical field of automatic parking, in particular to a brand-new vertical parking method, a server and a storage medium.

Background

With the development of scientific technology and the improvement of living standard, people have higher and higher functional requirements on vehicles. The automatic parking function is the first requirement of people for convenient parking, and the automatic parking function can not only improve safety, but also improve experience of drivers.

At present, the existing parking modes mainly comprise tail parking in a vertical parking space and parallel parking in a parallel parking space, which can cover most scenes in our lives, and is basically enough for fuel vehicles in particular.

However, in recent years, along with the rapid development of electric vehicles, the charging of the electric vehicles is also a problem that people cannot escape, and some charging ports are designed at the vehicle head.

Disclosure of Invention

In order to solve the problems, the patent provides a brand-new vertical parking method, a server and a storage medium, and the problem that a charging port is arranged at the vehicle head can be perfectly solved by adopting a vehicle head parking mode.

Specifically, the method of the present invention comprises: when the vehicle runs to the position right ahead of the parking space, the right vehicle body is close to the parking space, the vehicle body is perpendicular to the central axis of the parking space, and the vehicle head faces the right side; and establishing a Cartesian coordinate system, describing a parking track by taking the direction of the vehicle head as an X axis and the vehicle body as an origin, and calculating the parking process by adopting a search method.

Wherein the Cartesian coordinate system comprises: the method comprises the steps of setting a vehicle body as an original point A, setting a point B at a preset distance from the original point A in the opposite direction of the vehicle head, setting a first curve of the vehicle head running and warehousing as a curve BC, turning a second curve to be a curve CF after the vehicle head runs to the point C, and when the vehicle head runs to the point F, enabling the vehicle body to be parallel to the central axis of a parking space or enabling the central axis of the vehicle body to coincide with the central axis of the parking space, wherein the left side and the right side of the vehicle body are in left and right side line areas of the parking space.

And calculating the angle corresponding to the curve BC to be Theta1, and the angle corresponding to the curve CF to be Theta 2.

When the vehicle finishes warehousing and parking, the included angle R between the direction of the vehicle head and the X axis is as follows: r = Theta 1+ Theta 2.

The search method further comprises the following steps: setting the search step length to be 5cm, drawing a first circle by the curve BC to obtain a circle center D and a radius r 1; drawing a second circle by the curve CF to obtain a circle center E and a radius r 2; the radius r1 and the radius r2 are preset to have a maximum value of 10m and a minimum value of 0 m.

The depicted parking trajectory sequentially comprises: a straight line AB, a curve BC, a curve CF and a straight line FG, wherein a point G is the position of the vehicle head after parking is finished.

Further, the method further comprises:

obtaining the coordinate of the starting point B of the curve BC, the radius R1 and the radius R2 by a search method, setting the abscissa of the starting point B as XB, the abscissa of the F point as XF, and setting the two circle centers connecting the first circle and the second circle as a straight line DE, wherein DE = R1+ R2; setting a point M as an intersection point of DB and EF extension lines, setting the abscissa of the point M as XM, and further calculating:

EM = XM – XF + R2;

cos(Theta2) = EM / DE;

calculated from R =90 °, is: theta 1= 90 ° -Theta 2; and calculating coordinates of the point C and the point F according to the coordinates (xB, yB) of the point B, and further setting a parking process: straight line AB, curve BC, curve CF and straight line FG.

Further, the method also comprises the following steps:

adding a relaxation curve L at the junction of the straight line AB and the curve BC; a relaxation curve L is added to the curve CF and the straight line FG.

Preferably, the method of the present invention further comprises the following steps:

s1: let R1= R0;

s2: let R2= R0;

s3: judging whether XF is on the center line of the parking space, if so, ending parking and warehousing adjustment; otherwise, calculate r2= r2+ 50; a

S4: judging whether r2 is less than or equal to 1000cm, if yes, returning to S3; otherwise, calculate r1= r1+ 50;

s4: judging whether r1 is less than or equal to 1000cm, if yes, returning to S2; otherwise, XA = XA +50 is calculated and returned to S1;

preferably, the present invention further provides a server, comprising at least two network connection ports, wherein: the first network connection port is used for connecting a vehicle network, and the parking process calculated according to the method is transmitted in real time: straight line AB, curve BC, curve CF and straight line FG; the second network connection port is used for connecting a vehicle-throwing sensor and acquiring parking state parameters in real time; the server application computing center performs the computing process in any of the above methods of data processing.

Preferably, the present invention further provides a storage medium storing a computer program, which when executed by a processor implements each step in the vertical parking method according to any one of claims 1 to 8, wherein the storage medium is embedded in the server according to claim 9.

In summary, the invention provides a brand-new vertical parking method, a server and a storage medium, which adopt a parking mode of a vehicle head, and concretely, calculate by a preset parking track and a search method, thereby solving the defect that the vehicle is inconvenient to back when a charging port is at the vehicle head.

Drawings

Fig. 1 is a schematic view of a cartesian coordinate system in the method of the invention.

Fig. 2 is a calculation flow chart of a brand-new vertical parking method according to the present invention.

Detailed Description

In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

As shown in fig. 1, as another preferred embodiment, the specific method is as shown in fig. one: the point A is the starting point, the parking track is AB (straight line segment) - > BC (circular arc segment) - > CF (circular arc segment) - > FG (straight line segment), D is the circle center of the BC segment circular arc, E is the circle center of the CF segment circular arc, C is the tangent point of two circles, AB and FG are the tangent lines of the two circles respectively, and M is the intersection point of the extension lines of DB and EF. For convenience of description, a cartesian coordinate system is established, wherein a is taken as the origin of the coordinate system, a straight line containing BA is taken as the X axis, and the horizontal direction is positive. The abscissa of the center line of the parking space is known and is set as XF, and the abscissa of the M point is XM.

Assuming that the arc BC corresponds to an angle Theta1 and the arc CF corresponds to an angle Theta2, the vehicle is horizontally right at a point a (i.e., in the BA direction) and vertically down at a final stop (i.e., in the FG direction), Theta 1+ Theta 2= 90 ° (1).

The method for determining the radii of the two circles adopts a search method, the search step length is 5 centimeters, the maximum value of R1 and R2 is 1000 centimeters (namely 10 meters), the minimum turning radius is determined by the performance of a specific vehicle, the minimum turning radius is set to be R0, the specific scheme is as shown in a flow chart of the second drawing, the coordinates of the starting point B of the circular arc segment, the radius R1 of the BC segment and the radius R2 of the CF segment are obtained by the search method, and the horizontal coordinate of the point B is set to be XB.

As can be seen from fig. one, DE = R1+ R2; (2)

EM = XM – XF + R2; (3)

cos(Theta2) = EM / DE; (4)

theta2 can be obtained by formula (4), Theta1 can be obtained by formula (1), and the coordinates of points C and F can be determined because the coordinates of point B are known, and finally all the key points of the path can be obtained.

The invention relates to a brand-new vertical parking method, which comprises the following steps: when the vehicle runs to the position right ahead of the parking space, the right vehicle body is close to the parking space, the vehicle body is perpendicular to the central axis of the parking space, and the vehicle head faces the right side; and establishing a Cartesian coordinate system, describing a parking track by taking the direction of the vehicle head as an X axis and the vehicle body as an origin, and calculating the parking process by adopting a search method.

Wherein the Cartesian coordinate system comprises: the method comprises the steps of setting a vehicle body as an original point A, setting a point B at a preset distance from the original point A in the opposite direction of the vehicle head, setting a first curve of the vehicle head running and warehousing as a curve BC, turning a second curve to be a curve CF after the vehicle head runs to the point C, and when the vehicle head runs to the point F, enabling the vehicle body to be parallel to the central axis of a parking space or enabling the central axis of the vehicle body to coincide with the central axis of the parking space, wherein the left side and the right side of the vehicle body are in left and right side line areas of the parking space.

And calculating the angle corresponding to the curve BC to be Theta1, and the angle corresponding to the curve CF to be Theta 2.

When the vehicle finishes warehousing and parking, the included angle R between the direction of the vehicle head and the X axis is as follows: r = Theta 1+ Theta 2.

The search method further comprises the following steps: setting the search step length to be 5cm, drawing a first circle by the curve BC to obtain a circle center D and a radius r 1; drawing a second circle by the curve CF to obtain a circle center E and a radius r 2; the radius r1 and the radius r2 are preset to have a maximum value of 10m and a minimum value of 0 m.

The depicted parking trajectory sequentially comprises: a straight line AB, a curve BC, a curve CF and a straight line FG, wherein a point G is the position of the vehicle head after parking is finished.

Further, the method further comprises:

obtaining the coordinate of the starting point B of the curve BC, the radius R1 and the radius R2 by a search method, setting the abscissa of the starting point B as XB, the abscissa of the F point as XF, and setting the two circle centers connecting the first circle and the second circle as a straight line DE, wherein DE = R1+ R2; setting a point M as an intersection point of DB and EF extension lines, setting the abscissa of the point M as XM, and further calculating:

EM = XM – XF + R2;

cos(Theta2) = EM / DE;

calculated from R =90 °, is: theta 1= 90 ° -Theta 2; and calculating coordinates of the point C and the point F according to the coordinates (xB, yB) of the point B, and further setting a parking process: straight line AB, curve BC, curve CF and straight line FG.

Further, the method also comprises the following steps:

adding a relaxation curve L at the junction of the straight line AB and the curve BC; a relaxation curve L is added to the curve CF and the straight line FG.

As shown in fig. 2, the method of the present invention further includes the following steps:

s1: let R1= R0;

s2: let R2= R0;

s3: judging whether XF is on the center line of the parking space, if so, ending parking and warehousing adjustment; otherwise, calculate r2= r2+ 50; a

S4: judging whether r2 is less than or equal to 1000cm, if yes, returning to S3; otherwise, calculate r1= r1+ 50;

s4: judging whether r1 is less than or equal to 1000cm, if yes, returning to S2; otherwise, XA = XA +50 is calculated and returned to S1;

preferably, the present invention further provides a server, comprising at least two network connection ports, wherein: the first network connection port is used for connecting a vehicle network, and the parking process calculated according to the method is transmitted in real time: straight line AB, curve BC, curve CF and straight line FG; the second network connection port is used for connecting a vehicle-throwing sensor and acquiring parking state parameters in real time; the server application computing center performs the computing process in any of the above methods of data processing.

Preferably, the present invention further provides a storage medium storing a computer program, which when executed by a processor implements each step in the vertical parking method according to any one of claims 1 to 8, wherein the storage medium is embedded in the server according to claim 9.

The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

9页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:自动泊车系统、自动泊车方法、存储介质及电子设备

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!