Vehicle rearview mirror adjusting method, device, equipment and medium

By detecting the combination of rearview mirror selection buttons, the automatic adjustment of multiple rearview mirrors of the vehicle is solved, and the problem of the independent adjustment of the main rearview mirror in the prior art is not intelligent enough, reducing the risk of traffic accidents, and automatically dealing with it Adjustment of the blind mirror improves driving safety.

CN118906970APending Publication Date: 2024-11-08DONGFENG SHENYU VEHICLE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411056864.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-02
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

In the prior art, vehicle rearview mirrors are limited to the separate adjustment of the main rearview mirror, and are not intelligent enough. Frequent adjustments will distract the driver and increase the risk of traffic accidents.

Method used

By detecting the combination of rearview mirror selection buttons, the combination of multiple rearview mirrors is judged and controlled for automatic adjustment, including pairwise adjustment of the main mirror and the auxiliary mirror, the connection between the chip and the rearview mirror selection button is used, and the combination is based on the preset combination The adjustment direction enables synchronous flip of multiple rearview mirrors, and automatically adjusts the blind mirror at low speed to avoid obstacles.

Benefits of technology

Intelligent adjustment of multiple rearview mirrors is realized, which reduces the risk of traffic accidents caused by frequent driver operations, improves driving safety, and automatically handles the adjustment of the blind mirror, improving the operator's operation convenience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118906970A_ABST
    Figure CN118906970A_ABST
Patent Text Reader

Abstract

The invention discloses a vehicle rearview mirror adjusting method, device and equipment and a medium, and belongs to the technical field of automobiles. The vehicle rearview mirror adjusting method is applied to a vehicle provided with a plurality of rearview mirror selection buttons, each rearview mirror selection button is connected with a pin of a chip, and the method comprises the steps that after it is detected that one rearview mirror selection button is pressed down, if it is detected that a second rearview mirror selection button is pressed down within a first preset duration, the first rearview mirror selection button is switched to the second rearview mirror selection button; determining a target rearview mirror corresponding to the two pressed rearview mirror selection buttons; judging whether a combination formed by the two target rearview mirrors conforms to a preset combination or not, wherein the preset combination is any one of a primary mirror and an auxiliary mirror on the same side, a left primary mirror and a right primary mirror, and a left auxiliary mirror and a right auxiliary mirror; if the target rearview mirror accords with the preset combination, turning of the two target rearview mirrors is controlled based on the target adjusting direction, the two rearview mirrors can be adjusted at the same time, and automatic adjustment of the auxiliary mirror is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of automobile technology, and in particular to a vehicle rearview mirror adjustment method, device, equipment and computer-readable storage medium. Background Art

[0002] As an auxiliary device on the vehicle, the vehicle rearview mirror is mainly used to provide the driver with a wider field of view. The rearview mirror includes a main rearview mirror and an auxiliary rearview mirror, wherein the main rearview mirror includes a left main rearview mirror and a right main rearview mirror, and the auxiliary rearview mirror includes a left auxiliary rearview mirror and a right auxiliary rearview mirror.

[0003] In the related art, the adjustment of the vehicle rearview mirror is only for the main rearview mirror, and can only be adjusted separately. For example, after the driver presses the button of the main rearview mirror to be adjusted, the vehicle automatically controls the corresponding main rearview mirror to flip. When the main rearview mirror on the other side needs to be adjusted, the main rearview mirror selection button on the other side needs to be pressed again. The adjustment of the auxiliary rearview mirror can only be done manually.

[0004] The existing rearview mirror adjustment method is limited to the main rearview mirror and can only be adjusted individually, which is not intelligent enough. During driving, facing different road conditions, the driver needs to adjust the rearview mirror frequently, and adjusting the rearview mirror will distract the driver's attention, especially on high-risk sections, which is very likely to cause traffic accidents. Summary of the invention

[0005] The present application provides a vehicle rearview mirror adjustment method, device, equipment and computer-readable storage medium, which can solve the technical problems existing in the prior art that the main rearview mirror can only be adjusted and can only be adjusted individually, is not intelligent enough, and frequent adjustments will distract the driver's attention and easily cause traffic accidents.

[0006] In a first aspect, an embodiment of the present application provides a vehicle rearview mirror adjustment method, which is applied to a vehicle equipped with a plurality of rearview mirror selection buttons, each rearview mirror selection button being connected to a pin of a chip, and the vehicle rearview mirror adjustment method comprising:

[0007] After detecting that a rearview mirror selection button is pressed, within a first preset time period, if detecting that a second rearview mirror selection button is pressed, determining the target rearview mirrors corresponding to the two rearview mirror selection buttons pressed;

[0008] Determine whether the combination formed by the two target rearview mirrors meets a preset combination, wherein the preset combination is any one of a main mirror and an auxiliary mirror on the same side, a left main mirror and a right main mirror, and a left auxiliary mirror and a right auxiliary mirror;

[0009] If the preset combination is met, the flipping of the two target rearview mirrors is controlled based on the target adjustment direction.

