Vehicle rearview mirror adjusting method and device, storage medium and computer equipment

文档序号:1791672 发布日期:2021-11-05 浏览:23次 中文

阅读说明:本技术 车辆后视镜调节方法、装置、存储介质及计算机设备 (Vehicle rearview mirror adjusting method and device, storage medium and computer equipment ) 是由 焦阳 于 2021-08-03 设计创作,主要内容包括:本发明公开了一种车辆后视镜调节方法、装置、存储介质及计算机设备,所述方法为测量驾驶员眼部的空间位置,所述空间位置是指在预设的三维坐标系下的三维坐标位置,获取后视镜在所述预设的三维坐标系下的空间位置,根据所述驾驶员眼部的空间位置和所述后视镜安装位置的空间位置计算得到所述驾驶员眼部的空间位置和所述后视镜的空间位置的相对位置关系,根据所述相对位置关系从数据库中查找与所述相对位置关系匹配的后视镜旋转角度,根据所述后视镜旋转角度调节所述车辆后视镜,该方法利用车联网数据库已有的数据调节车辆后视镜,避免了注册账号的繁琐,增加了调节后视镜的便捷性。(The invention discloses a vehicle rearview mirror adjusting method, a device, a storage medium and computer equipment, the method comprises the steps of measuring the spatial position of the eyes of a driver, wherein the spatial position refers to the three-dimensional coordinate position of the driver in a preset three-dimensional coordinate system, acquiring the spatial position of the rearview mirror in the preset three-dimensional coordinate system, calculating the relative position relationship between the spatial position of the eyes of the driver and the spatial position of the rearview mirror according to the spatial position of the eyes of the driver and the spatial position of the installation position of the rearview mirror, searching a rear-view mirror rotation angle matched with the relative position relation from a database according to the relative position relation, adjusting the vehicle rear-view mirror according to the rear-view mirror rotation angle, the method utilizes the existing data of the vehicle networking database to adjust the vehicle rearview mirror, avoids the complexity of registering an account number, and increases the convenience of adjusting the rearview mirror.)

1. A vehicle rearview mirror adjustment method, comprising:

measuring the spatial position of the eyes of the driver, wherein the spatial position refers to a three-dimensional coordinate position under a preset three-dimensional coordinate system;

acquiring the spatial position of the rearview mirror under the preset three-dimensional coordinate system;

calculating according to the spatial position of the driver's eyes and the spatial position of the rearview mirror installation position to obtain the relative position relationship between the spatial position of the driver's eyes and the spatial position of the rearview mirror;

searching a rearview mirror rotation angle matched with the relative position relation from a database according to the relative position relation;

and adjusting the vehicle rearview mirror according to the rearview mirror rotating angle.

2. The method according to claim 1, wherein the searching for the mirror rotation angle matching the relative positional relationship from the database according to the relative positional relationship comprises:

searching the rotation angles of the rearview mirrors of the vehicles with the same relative position relation in the database;

and calculating to obtain an average rearview mirror rotation angle according to the rearview mirror rotation angles of the plurality of vehicles, and taking the average rearview mirror rotation angle as the matched rearview mirror rotation angle.

3. The method of claim 1, further comprising, prior to said measuring the spatial position of the driver's eyes:

and judging whether the sitting posture of the driver is the standard driving sitting posture or not, and entering the step of measuring the spatial position of the eyes of the driver when the sitting posture of the driver is the standard driving sitting posture.

4. The method of claim 1, wherein said measuring the spatial position of the driver's eyes comprises:

recognizing the positions of the eyes of the driver through the camera;

measuring a spatial position of the driver's eyes by the rangefinder based on the eye position.

5. The method according to claim 1, wherein the predetermined three-dimensional coordinate system is: and establishing a space coordinate system by taking the center of a rear axle of the vehicle as a coordinate origin O, the longitudinal direction of the vehicle body as a y-axis, the transverse direction of the vehicle body as an x-axis and the direction vertical to the vehicle body as a z-axis, and obtaining a three-dimensional coordinate position under the three-dimensional coordinate system.

6. A vehicle mirror adjustment device, characterized in that the device comprises:

the measuring module is used for measuring the spatial position of the eyes of the driver, and the spatial position refers to a three-dimensional coordinate position under a preset three-dimensional coordinate system;

the acquisition module is used for acquiring the spatial position of the rearview mirror under the preset three-dimensional coordinate system;

the calculation module is used for calculating the relative position relationship between the spatial position of the eyes of the driver and the spatial position of the rearview mirror according to the spatial position of the eyes of the driver and the spatial position of the installation position of the rearview mirror;

