Automobile electric sun visor with automatic adjustment function and control method

By calculating the sunlight, vehicle direction, and driver position using front and interior cameras, the sun visor motor is controlled to automatically adjust to the optimal angle, solving the problem of poor sun visor tilt angle control and improving driver comfort and safety.

CN117124822BActive Publication Date: 2026-07-28SHENZHEN LANYOU TECHNOLOGY CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHENZHEN LANYOU TECHNOLOGY CO LTD
Filing Date
2022-05-19
Publication Date
2026-07-28

AI Technical Summary

Technical Problem

Existing technology cannot achieve automatic control of the optimal tilt angle of the sun visor, which can cause drivers to be distracted by glare while driving, posing a safety hazard.

Method used

By calculating the angle between the incident sunlight and the vehicle's direction of travel, as well as the driver's eye position, using both front and interior cameras, a Cartesian coordinate system is established. This system calculates the sun visor's tilt angle and uses a motor to control the sun visor's movement, achieving automatic adjustment.

Benefits of technology

The sun visor can automatically rotate to the optimal angle to prevent glare without excessively obstructing the driver's view, thus improving driver comfort and safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117124822B_ABST
    Figure CN117124822B_ABST
Patent Text Reader

Abstract

The application discloses a kind of with automatic adjusting function's automobile electric sun visor and control method, it is related to automobile electrical technology field.The application includes front camera, in-car camera, control unit and sun visor controlled by motor composition.Control unit according to the application calculates the angle of the sun incident light and the vehicle X axis direction, the position coordinates of driver eye relative to in-car camera, stores in-car camera relative sun visor pivot coordinates, sun visor size and other parameters, calculates whether sun visor is turned over and the angle of turning over and controls sun visor motor action;When sunlight is irradiated into driver eye from front windshield, sun visor can be automatically turned over to optimal angle, prevent sun from dazzling driver and not excessively obstruct driver's field of view;Avoid driver to manually adjust sun visor in the process of driving and improve comfort.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of automotive electrical technology, and in particular relates to an electric sun visor for automobiles with automatic adjustment function and a control method thereof. Background Technology

[0002] As a direction for automotive development, intelligent technology is receiving increasing attention from car companies and users. Passenger cars generally have very large windshields. When the sun is low in the morning or evening, if the vehicle is driving directly towards the sun, sunlight will shine directly into the driver's eyes, causing glare and making it difficult for the driver to see the road and other vehicles in front, posing a serious safety hazard.

[0003] Traditional passenger cars have sun visors installed at the front of the roof. When sunlight shines into the driver's eyes, the driver can manually rotate the sun visor to block sunlight and prevent glare. However, if the vehicle is not facing the sun before starting and the driver does not lower the sun visor, but instead turns to face the sun, the sunlight has already caused glare. At this point, the driver, with poor visibility and the vehicle traveling at high speed, must also distract themselves and take one hand off the steering wheel to adjust the sun visor, which also poses a significant safety hazard.

[0004] For example, Chinese patent CN106394195A provides an intelligent adjustment method for a vehicle sun visor, including the following steps: S1, a photosensitive detection unit collects the sunlight intensity and angle inside the vehicle; S2, it determines whether the sunlight intensity is greater than a preset value of the sunlight intensity signal; if not, proceed to step S5; if yes, proceed to the next step; S3, it determines whether the sunlight angle is within a preset sunlight angle range; if not, proceed to step S5; if yes, proceed to the next step; S4, it opens the sun visor, adjusts the angle in real time, and returns to step S1; S5, it closes the sun visor. The device includes a photosensitive detection unit, an MCU control unit, and a sun visor control unit. The photosensitive sensor collects the sunlight intensity and angle in real time, and the MCU control unit analyzes and processes the collected signal to intelligently adjust the sun visor, thereby ensuring that the sun visor is always at the most suitable angle, preventing the driver's eyes from being exposed to the sun and ensuring the widest field of vision.

[0005] However, neither the traditional sun visor adjustment nor the automatic adjustment method of the aforementioned patent can achieve the control of the optimal flip angle of the sun visor; therefore, an electric sun visor for automobiles with automatic adjustment function and a control method are provided. Summary of the Invention