[0010] In combination with the first aspect, in one implementation, if the preset combination is met, then based on the target adjustment direction, controlling the flipping of the two target rearview mirrors includes:

[0011] If the combination of the main mirror and the auxiliary mirror on the same side is met, the two target rearview mirrors are controlled to flip in the target adjustment direction.

[0012] In combination with the first aspect, in one implementation, if the preset combination is met, then based on the target adjustment direction, controlling the flipping of the two target rearview mirrors includes:

[0013] If the left main mirror and right main mirror combination are met,

[0014] When the target adjustment direction is up or down, the two target rearview mirrors are controlled to flip in the target adjustment direction;

[0015] When the target adjustment direction is left, the left main mirror is controlled to flip to the left, and the right main mirror is controlled to flip to the right;

[0016] When the target adjustment direction is right, the left main mirror is controlled to flip to the right, and the right main mirror is controlled to flip to the left.

[0017] In combination with the first aspect, in one implementation, if the preset combination is met, then based on the target adjustment direction, controlling the flipping of the two target rearview mirrors includes:

[0018] If the left auxiliary mirror and right auxiliary mirror combination are met,

[0019] When the target adjustment direction is up or down, the two target rearview mirrors are controlled to flip in the target adjustment direction;

[0020] When the target adjustment direction is left, the left auxiliary mirror is controlled to flip to the left, and the right auxiliary mirror is controlled to flip to the right;

[0021] When the target adjustment direction is right, the left auxiliary mirror is controlled to flip to the right, and the right auxiliary mirror is controlled to flip to the left.

[0022] In combination with the first aspect, in one implementation, the method further includes:

[0023] After detecting that a rearview mirror selection button is pressed, if more than two rearview mirror selection buttons are detected to be pressed within a first preset time period, determining the target rearview mirror corresponding to the first rearview mirror selection button pressed;

[0024] Control the target rearview mirror to flip toward the target adjustment direction.

[0025] In combination with the first aspect, in one implementation, the method further includes:

[0026] Obtain vehicle speed, P gear data status and vehicle front image data;

[0027] When it is detected that the vehicle speed is less than a preset threshold, the P gear data state is a non-braking state, and there is an obstacle in the image data in front of the vehicle, the height of the blind spot mirror from the ground, the lateral distance and longitudinal distance between the center point of the blind spot mirror and the center point of the image data acquisition device in front of the vehicle, and the lateral coordinates and longitudinal coordinates of the obstacle are obtained;

[0028] Based on the height above the ground, the lateral distance, the longitudinal distance, the lateral coordinate and the longitudinal coordinate, the motor rotation angle of the blind spot mirror is determined.

[0029] In combination with the first aspect, in one implementation, based on the height above the ground, the lateral distance, the longitudinal distance, the lateral coordinate, and the longitudinal coordinate, the motor rotation angle of the blind spot mirror is determined, and the corresponding formula is:

[0030]

[0031] Among them, X1 is the horizontal coordinate, Y1 is the vertical coordinate, X0 is the horizontal distance, Y0 is the vertical distance, K is the height from the ground, α1 is the rotation angle of the motor that controls the left and right directions of the blind spot mirror, and β1 is the rotation angle of the motor that controls the up and down directions of the blind spot mirror.

[0032] In a second aspect, an embodiment of the present application provides a vehicle rearview mirror adjustment device, which is applied to a vehicle equipped with a plurality of rearview mirror selection buttons, each rearview mirror selection button being connected to a pin of a chip, and the vehicle rearview mirror adjustment device comprises:

[0033] A first determination module is used to, after detecting that a rearview mirror selection button is pressed, if detecting that a second rearview mirror selection button is pressed within a first preset time period, determine the target rearview mirrors corresponding to the two rearview mirror selection buttons that are pressed;

[0034] A judging module, used for judging whether the combination formed by the two target rearview mirrors meets a preset combination, wherein the preset combination is any one of a main mirror and an auxiliary mirror on the same side, a left main mirror and a right main mirror, and a left auxiliary mirror and a right auxiliary mirror;

[0035] The first control module is used to control the flipping of the two target rearview mirrors based on the target adjustment direction if a preset combination is met.

[0036] In a third aspect, an embodiment of the present application provides a vehicle rearview mirror adjustment device, comprising a processor, a memory, and a vehicle rearview mirror adjustment program stored in the memory and executable by the processor, wherein when the vehicle rearview mirror adjustment program is executed by the processor, the steps of the vehicle rearview mirror adjustment method as described in any one of the first aspects are implemented.

[0037] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a vehicle rearview mirror adjustment program is stored. When the vehicle rearview mirror adjustment program is executed by a processor, the steps of the vehicle rearview mirror adjustment method as described in any one of the first aspects are implemented.

[0038] The beneficial effects brought by the technical solution provided in the embodiments of the present application include:

[0039] When it is detected that a rearview mirror selection button is pressed, within a first preset time period, if it is detected that a second rearview mirror selection button is pressed, the target rearview mirrors corresponding to the two pressed rearview mirror selection buttons are determined; it is judged whether the combination formed by the two target rearview mirrors meets the preset combination, and the preset combination is any one of the main mirror and the auxiliary mirror on the same side, the left main mirror and the right main mirror, and the left auxiliary mirror and the right auxiliary mirror; if it meets the preset combination, the flipping of the two target rearview mirrors is controlled based on the target adjustment direction, so that the two rearview mirrors can be adjusted at the same time, and the automatic adjustment of the auxiliary mirror is realized, which can reduce the risk of traffic accidents caused by frequent adjustment of the rearview mirrors during driving. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 This is a flow chart of a first embodiment of a vehicle rearview mirror adjustment method of the present application;

[0041] Figure 2 This is a schematic diagram of the functional modules of an embodiment of a vehicle rearview mirror adjustment device of the present application;

[0042] Figure 3 This is a schematic diagram of the hardware structure of the vehicle rearview mirror adjustment device involved in the embodiment of the present application. DETAILED DESCRIPTION

[0043] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0044] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0045] In the first aspect, the embodiment of the present application provides a vehicle rearview mirror adjustment method, which is applied to a vehicle equipped with a plurality of rearview mirror selection buttons, especially a commercial vehicle. Each rearview mirror selection button is connected to a pin of a chip, and the chip may be an MCU chip. The present application is introduced below using a commercial vehicle as an example.

[0046] In one embodiment, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the vehicle rearview mirror adjustment method of the present application. Figure 1 As shown, the vehicle rearview mirror adjustment method includes:

[0047] Step 110, after detecting that one rearview mirror selection button is pressed, within a first preset time period, if detecting that a second rearview mirror selection button is pressed, determining the target rearview mirrors corresponding to the two rearview mirror selection buttons pressed;

[0048] This embodiment can be applied to the adjustment of paired mirrors. In specific implementation, when the driver presses the rearview mirror selection button, the vehicle will read a rearview mirror selection button signal, and the timing will start at this time. If the second rearview mirror selection button signal is read again within the first preset time length, the target rearview mirrors corresponding to the two rearview mirror selection buttons pressed are determined. For example, the first preset time length is 16 seconds. If the rearview mirror selection button pressed for the first time is the left main mirror button, within 16 seconds, it is detected that the left auxiliary mirror selection button is pressed, and the target rearview mirror corresponding to the first rearview mirror selection button pressed is determined to be the left main mirror, and the target rearview mirror corresponding to the second rearview mirror selection button pressed is determined to be the left auxiliary mirror.

[0049] Step 120, determining whether the combination formed by the two target rearview mirrors meets a preset combination, wherein the preset combination is any one of a main mirror and an auxiliary mirror on the same side, a left main mirror and a right main mirror, and a left auxiliary mirror and a right auxiliary mirror;

[0050] Further, it is determined whether the combination formed by the two target rearview mirrors conforms to any one of the main mirror and the auxiliary mirror on the same side, the left main mirror and the right main mirror, and the left auxiliary mirror and the right auxiliary mirror.

[0051] Step 130: If the preset combination is met, the flipping of the two target rearview mirrors is controlled based on the target adjustment direction.

[0052] After detecting that the rearview mirror selection button is pressed, the switch control system reads the input voltage value of the corresponding selection button and transmits it to the MCU chip. If the combination formed by the two target rearview mirrors meets any of the preset combinations, the target adjustment direction is determined by the adjustment direction button selected by the driver. Then, the MCU chip outputs the voltage value to the target rearview mirror motor through the pin, and controls the flipping of the target rearview mirror based on the target adjustment direction.

[0053] In this embodiment, after detecting that a rearview mirror selection button is pressed, within a first preset time period, if it is detected that a second rearview mirror selection button is pressed, the target rearview mirrors corresponding to the two pressed rearview mirror selection buttons are determined; it is judged whether the combination formed by the two target rearview mirrors meets the preset combination, and the preset combination is any one of the main mirror and auxiliary mirror on the same side, the left main mirror and the right main mirror, and the left auxiliary mirror and the right auxiliary mirror; if it meets the preset combination, the flipping of the two target rearview mirrors is controlled based on the target adjustment direction, so that the two rearview mirrors can be adjusted at the same time, and the automatic adjustment of the auxiliary mirror is also realized, which can reduce the risk of traffic accidents caused by frequent adjustment of the rearview mirrors during driving.

[0054] Further, in one embodiment, if the preset combination is met, the flipping of the two target rearview mirrors is controlled based on the target adjustment direction, including:

[0055] If the combination of the main mirror and the auxiliary mirror on the same side is met, the two target rearview mirrors are controlled to flip in the target adjustment direction.

[0056] Exemplarily, if the combination of the two target rearview mirrors is a left main mirror and a left auxiliary mirror, or the combination of the two target rearview mirrors is a right main mirror and a right auxiliary mirror, and the target adjustment direction is any one of up / down / left / right, the two target rearview mirrors are controlled to flip in the target adjustment direction at the same time.