the searching module searches the rearview mirror rotating angle matched with the relative position relation from a database according to the relative position relation;

and the control module is used for adjusting the vehicle rearview mirror according to the rotation angle of the rearview mirror.

7. The apparatus of claim 6, wherein the searching module is further configured to search the database for the rotation angles of the rear view mirrors of the plurality of vehicles having the same relative positional relationship; and calculating to obtain an average rearview mirror rotation angle according to the rearview mirror rotation angles of the plurality of vehicles, and taking the average rearview mirror rotation angle as the matched rearview mirror rotation angle.

8. The apparatus of claim 6, further comprising:

and the judging module is used for judging whether the sitting posture of the driver is the standard driving sitting posture or not, and when the sitting posture of the driver is the standard driving sitting posture, the measuring module is informed to enter the step of measuring the spatial position of the eyes of the driver.

9. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, causes the processor to carry out the steps of the vehicle mirror adjustment method according to any one of claims 1 to 5.

10. A computer arrangement comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to carry out the steps of the vehicle mirror adjustment method as claimed in any one of claims 1 to 5.

Technical Field

The invention relates to the technical field of automobile manufacturing, in particular to a method and a device for adjusting a vehicle rearview mirror, a storage medium and computer equipment.

Background

The mainstream trend of future automobile development is intellectualization and networking, the current automobile cabin is developing in the direction, and a plurality of functions needing manual adjustment before are realized automatically. The adjustment of the driver seat and the rearview mirror is not only related to the driving experience of drivers and passengers, but also has great influence on the driving operation behavior of the drivers, so that the reasonable automatic adjustment system of the seat and the rearview mirror has great significance.

Some of the vehicles sold in the market at present have the automatic adjustment function of seats and rearview mirrors, and the strategy for realizing the function is as follows: the system records the use habit of a user, records data related to the position of the seat rearview mirror when the vehicle is used for the last time, and when the vehicle is started for the next time, the system acquires the related data when the vehicle is used for the last time to automatically adjust the positions of the seat and the rearview mirror.

With the rise and development of the internet of vehicles big data platform, the related technologies based on the automatic adjustment of the seat/rearview mirror logged in by an account are more and more, such as CN110816448A, CN 108454517A.

Among them, CN110816448A has one defect: the position information is effective in the in-system synchronization automatic adjustment function only when the driver user who has registered the user information is using the vehicle. For a user not registered to drive the vehicle, the automatic adjustment function cannot be triggered at all.

Disclosure of Invention

In view of the above, it is necessary to provide a method, an apparatus, a storage medium and a computer device for adjusting a vehicle rearview mirror to overcome the above-mentioned drawbacks of the prior art, in order to solve the above-mentioned problem that automatic adjustment can be performed only after registration.

To achieve the above object, a first aspect of the present invention provides a vehicle mirror adjusting method, the method comprising:

measuring the spatial position of the eyes of the driver, wherein the spatial position refers to a three-dimensional coordinate position under a preset three-dimensional coordinate system;

acquiring the spatial position of the rearview mirror under the preset three-dimensional coordinate system;

calculating according to the spatial position of the driver's eyes and the spatial position of the rearview mirror installation position to obtain the relative position relationship between the spatial position of the driver's eyes and the spatial position of the rearview mirror;

searching a rearview mirror rotation angle matched with the relative position relation from a database according to the relative position relation;

and adjusting the vehicle rearview mirror according to the rearview mirror rotating angle.

In one embodiment, the searching for the rotation angle of the rearview mirror matching with the relative position relationship from the database according to the relative position relationship comprises:

searching the rotation angles of the rearview mirrors of the vehicles with the same relative position relation in the database;

and calculating to obtain an average rearview mirror rotation angle according to the rearview mirror rotation angles of the plurality of vehicles, and taking the average rearview mirror rotation angle as the matched rearview mirror rotation angle.

In one embodiment, before the measuring the spatial position of the eyes of the driver, the method further includes:

and judging whether the sitting posture of the driver is the standard driving sitting posture or not, and entering the step of measuring the spatial position of the eyes of the driver when the sitting posture of the driver is the standard driving sitting posture.

In one embodiment, the measuring the spatial position of the eyes of the driver includes:

recognizing the positions of the eyes of the driver through the camera;

measuring a spatial position of the driver's eyes by the rangefinder based on the eye position.