[0006] The purpose of this invention is to provide an electric sun visor for automobiles with automatic adjustment function and a control method. By setting up a front camera, an interior camera, a control unit, and a sun visor controlled by a motor, when sunlight shines into the driver's eyes from the windshield, the sun visor can automatically rotate to the optimal angle to prevent sunlight from glaring the driver and to avoid excessively obstructing the driver's vision.

[0007] To solve the above-mentioned technical problems, the present invention is achieved through the following technical solution:

[0008] As a first aspect of the present invention, the present invention provides a method for controlling an electric sun visor for a car with automatic adjustment function, comprising the following steps:

[0009] Step S001: The control unit calculates the angle between the incident sunlight and the vehicle's direction of travel, and the position of the driver's eyes relative to the in-vehicle camera, based on the images captured by the front camera and the interior camera.

[0010] Step S002: Establish a rectangular coordinate system with the vehicle's forward direction as the X-axis, the vertical upward direction as the Z-axis, and the driver's eye position as the origin; store the position coordinates of the in-vehicle camera relative to the sun visor's rotation axis and the dimensions of the sun visor;

[0011] Step S003: The control unit calculates whether the sun visor is flipped and the angle of flipping, and controls the sun visor motor to operate.

[0012] Furthermore, the front-facing camera is fixedly installed in front of the vehicle to monitor the relative position of the sun and the vehicle.

[0013] Furthermore, the in-vehicle camera is fixedly installed inside the vehicle to monitor the relative position of the driver's eyes and the vehicle.

[0014] Furthermore, analysis is performed in the XZ plane projection to obtain the target position coordinates for automatic sun visor adjustment. The specific method is as follows:

[0015] ZB01: Define the coordinates (x, y) of the intersection point (x, y) of the circle formed by rotating the endpoint of the sun visor projected onto the XZ plane around the sun visor's axis of rotation and the incident ray of sunlight into the driver's eyes projected onto the XZ plane.

[0016] ZB02: Calculate the projection coordinates of the lower edge of the sun visor on the XZ plane when it automatically adjusts to the target position using a system of two quadratic equations; the system of two quadratic equations is:

[0017] (xm) 2 +(yn) 2 =R 2

[0018] y = x * tanβ';

[0019] Solving this problem yields two sets of solutions for x and y. To ensure driver comfort, we select the solution where x > m: x = p, y = q.

[0020] Then: (p, q) are the projection coordinates of the lower edge of the target position of the sun visor in the XZ plane;

[0021] Wherein, the coordinates of the sun visor rotation axis are (m,n), R is the projected length R of the sun visor on the XZ plane, and β' is the component of the angle β between the incident ray of sunlight entering the driver's eyes and the X-axis in the XZ plane.

[0022] Furthermore, the angle between the target position of the automatic sun visor adjustment and the -Z axis is δ:

[0023] δ = arctan[(nq) / (pm)];

[0024] The angle between the target position of the automatic sun visor adjustment and the initial position of the sun visor is δ+γ, that is:

[0025] When the angle between the sunlight and the X-axis is β', the sunshade should automatically adjust to a position where the angle between it and the starting position is δ+γ.

[0026] When β' is greater than the roof's shading range, the sunshade should return to or remain in the initial position;

[0027] When β' is less than the minimum angle that the sun visor can block, the sun visor should automatically adjust to a position where the angle between it and the starting position is γ.

[0028] Where γ is the angle between the starting position of the sun visor and the -Z axis direction.

[0029] Furthermore, the method for obtaining the angle between the incident ray of sunlight entering the driver's eye and the X-axis is as follows:

[0030] By using the images captured by the front camera and the parameters of the front camera, the angle between the incident light rays from the sun entering the front camera and the optical axis of the front camera is obtained.

[0031] By combining the angle between the optical axis of the front camera and the X-axis, the angle α between the sun and the vehicle's X-axis is calculated.

[0032] The angle between the incident ray of sunlight entering the driver's eyes and the vehicle's X-axis is β, where β = α.