[0057] In this embodiment, it is provided how to control the flipping of the target rearview mirror for the main mirror and auxiliary mirror combination on the same side, thereby realizing automatic adjustment of the main mirror and the auxiliary mirror in pairs and overcoming the problem of manual adjustment of the auxiliary mirror in the prior art.

[0058] Further, in one embodiment, if the preset combination is met, the flipping of the two target rearview mirrors is controlled based on the target adjustment direction, including:

[0059] If the left main mirror and right main mirror combination are met,

[0060] Step 210: When the target adjustment direction is up or down, control the two target rearview mirrors to flip toward the target adjustment direction;

[0061] In specific implementation, when the target adjustment direction is upward, the left main mirror and the right main mirror are controlled to flip upward at the same time; when the target adjustment direction is downward, the left main mirror and the right main mirror are controlled to flip downward at the same time;

[0062] Step 220: When the target adjustment direction is left, the left main mirror is controlled to flip to the left, and the right main mirror is controlled to flip to the right;

[0063] In specific implementation, when the target adjustment direction is left, the left main mirror is controlled to flip to the left, and the right main mirror is controlled to flip to the right, which is the opposite direction of the target adjustment direction. Assuming that the vehicle is a tractor, the tractor generally has a long trailer. In a road section with a sharp turn or poor passability, flipping the left main mirror to the left and flipping the right main mirror to the right can expand the field of view on the left and right sides of the vehicle body. There is no need to adjust the left main mirror separately and then adjust the right main mirror, which simplifies the driver's operation.

[0064] Step 230: When the target adjustment direction is right, the left main mirror is controlled to flip to the right, and the right main mirror is controlled to flip to the left.

[0065] In specific implementation, when the target adjustment direction is right, the left main mirror is controlled to flip to the right, and the right main mirror is controlled to flip to the left, which is the opposite direction of the target adjustment direction. After the tractor passes through a sharp turn or a road section with poor passability, the left main mirror is flipped to the right and the right main mirror is flipped to the left at the same time. At this time, the field of view on the left and right sides of the vehicle body can be restored to normal, and at the same time, it is realized that there is no need to adjust the left main mirror separately before adjusting the right main mirror, which simplifies the driver's operation.

[0066] In this embodiment, how to control the flipping of the target rearview mirror for the combination of the left main mirror and the right main mirror is provided, so that the left main mirror and the right main mirror are automatically adjusted in pairs, simplifying the driver's operation.

[0067] Further, in one embodiment, if the preset combination is met, the flipping of the two target rearview mirrors is controlled based on the target adjustment direction, including:

[0068] If the left auxiliary mirror and right auxiliary mirror combination are met,

[0069] Step 310: When the target adjustment direction is up or down, the two target rearview mirrors are controlled to flip toward the target adjustment direction;

[0070] In specific implementation, when the target adjustment direction is upward, the left auxiliary mirror and the right auxiliary mirror are controlled to flip upward at the same time; when the target adjustment direction is downward, the left auxiliary mirror and the right auxiliary mirror are controlled to flip downward at the same time;

[0071] Step 320: When the target adjustment direction is left, the left auxiliary mirror is controlled to flip to the left, and the right auxiliary mirror is controlled to flip to the right;

[0072] In specific implementation, when the target adjustment direction is left, the left auxiliary mirror is controlled to flip to the left, and the right auxiliary mirror is controlled to flip to the right, which is the opposite direction of the target adjustment direction. Assuming that the vehicle is a tractor, which generally has a long trailer, in a road section with a sharp turn or poor passability, flipping the left auxiliary mirror to the left and the right auxiliary mirror to the right can expand the field of view on the left and right sides of the vehicle body, and there is no need to adjust the left auxiliary mirror separately and then adjust the right auxiliary mirror, which simplifies the driver's operation.

[0073] Step 330: When the target adjustment direction is right, the left auxiliary mirror is controlled to flip to the right, and the right auxiliary mirror is controlled to flip to the left.

[0074] In specific implementation, when the target adjustment direction is right, the left auxiliary mirror is controlled to flip to the right, and the right auxiliary mirror is controlled to flip to the left, which is the opposite direction of the target adjustment direction. After the tractor passes through a sharp turn or a road section with poor passability, the left auxiliary mirror is flipped to the right and the right auxiliary mirror is flipped to the left at the same time. At this time, the field of view on the left and right sides of the vehicle body can be restored to normal, and at the same time, it is realized that there is no need to adjust the left auxiliary mirror separately before adjusting the right auxiliary mirror, which simplifies the driver's operation.

[0075] In this embodiment, how to control the flipping of the target rearview mirror for the combination of the left auxiliary mirror and the right auxiliary mirror is provided, so that the left auxiliary mirror and the right auxiliary mirror can be automatically adjusted in pairs, which simplifies the driver's operation and overcomes the problem of manual adjustment of the auxiliary mirror in the prior art.

[0076] Furthermore, in one embodiment, the method further includes:

[0077] Step 410: after detecting that a rearview mirror selection button is pressed, if more than two rearview mirror selection buttons are detected to be pressed within a first preset time period, determining a target rearview mirror corresponding to the first rearview mirror selection button pressed;

[0078] Step 420: Control the target rearview mirror to flip toward the target adjustment direction.

[0079] In specific implementation, since there are usually four rearview mirror selection buttons, namely, the left main mirror button, the right main mirror button, the left auxiliary mirror button and the right auxiliary mirror button, if the total number of rearview mirror selection buttons pressed is greater than or equal to 3, the adjustment will be meaningless. After a rearview mirror selection button is detected to be pressed, if two or three rearview mirror selection buttons are detected to be pressed within the first preset time, at this time, only the target rearview mirror corresponding to the first rearview mirror selection button pressed is determined; and the target rearview mirror is controlled to flip to the target adjustment direction.

[0080] In this embodiment, it is provided how to control the flipping of the target rearview mirror when the total number of rearview mirror selection buttons pressed is greater than 3. When the target rearview mirror corresponding to the first rearview mirror selection button pressed is the auxiliary mirror, the problem of manually adjusting the auxiliary mirror in the prior art can be overcome.

[0081] Furthermore, in one embodiment, after a rearview mirror selection button is detected to be pressed, if the rearview mirror selection button is not detected to be pressed again within a first preset time, the target rearview mirror corresponding to the pressed rearview mirror selection button is determined; based on the target adjustment direction, the flipping of the target rearview mirror is controlled. Furthermore, it is also possible to determine whether the time after the rearview mirror selection button is pressed reaches a second threshold. If not, it is considered as a misoperation; if reached, the target rearview mirror is controlled to flip in the target adjustment direction. Exemplarily, the second threshold is 100ms, because under normal operation, the button contact time is generally more than 100ms. If it is less than 100ms, it may be a mistouch.

[0082] In this embodiment, adjustment of a single rearview mirror can be achieved. When the single rearview mirror is an auxiliary mirror, the problem of manually adjusting the auxiliary mirror in the prior art can be overcome.

[0083] Furthermore, in one embodiment, the method further includes:

[0084] Step 510, obtaining vehicle speed, P gear data status and vehicle front image data;

[0085] In specific implementation, when the vehicle is in the on gear state and the front collision warning system is turned on, it automatically enters the blind spot intelligent adjustment mode, and the rearview mirror switch reads the vehicle speed, P gear braking status data and vehicle front image data in real time from the vehicle CAN bus. Among them, the P gear data status is non-braking state or braking state. When the handbrake is released, it is in the non-braking state, and when the handbrake is pulled up, it is in the braking state.

[0086] Step 520: when it is detected that the vehicle speed is less than a preset threshold, the P gear data state is a non-braking state, and there is an obstacle in the image data in front of the vehicle, the height of the blind spot mirror from the ground, the lateral distance and longitudinal distance between the center point of the blind spot mirror and the center point of the image data acquisition device in front of the vehicle, and the lateral coordinate and longitudinal coordinate of the obstacle are obtained;

[0087] The vehicle front image data acquisition device includes but is not limited to a radar, a front camera, etc. Exemplarily, the preset threshold is 3 km / h, and the second preset time length is 50 ms.

[0088] In specific implementation, when it is detected that the vehicle speed is less than a preset threshold, the P gear data state is in a non-braking state, and there is an obstacle in the image data in front of the vehicle, the initial number of step pulses of the motor in each direction is recorded, and the initial value of the initial number of step pulses of the motor in each direction is 0. At the same time, an early warning reminder can be issued through the instrument panel, voice, etc., and the reminder content is "Please pay attention to the blind spot in front before starting." Obtain the height of the blind spot mirror from the ground, the lateral distance and longitudinal distance from the center point of the blind spot mirror to the center point of the image data acquisition device in front of the vehicle, and the lateral coordinates and longitudinal coordinates of the obstacle, so as to determine the motor rotation angle of the blind spot mirror based on these parameters.

[0089] Step 530: Determine the motor rotation angle of the blind spot mirror based on the height above the ground, the lateral distance, the longitudinal distance, the lateral coordinate and the longitudinal coordinate.

[0090] Based on the height from the ground, the lateral distance, the longitudinal distance, the lateral coordinate and the longitudinal coordinate, the motor rotation angle of the blind spot mirror is determined, and the motor of the blind spot mirror is controlled to rotate according to the rotation angle so that the center of the mirror body and the obstacle are on the same vertical line.

[0091] Wherein, based on the height from the ground, the lateral distance, the longitudinal distance, the lateral coordinate and the longitudinal coordinate, the motor rotation angle of the blind spot mirror is determined, and the corresponding formula is:

[0092]

[0093] Among them, X1 is the horizontal coordinate, Y1 is the vertical coordinate, X0 is the horizontal distance, Y0 is the vertical distance, K is the height from the ground, α1 is the rotation angle of the motor that controls the left and right directions of the blind spot mirror, and β1 is the rotation angle of the motor that controls the up and down directions of the blind spot mirror.