In one embodiment, the predetermined three-dimensional coordinate system is: and establishing a space coordinate system by taking the center of a rear axle of the vehicle as a coordinate origin O, the longitudinal direction of the vehicle body as a y-axis, the transverse direction of the vehicle body as an x-axis and the direction vertical to the vehicle body as a z-axis, and obtaining a three-dimensional coordinate position under the three-dimensional coordinate system.

To achieve the above object, a second aspect of the present invention provides a vehicle mirror adjusting device, comprising:

the measuring module is used for measuring the spatial position of the eyes of the driver, wherein the spatial position refers to a three-dimensional coordinate position in a preset three-dimensional coordinate system;

the acquisition module is used for acquiring the spatial position of the rearview mirror under the preset three-dimensional coordinate system;

the calculation module is used for calculating the relative position relationship between the spatial position of the eyes of the driver and the spatial position of the rearview mirror according to the spatial position of the eyes of the driver and the spatial position of the installation position of the rearview mirror; searching a rearview mirror rotation angle matched with the relative position relation from a database according to the relative position relation; and adjusting the vehicle rearview mirror according to the rearview mirror rotating angle.

In one embodiment, the searching module is further configured to search the database for the rotation angles of the rear view mirrors of the plurality of vehicles having the same relative positional relationship; and calculating to obtain an average rearview mirror rotation angle according to the rearview mirror rotation angles of the plurality of vehicles, and taking the average rearview mirror rotation angle as the matched rearview mirror rotation angle.

In one embodiment, the apparatus further includes:

and the judging module is used for judging whether the sitting posture of the driver is the standard driving sitting posture or not, and when the sitting posture of the driver is the standard driving sitting posture, the measuring module is informed to enter the step of measuring the spatial position of the eyes of the driver.

In one embodiment, the measurement module is further configured to identify the position of the eyes of the driver through the camera; measuring a spatial position of the driver's eyes by the rangefinder based on the eye position.

To achieve the above object, a third aspect of the present invention provides a computer device comprising a memory and a processor, the memory storing a computer program, the computer program, when executed by the processor, causing the processor to perform the steps of the vehicle mirror adjustment method of any one of the above embodiments.

To achieve the above object, a fourth aspect of the present invention provides a computer-readable storage medium, which is characterized in that the computer-readable storage medium stores thereon a computer program, and the computer program, when executed by a processor, implements the steps of the vehicle mirror adjusting method according to any one of the above embodiments.

According to the vehicle rearview mirror adjusting method, the vehicle rearview mirror adjusting device, the storage medium and the computer equipment, the spatial position of the eyes of the driver is measured, and the spatial position refers to a three-dimensional coordinate position under a preset three-dimensional coordinate system; acquiring the spatial position of the rearview mirror under the preset three-dimensional coordinate system; calculating according to the spatial position of the driver's eyes and the spatial position of the rearview mirror installation position to obtain the relative position relationship between the spatial position of the driver's eyes and the spatial position of the rearview mirror; searching a rearview mirror rotation angle matched with the relative position relation from a database according to the relative position relation; and adjusting the vehicle rearview mirror according to the rearview mirror rotating angle. The method utilizes the existing data of the vehicle networking database to adjust the vehicle rearview mirror, avoids the complexity of registering an account number, and increases the convenience of adjusting the rearview mirror.

Drawings

In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following will briefly describe the drawings required for the embodiments or some embodiments in the description of the prior art without any inventive work, and obviously, the drawings in the following description are only for the present application, and other drawings can be obtained according to these drawings.

Wherein:

FIG. 1 is a schematic flow chart of a method for adjusting a vehicle mirror according to one embodiment;

FIG. 2 is a flow diagram of a method for adjusting a vehicle mirror according to one embodiment;

FIG. 3 is a schematic representation of a spatial coordinate system based on body features in one embodiment;

fig. 4 is a block diagram showing the structure of the mirror adjusting apparatus for a vehicle according to one embodiment.

Detailed Description

The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. It is to be understood that the embodiments described are for the purpose of illustrating some, but not all embodiments of the inventive concepts more clearly. Other embodiments, which can be derived from the description of the embodiments of the invention and other embodiments by a person skilled in the art, are within the scope of the invention.

The intellectualization and networking become the mainstream trend of future automobile development, the current automobile cabin becomes more and more intelligent, and a plurality of functions which previously need manual adjustment of drivers and passengers are automatically adjusted by the system. The adjustment of the driver seat and the rearview mirror not only relates to the driving experience of drivers and passengers, but also seriously influences the driving operation behavior of the drivers, so that the reasonable automatic adjustment system of the seat and the rearview mirror has great significance.