[0033] As a second aspect of the present invention, the present invention provides an electric sun visor for automobiles with an automatic adjustment function, based on which the sun visor control method of the first aspect is implemented.

[0034] Furthermore, the sun visor includes a control unit and a motor for controlling the movement of the sun visor.

[0035] Furthermore, the rotating shaft of the sunshade is driven to rotate by a motor or stepper motor with a Hall sensor.

[0036] The present invention has the following beneficial effects:

[0037] The control unit of this invention calculates the angle between the incident sunlight and the vehicle's X-axis, the driver's eye position coordinates relative to the in-vehicle camera, and other parameters such as the in-vehicle camera's rotation axis coordinates relative to the sun visor and the sun visor's dimensions, based on images captured by the front and interior cameras. It also calculates whether the sun visor should be flipped and the angle of flipping, and controls the sun visor motor. When sunlight shines into the driver's eyes from the windshield, the sun visor automatically flips to the optimal angle, preventing glare without excessively obstructing the driver's view. This avoids distracting the driver by manually adjusting the sun visor while driving, thus improving comfort.

[0038] Of course, any product implementing this invention does not necessarily need to achieve all of the advantages described above at the same time. Attached Figure Description

[0039] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0040] Figure 1 This is a schematic diagram illustrating a specific embodiment of the present invention;

[0041] Figure 2 This is a schematic diagram illustrating the target position analysis of the sunshade in this invention;

[0042] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0043] In the description of this invention, it should be understood that the terms "front", "inner", "direction", "vertical", "upper", "lower", "end", etc., which indicate orientation or positional relationship, are only for the convenience of describing this invention and simplifying the description, and do not indicate or imply that the components or elements referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as limiting this invention.

[0044] Example 1:

[0045] Please see Figure 1-2 As shown, the present invention is a control method for an electric sun visor for automobiles with automatic adjustment function, comprising the following steps:

[0046] Step S001: The control unit calculates the angle between the incident sunlight and the vehicle's direction of travel, and the position of the driver's eyes relative to the in-vehicle camera 2, based on the images captured by the front camera 1 and the in-vehicle camera 2.

[0047] Step S002: As Figure 2 As shown, a rectangular coordinate system is established with the vehicle's forward direction as the X-axis, the vertical upward direction as the Z-axis, and the driver's eye position 3 as the origin; the position coordinates of the in-vehicle camera 2 relative to the sun visor pivot 4 and the dimensions of the sun visor are stored;

[0048] Step S003: The control unit calculates whether the sun visor is flipped and the angle of flipping, and controls the sun visor motor to operate.

[0049] As an embodiment of the present invention, preferably, the front camera 1 is fixedly installed in front of the vehicle to monitor the relative position of the sun and the vehicle, such as the sun's position as shown in the figure. Figure 2 The position marked with 5 in the middle is shown.

[0050] As an embodiment of the present invention, preferably, the in-vehicle camera is fixedly installed inside the vehicle to monitor the relative position of the driver's eyes and the vehicle.

[0051] like Figure 2 As shown, since the in-vehicle camera 2 can capture the driver's eye position 3, and the position of the in-vehicle camera 2 relative to the sun visor pivot 4 is fixed, the driver's eye position is set as the origin, with coordinates (0, 0). As an embodiment of the present invention, preferably, the target position coordinates for automatic sun visor adjustment are obtained by analyzing the XZ plane projection. The specific method is as follows:

[0052] ZB01: Define the coordinates (x, y) of the intersection point (x, y) of the circle formed by rotating the endpoint of the sun visor projected onto the XZ plane around the sun visor's axis of rotation and the incident ray of sunlight into the driver's eyes projected onto the XZ plane.

[0053] ZB02: Calculate the projection coordinates of the lower edge of the sun visor on the XZ plane when it automatically adjusts to the target position using a system of two quadratic equations; the system of two quadratic equations is:

[0054] (xm) 2 +(yn) 2 =R 2

[0055] y = x * tanβ';