[0094] Furthermore, at every second preset time interval, for example 50ms, the latest obstacle position data returned by the image data acquisition device in front of the vehicle is obtained and compared with the current data. If the absolute value of the difference between the latest data Dn+1 and the current data Dn is greater than the set value, the switch determines the motor rotation angle of the blind mirror according to the above formula based on the x-axis value and y-axis value of the latest obstacle, and drives the blind mirror to flip according to the rotation angle, so that the center of the mirror body and the obstacle always remain on the same vertical line until the obstacle leaves the front of the vehicle.

[0095] When it is detected that the obstacle has left the front of the vehicle, stop recording the number of initial step pulses of the motors in each direction. The output chip adjusts the motor by recording the number of initial step pulses of the motors in each direction, so that the rearview mirror flips back to the initial position, that is, the purpose of restoring the initial position is achieved through reverse output. For example, if 3 pulses are output for the upper motor and 4 pulses for the left motor, if the initial position needs to be restored, 4 pulses need to be output for the right motor and 3 pulses for the lower motor.

[0096] It should be noted that the above steps for adjusting the blind spot mirror are also applicable to the adjustment of the down-view mirror.

[0097] In this embodiment, when it is detected that the vehicle speed is less than a preset threshold, the P gear data state is in a non-braking state, and there is an obstacle in the image data in front of the vehicle, the blind spot mirror or the down-view mirror is automatically adjusted to remind the driver, thereby improving operational safety and overcoming the problem of manual adjustment of the blind spot mirror and the down-view mirror in the prior art.

[0098] In a second aspect, an embodiment of the present application further provides a vehicle rearview mirror adjustment device, which is applied to a vehicle equipped with a plurality of rearview mirror selection buttons, each rearview mirror selection button being connected to a pin of a chip.

[0099] In one embodiment, referring to Figure 2 , Figure 2 This is a functional module diagram of an embodiment of the vehicle rearview mirror adjustment device of the present application. Figure 2 As shown, the vehicle rearview mirror adjustment device 200 includes:

[0100] A first determination module 210 is used to, after detecting that a rearview mirror selection button is pressed, if detecting that a second rearview mirror selection button is pressed within a first preset time period, determine the target rearview mirrors corresponding to the two rearview mirror selection buttons that are pressed;

[0101] A judging module 220 is used to judge whether the combination formed by the two target rearview mirrors meets a preset combination, wherein the preset combination is any one of a main mirror and an auxiliary mirror on the same side, a left main mirror and a right main mirror, and a left auxiliary mirror and a right auxiliary mirror;

[0102] The first control module 230 is used to control the flipping of the two target rearview mirrors based on the target adjustment direction if a preset combination is met.

[0103] Furthermore, in one embodiment, the first control module is specifically used for:

[0104] If the combination of the main mirror and the auxiliary mirror on the same side is met, the two target rearview mirrors are controlled to flip in the target adjustment direction.

[0105] Furthermore, in one embodiment, the first control module is specifically used for:

[0106] If the left main mirror and right main mirror combination are met,

[0107] When the target adjustment direction is up or down, the two target rearview mirrors are controlled to flip in the target adjustment direction;

[0108] When the target adjustment direction is left, the left main mirror is controlled to flip to the left, and the right main mirror is controlled to flip to the right;

[0109] When the target adjustment direction is right, the left main mirror is controlled to flip to the right, and the right main mirror is controlled to flip to the left.

[0110] Furthermore, in one embodiment, the first control module is specifically used for:

[0111] If the left auxiliary mirror and right auxiliary mirror combination are met,

[0112] When the target adjustment direction is up or down, the two target rearview mirrors are controlled to flip in the target adjustment direction;

[0113] When the target adjustment direction is left, the left auxiliary mirror is controlled to flip to the left, and the right auxiliary mirror is controlled to flip to the right;

[0114] When the target adjustment direction is right, the left auxiliary mirror is controlled to flip to the right, and the right auxiliary mirror is controlled to flip to the left.

[0115] Furthermore, in one embodiment, the vehicle rearview mirror adjustment device further includes a second control module, and the second control module is specifically used for:

[0116] After detecting that a rearview mirror selection button is pressed, if more than two rearview mirror selection buttons are detected to be pressed within a first preset time period, determining the target rearview mirror corresponding to the first rearview mirror selection button pressed;

[0117] Control the target rearview mirror to flip toward the target adjustment direction.

[0118] Furthermore, in one embodiment, the vehicle rearview mirror adjustment device further includes a second determination module, and the second determination module is specifically configured to:

[0119] Obtain vehicle speed, P gear data status and vehicle front image data;

[0120] When it is detected that the vehicle speed is less than a preset threshold, the P gear data state is a non-braking state, and there is an obstacle in the image data in front of the vehicle, the height of the blind spot mirror from the ground, the lateral distance and longitudinal distance between the center point of the blind spot mirror and the center point of the image data acquisition device in front of the vehicle, and the lateral coordinates and longitudinal coordinates of the obstacle are obtained;