Some of the vehicles sold in the market at present have the automatic adjustment function of seats and rearview mirrors, and the strategy for realizing the function is as follows: the system records the use habit of a user, records data related to the position of the seat rearview mirror when the vehicle is used for the last time, and when the vehicle is started for the next time, the system acquires the related data when the vehicle is used for the last time to automatically adjust the positions of the seat and the rearview mirror.

With the rise and development of the internet of vehicles big data platform, the related technologies based on the automatic adjustment of the seat/rearview mirror logged in by an account are more and more, such as CN110816448A, CN 108454517A.

Among them, CN110816448A has one defect: the position information is effective in the in-system synchronization automatic adjustment function only when the driver user who has registered the user information is using the vehicle. For a user not registered to drive the vehicle, the automatic adjustment function cannot be triggered at all.

CN108454517A solves the problem of user information synchronization, but there is no specific solution to "the processing module generates the corresponding spatial positions of human head and eyes according to the human body parameters and the seat position parameters" mentioned in the application.

In view of the above, there is a need for a method for adjusting a vehicle mirror that overcomes the above-mentioned drawbacks of the prior art. To achieve the above object, a first aspect of the present invention provides a vehicle mirror adjusting method applied to a mirror;

fig. 1 is a schematic flow chart illustrating a method for adjusting a rearview mirror of a vehicle according to an embodiment.

102, measuring the spatial position of the eyes of a driver, wherein the spatial position refers to a three-dimensional coordinate position in a preset three-dimensional coordinate system;

104, acquiring the spatial position of the rearview mirror in the preset three-dimensional coordinate system;

106, calculating the relative position relationship between the spatial position of the eyes of the driver and the spatial position of the rearview mirror according to the spatial position of the eyes of the driver and the spatial position of the installation position of the rearview mirror;

step 108, searching a rearview mirror rotation angle matched with the relative position relation from a database according to the relative position relation;

and step 110, adjusting the vehicle rearview mirror according to the rotation angle of the rearview mirror.

In one embodiment, the searching for the rotation angle of the rearview mirror matching with the relative position relationship from the database according to the relative position relationship comprises: searching the rotation angles of the rearview mirrors of the vehicles with the same relative position relation in the database; and calculating to obtain an average rearview mirror rotation angle according to the rearview mirror rotation angles of the plurality of vehicles, and taking the average rearview mirror rotation angle as the matched rearview mirror rotation angle. In at least one embodiment, the rotation angles of the rear-view mirrors of 100 vehicles with the same relative position relationship are found in the database, and the average value of the rotation angles of the rear-view mirrors of 100 vehicles is calculated.

Fig. 2 is a flowchart illustrating the operation of the vehicle rearview mirror according to the embodiment, before the measuring the spatial position of the eyes of the driver, the method further includes: judging whether the sitting posture of a driver is a standard driving sitting posture or not, wherein the driver seat is an electric seat, when the driver sits on the automobile to start the automobile, the seat is automatically adjusted, and after the seat is automatically adjusted, within 5s, if the driver has the action of manually adjusting the seat, the sitting posture judging module judges that the seat is not adjusted, and continues to execute the original process; if the driver does not perform the action of manually adjusting the seat within 5s, judging that the seat is adjusted by the judgment module, judging that the sitting posture of the driver is the standard sitting posture at the moment, and entering the step of measuring the spatial position of the eyes of the driver; identifying the position of the eyes of the driver through a camera of a distance measurement module, and measuring the spatial position of the eyes of the driver through a range finder of the distance measurement module based on the eye position; sending the measured data to a calculation processing module, calculating the distance between eyes and a rearview mirror by the calculation processing module, and acquiring a plurality of groups of rearview mirror rotating angles corresponding to the measured automobiles with the same distance from the eyes to a large data platform of the internet of vehicles, wherein the acquisition mode is that the calculation processing module sends the data to the large data platform of the internet of vehicles, compares the data with the existing data, and feeds back the selected installation angle of the rearview mirror corresponding to the same distance to the calculation processing module; the calculation processing module calculates the average value of the rotation angles of the multiple groups of rearview mirrors, and sends the average value to the control module, and the control module adjusts the rearview mirrors.

In at least one embodiment, after the standard sitting posture of the driver is confirmed, the distance measuring module comprises a high-definition camera which is installed in the cockpit and is used for identifying the eyes of the driver; the distance measuring module comprises a distance meter arranged in the cockpit and is used for measuring the space position of the eyes of the driver.