[0056] Solving this problem yields two sets of solutions for x and y. To ensure driver comfort, we select the solution where x > m: x = p, y = q.

[0057] Then: (p, q) are the projection coordinates of the lower edge of the target position of the sun visor in the XZ plane;

[0058] Wherein, the coordinates of the sun visor rotation axis are (m,n), R is the projection length R of the sun visor on the XZ plane, and β' is the component of the angle β between the incident ray of sunlight entering the driver's eyes and the X-axis in the XZ plane; since this control method is mainly used to block the component of sunlight in the XZ plane of the vehicle, it needs to be analyzed in the XZ plane projection. The component β' of β in the XZ plane can be obtained by the transformation of the "three-ray theorem" (three-ray theorem: from any point O in space, three rays OA, OB, OC are arbitrarily drawn. Let ∠AOC=θ1, ∠BOC=θ2, ∠AOB=θ, and the dihedral angle A-OC-B be α, then cosθ=cosθ1·cosθ2+sinθ1·sinθ2·cosα).

[0059] As an embodiment of the present invention, preferably, the angle between the target position of the automatic adjustment of the sun visor and the -Z axis is δ:

[0060] δ = arctan[(nq) / (pm)];

[0061] The target position of the automatic adjustment of the sun visor and the starting position of the sun visor ( Figure 2 The angle between the position marked 6 and the other side is δ+γ, that is:

[0062] When the angle between the sunlight and the X-axis is β', the sunshade should automatically adjust to a position where the angle with the starting position is δ+γ, i.e., target position 7. Figure 2 The position indicated by 8 in the diagram is the position of the windshield;

[0063] When β' is greater than the roof's shading range, the sunshade should return to or remain in the initial position;

[0064] When β' is less than the minimum angle that the sun visor can block, the sun visor should automatically adjust to a position where the angle between it and the starting position is γ.

[0065] Among them, such as Figure 2 As shown, γ represents the initial position of the sun visor (the position closest to the ceiling, i.e.) Figure 2 The angle between the position indicated by number 6 and the -Z axis direction.

[0066] like Figure 1As shown, when the sun is low in the sky, it will simultaneously shine directly on the front camera 1 and the driver's eyes. As an embodiment of the present invention, preferably, the method for obtaining the angle between the incident light ray of the sun entering the driver's eyes and the X-axis is as follows:

[0067] By using the images captured by the front camera and the parameters of the front camera, the angle between the incident light rays from the sun entering the front camera and the optical axis of the front camera is obtained (the correspondence between the center position of the sun in the image and the angle between the camera's optical axis has been calibrated).

[0068] The angle between the optical axis of the front camera and the X-axis is fixed for a specific vehicle. Therefore, by combining the angle between the optical axis of the front camera and the X-axis, the angle α between the sun and the vehicle's X-axis is calculated using the "three-ray theorem" (not marked in the figure).

[0069] The angle between the incident ray of sunlight entering the driver's eyes and the vehicle's X-axis is β. Since the distance between the front camera and the sun is much greater than the distance between the camera and the driver's eyes, we can assume that β = α.

[0070] Example 2:

[0071] The present invention provides an electric sun visor for automobiles with automatic adjustment function, and implements a sun visor control method based on the sun visor in the first aspect.

[0072] In another embodiment of the present invention, preferably, the sunshade includes a control unit and a motor for controlling the movement of the sunshade.

[0073] As another embodiment of the present invention, preferably, the rotating shaft of the sunshade is driven to rotate by a motor or stepper motor with a Hall sensor, which can accurately control the flip angle of the sunshade.

[0074] An electric sun visor for automobiles with automatic adjustment function and its control method are disclosed. The control unit calculates the angle between the incident sunlight and the vehicle's X-axis, the position coordinates of the driver's eyes relative to the in-vehicle camera, and other parameters such as the rotation axis coordinates of the in-vehicle camera relative to the sun visor and the size of the sun visor, based on images captured by the front and interior cameras. The control unit calculates whether the sun visor should be flipped and the angle of flipping, and controls the operation of the sun visor motor. When sunlight shines into the driver's eyes from the windshield, the sun visor can automatically flip to the optimal angle to prevent glare from the sun and avoid excessive obstruction of the driver's vision. This avoids the driver having to manually adjust the sun visor while driving, thus improving comfort.

[0075] In the description of this specification, references to terms such as "an embodiment," "example," "specific example," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the invention. In this specification, illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.

[0076] The preferred embodiments of the present invention disclosed above are merely illustrative of the invention. These preferred embodiments do not exhaustively describe all details, nor do they limit the invention to the specific implementations described. Clearly, many modifications and variations can be made based on the content of this specification. This specification selects and specifically describes these embodiments to better explain the principles and practical applications of the invention, thereby enabling those skilled in the art to better understand and utilize the invention. The invention is limited only by the claims and their full scope and equivalents.

Claims

1. A control method for an electric sun visor for automobiles with automatic adjustment function, characterized in that, Includes the following steps: Step S001: The control unit calculates the angle between the incident sunlight and the vehicle's direction of travel, and the position of the driver's eyes relative to the in-vehicle camera, based on the images captured by the front camera and the interior camera. Step S002: Establish a rectangular coordinate system with the vehicle's forward direction as the X-axis, the vertical upward direction as the Z-axis, and the driver's eye position as the origin; The location coordinates of the in-vehicle camera relative to the sun visor pivot axis, and the dimensions of the sun visor; Step S003: The control unit calculates whether the sun visor is flipped and the angle of flipping, and controls the sun visor motor to operate. The front camera is fixedly installed at the front of the vehicle to monitor the relative position of the sun and the vehicle. The in-vehicle camera is fixedly installed inside the vehicle to monitor the relative position of the driver's eyes and the vehicle. The specific method for the control unit to analyze and obtain the target position coordinates of the automatic adjustment of the sun visor in the XZ plane projection is as follows: ZB01: Define the coordinates (x, y) of the intersection point of the circle formed by rotating the endpoint of the sun visor projected onto the XZ plane around the sun visor's axis of rotation and the incident ray of sunlight into the driver's eyes on the XZ plane. ZB02: Calculate the projection coordinates of the lower edge of the sun visor on the XZ plane when it automatically adjusts to the target position using a system of two quadratic equations; the system of two quadratic equations is: (x-m) 2 +(y-n) 2 =R 2 y=x*tanβ ’ ; Solving this problem yields two sets of solutions for x and y. To ensure driver comfort, we select the solution where x > m: x = p, y = q. Then: (p, q) are the projection coordinates of the lower edge of the target position of the sun visor in the XZ plane; Wherein, the coordinates of the sun shade's rotation axis are (m, n), R is the projection length R of the sun shade on the XZ plane, and β ’ The angle β between the incident ray of sunlight entering the driver's eye and the X-axis is the component of the angle β in the XZ plane. The angle between the target position of the automatically adjusted sun visor and the -Z axis is δ: δ = arctan[(nq) / (pm)]; The angle between the target position of the automatic sun visor adjustment and the initial position of the sun visor is δ+γ, that is: When the angle between the sunlight and the X-axis is β ‘ When the sun visor is in use, it should automatically adjust to a position where the angle between it and the starting position is δ+γ. When β ‘ When the area exceeds the roof's coverage capacity, the sunshade should be returned to its initial position or left in place. When β ‘ When the angle is smaller than the minimum angle that the sun visor can block, the sun visor should automatically adjust to a position where the angle with the starting position is γ. Where γ is the angle between the starting position of the sun visor and the -Z axis direction.

2. The method for controlling an electric sun visor for automobiles with automatic adjustment function according to claim 1, characterized in that, The method for obtaining the angle between the incident ray of sunlight entering the driver's eye and the X-axis is as follows: By using the images captured by the front camera and the parameters of the front camera, the angle between the incident light rays from the sun entering the front camera and the optical axis of the front camera is obtained. By combining the angle between the optical axis of the front camera and the X-axis, the angle α between the sun and the vehicle's X-axis is calculated. The angle between the incident ray of sunlight entering the driver's eyes and the vehicle's X-axis is β, where β = α.