[0121] Based on the height above the ground, the lateral distance, the longitudinal distance, the lateral coordinate and the longitudinal coordinate, the motor rotation angle of the blind spot mirror is determined.

[0122] Further, in one embodiment, the second determination module is specifically used to determine the motor rotation angle of the blind spot mirror based on the following formula:

[0123]

[0124] Among them, X1 is the horizontal coordinate, Y1 is the vertical coordinate, X0 is the horizontal distance, Y0 is the vertical distance, K is the height from the ground, α1 is the rotation angle of the motor that controls the left and right directions of the blind spot mirror, and β1 is the rotation angle of the motor that controls the up and down directions of the blind spot mirror.

[0125] Among them, the functional implementation of each module in the above-mentioned vehicle rearview mirror adjustment device corresponds to the various steps in the above-mentioned vehicle rearview mirror adjustment method embodiment, and its functions and implementation processes are no longer repeated here one by one.

[0126] In a third aspect, an embodiment of the present application provides a vehicle rearview mirror adjustment device, which may be a personal computer (PC), a laptop computer, a server, or other device with data processing capabilities.

[0127] Reference Figure 3 , Figure 3 The hardware structure diagram of the vehicle rearview mirror adjustment device involved in the embodiment of the present application is shown in FIG. In the embodiment of the present application, the vehicle rearview mirror adjustment device may include a processor, a memory, a communication interface, and a communication bus.

[0128] The communication bus may be of any type and is used to interconnect the processor, the memory, and the communication interface.

[0129] The communication interface includes input / output (I / O) interfaces, physical interfaces, and logical interfaces for interconnecting the components inside the vehicle rearview mirror adjustment device, and interfaces for interconnecting the vehicle rearview mirror adjustment device with other devices (such as other computing devices or user devices). The physical interface can be an Ethernet interface, an optical fiber interface, an ATM interface, etc.; the user device can be a display, a keyboard, etc.

[0130] The memory can be various types of storage media, such as random access memory (RAM), read-only memory (ROM), non-volatile RAM (NVRAM), flash memory, optical storage, hard disk, programmable ROM (PROM), erasable PROM (EPROM), electrically erasable PROM (EEPROM), etc.

[0131] The processor may be a general-purpose processor, which may call the vehicle rearview mirror adjustment program stored in the memory and execute the vehicle rearview mirror adjustment method provided in the embodiment of the present application. For example, the general-purpose processor may be a central processing unit (CPU). The method executed when the vehicle rearview mirror adjustment program is called may refer to the various embodiments of the vehicle rearview mirror adjustment method of the present application, which will not be described in detail here.

[0132] Those skilled in the art will understand that Figure 3 The hardware structure shown in the figure does not constitute a limitation on the present application, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0133] In a fourth aspect, an embodiment of the present application also provides a computer-readable storage medium.

[0134] The computer-readable storage medium of the present application stores a vehicle rearview mirror adjustment program, wherein when the vehicle rearview mirror adjustment program is executed by a processor, the steps of the vehicle rearview mirror adjustment method as described above are implemented.

[0135] Among them, the method implemented when the vehicle rearview mirror adjustment program is executed can refer to the various embodiments of the vehicle rearview mirror adjustment method of the present application, and will not be repeated here.

[0136] It should be noted that the serial numbers of the above-mentioned embodiments of the present application are only for description and do not represent the advantages or disadvantages of the embodiments.

[0137] The terms "including" and "having" and any variations thereof in the specification and claims of this application and the above-mentioned drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices. The terms "first", "second" and "third" are used to distinguish different objects, etc., and do not represent a sequence, nor do they limit "first", "second" and "third" to different types.

[0138] In the description of the embodiments of the present application, "exemplary", "for example" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary", "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary", "for example" or "for example" is intended to present related concepts in a specific way.

[0139] In the description of the embodiments of the present application, unless otherwise specified, “ / ” means or, for example, A / B can mean A or B; the “and / or” in the text is merely a description of the association relationship of associated objects, indicating that three relationships may exist, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, “multiple” refers to two or more than two.

[0140] In some processes described in the embodiments of the present application, multiple operations or steps that appear in a specific order are included, but it should be understood that these operations or steps may not be executed in the order in which they appear in the embodiments of the present application or in parallel, and the sequence number of the operation is only used to distinguish the different operations, and the sequence number itself does not represent any execution order. In addition, these processes may include more or fewer operations, and these operations or steps may be executed in sequence or in parallel, and these operations or steps may be combined.

[0141] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, disk, CD) as described above, and includes a number of instructions for a terminal device to execute the methods described in each embodiment of the present application.