In one embodiment, as shown in fig. 3, the predetermined three-dimensional coordinate system is: and establishing a space coordinate system by taking the center of a rear axle of the vehicle as a coordinate origin O, the longitudinal direction of the vehicle body as a y-axis, the transverse direction of the vehicle body as an x-axis and the direction vertical to the vehicle body as a z-axis, and obtaining a three-dimensional coordinate position under the three-dimensional coordinate system.

In one embodiment, the relative position of the eye space position of the driver and the installation position of the rearview mirror is determined by the following method: as shown in fig. 3, a spatial coordinate system is established with the center of the rear axle of the vehicle as a coordinate origin O, the longitudinal direction of the vehicle body as a y-axis, the transverse direction of the vehicle body as an x-axis, and the direction perpendicular to the vehicle body as a z-axis, the coordinates of the eyes of the driver (x1, y1, z1) in the coordinate system can be obtained by a distance meter, the coordinates (x2, y2, z2) of the mounting position of the rearview mirror in the coordinate system can be obtained by a vehicle body controller (the vehicle is determined when the vehicle leaves the factory), and the relative positional relationship between the spatial position of the eyes of the driver and the mounting position of the rearview mirror, that is, the distance Δ x along the transverse direction of the vehicle body, the distance Δ y along the longitudinal direction of the vehicle body, and the distance Δ z perpendicular to the vehicle body direction, is obtained by coordinate operation.

As shown in fig. 4, in one embodiment, a vehicle mirror adjusting apparatus includes:

a measuring module 402, configured to measure a spatial position of eyes of a driver, where the spatial position is a three-dimensional coordinate position in a preset three-dimensional coordinate system;

an obtaining module 404, configured to obtain a spatial position of the rearview mirror in the preset three-dimensional coordinate system;

a calculating module 406, configured to calculate, according to the spatial position of the driver's eye and the spatial position of the rearview mirror installation position, a relative position relationship between the spatial position of the driver's eye and the spatial position of the rearview mirror;

the searching module 408 is used for searching the rotation angle of the rearview mirror matched with the relative position relation from a database according to the relative position relation;

and a control module 410 for adjusting the vehicle rearview mirror according to the rearview mirror rotation angle.

Furthermore, the rear-view mirror comprises an inner rear-view mirror and an outer rear-view mirror, and the rear-view mirror is an electric rear-view mirror and can rotate around a supporting point for a certain angle.

In one embodiment, the calculation module is used for searching a database for the rotation angle of the rear view mirror matched with the relative position relationship according to the relative position relationship, and searching the database for the rotation angles of the rear view mirror of a plurality of vehicles with the same relative position relationship; and calculating to obtain an average rearview mirror rotation angle according to the rearview mirror rotation angles of the plurality of vehicles, and taking the average rearview mirror rotation angle as the matched rearview mirror rotation angle.

In one embodiment, the obtaining module is further configured to determine whether the driver sitting posture is the standard driving sitting posture before measuring the spatial position of the eyes of the driver, and enter the step of measuring the spatial position of the eyes of the driver when the driver sitting posture is the standard driving sitting posture.

In one embodiment, the measurement module is further configured to identify the position of the eyes of the driver through the camera;

measuring a spatial position of the driver's eyes by the rangefinder based on the eye position.

To achieve the above object, a third aspect of the present invention provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the computer program, when executed by the processor, causes the processor to execute any one of the above-mentioned methods for adjusting a rearview mirror.

To achieve the above object, a fourth aspect of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program, when executed by a processor, implements any one of the above-mentioned methods for adjusting a rearview mirror.

According to the vehicle rearview mirror adjusting method, the vehicle rearview mirror adjusting device, the storage medium and the computer equipment, the spatial position of the eyes of the driver is measured, and the spatial position refers to a three-dimensional coordinate position under a preset three-dimensional coordinate system; acquiring the spatial position of the rearview mirror under the preset three-dimensional coordinate system; calculating according to the spatial position of the driver's eyes and the spatial position of the rearview mirror installation position to obtain the relative position relationship between the spatial position of the driver's eyes and the spatial position of the rearview mirror; searching a rearview mirror rotation angle matched with the relative position relation from a database according to the relative position relation; and adjusting the vehicle rearview mirror according to the rearview mirror rotating angle.

The above description is only for the preferred embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can substitute or change the technical solution of the present application and the inventive concept thereof within the technical scope of the present application, and shall be covered by the scope of the present application. In addition, although specific terms are used herein, they are used in a descriptive sense only and not for purposes of limitation.

Furthermore, unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art. The terminology used in the description herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the term "and/or" includes any combination of the plurality of associated listed items.

11页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种氢能汽车后视镜转向灯

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!

技术分类