[0142] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A vehicle rearview mirror adjustment method, characterized in that: Applied to a vehicle equipped with a plurality of rearview mirror selection buttons, each rearview mirror selection button is connected to a pin of a chip, and the vehicle rearview mirror adjustment method comprises: After detecting that a rearview mirror selection button is pressed, within a first preset time period, if detecting that a second rearview mirror selection button is pressed, determining the target rearview mirrors corresponding to the two rearview mirror selection buttons pressed; Determine whether the combination formed by the two target rearview mirrors meets a preset combination, wherein the preset combination is any one of a main mirror and an auxiliary mirror on the same side, a left main mirror and a right main mirror, and a left auxiliary mirror and a right auxiliary mirror; If the preset combination is met, the flipping of the two target rearview mirrors is controlled based on the target adjustment direction.

2. The vehicle rearview mirror adjustment method according to claim 1, characterized in that: If the preset combination is met, the flipping of the two target rearview mirrors is controlled based on the target adjustment direction, including: If the combination of the main mirror and the auxiliary mirror on the same side is met, the two target rearview mirrors are controlled to flip in the target adjustment direction.

3. The vehicle rearview mirror adjustment method according to claim 1, characterized in that: If the preset combination is met, the flipping of the two target rearview mirrors is controlled based on the target adjustment direction, including: If the left main mirror and right main mirror combination are met, When the target adjustment direction is up or down, the two target rearview mirrors are controlled to flip in the target adjustment direction; When the target adjustment direction is left, the left main mirror is controlled to flip to the left, and the right main mirror is controlled to flip to the right; When the target adjustment direction is right, the left main mirror is controlled to flip to the right, and the right main mirror is controlled to flip to the left.

4. The vehicle rearview mirror adjustment method according to claim 1, characterized in that: If the preset combination is met, the flipping of the two target rearview mirrors is controlled based on the target adjustment direction, including: If the left auxiliary mirror and right auxiliary mirror combination are met, When the target adjustment direction is up or down, the two target rearview mirrors are controlled to flip in the target adjustment direction; When the target adjustment direction is left, the left auxiliary mirror is controlled to flip to the left, and the right auxiliary mirror is controlled to flip to the right; When the target adjustment direction is right, the left auxiliary mirror is controlled to flip to the right, and the right auxiliary mirror is controlled to flip to the left.

5. The vehicle rearview mirror adjustment method according to claim 1, characterized in that: The method further comprises: After detecting that a rearview mirror selection button is pressed, if more than two rearview mirror selection buttons are detected to be pressed within a first preset time period, determining the target rearview mirror corresponding to the first rearview mirror selection button pressed; Control the target rearview mirror to flip toward the target adjustment direction.

6. The vehicle rearview mirror adjustment method according to claim 1, characterized in that: The method further comprises: Obtain vehicle speed, P gear data status and vehicle front image data; When it is detected that the vehicle speed is less than a preset threshold, the P gear data state is a non-braking state, and there is an obstacle in the image data in front of the vehicle, the height of the blind spot mirror from the ground, the lateral distance and longitudinal distance between the center point of the blind spot mirror and the center point of the image data acquisition device in front of the vehicle, and the lateral coordinates and longitudinal coordinates of the obstacle are obtained; Based on the height above the ground, the lateral distance, the longitudinal distance, the lateral coordinate and the longitudinal coordinate, the motor rotation angle of the blind spot mirror is determined.

7. The vehicle rearview mirror adjustment method according to claim 1, characterized in that: Based on the height above the ground, the lateral distance, the longitudinal distance, the lateral coordinate and the longitudinal coordinate, the motor rotation angle of the blind spot mirror is determined, and the corresponding formula is: Among them, X1 is the horizontal coordinate, Y1 is the vertical coordinate, X0 is the horizontal distance, Y0 is the vertical distance, K is the height from the ground, α1 is the rotation angle of the motor that controls the left and right directions of the blind spot mirror, and β1 is the rotation angle of the motor that controls the up and down directions of the blind spot mirror.

8. A vehicle rearview mirror adjustment device, characterized in that: Applicable to a vehicle equipped with a plurality of rearview mirror selection buttons, each rearview mirror selection button is connected to a pin of a chip, and the vehicle rearview mirror adjustment device comprises: A first determination module is used to, after detecting that a rearview mirror selection button is pressed, if detecting that a second rearview mirror selection button is pressed within a first preset time period, determine the target rearview mirrors corresponding to the two rearview mirror selection buttons that are pressed; A judging module, used for judging whether the combination formed by the two target rearview mirrors meets a preset combination, wherein the preset combination is any one of a main mirror and an auxiliary mirror on the same side, a left main mirror and a right main mirror, and a left auxiliary mirror and a right auxiliary mirror; The first control module is used to control the flipping of two target rearview mirrors based on the target adjustment direction if a preset combination is met.

9. A vehicle rearview mirror adjustment device, characterized in that: The vehicle rearview mirror adjustment device includes a processor, a memory, and a vehicle rearview mirror adjustment program stored in the memory and executable by the processor, wherein when the vehicle rearview mirror adjustment program is executed by the processor, the steps of the vehicle rearview mirror adjustment method as described in any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a vehicle rearview mirror adjustment program, wherein when the vehicle rearview mirror adjustment program is executed by the processor, the steps of the vehicle rearview mirror adjustment method according to any one of claims 1 to 7 are implemented.