Sunshade device adjusting method, system, vehicle and storage medium
By using time and position information in the vehicle to automatically adjust the sun visor, the problem of the driver having to frequently manually adjust the sun visor is solved, improving the driving experience and the accuracy of the adjustment.
Patent Information
- Application Number
- CN202211132781.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-14
- Publication Date
- 2025-10-24
- Estimated Expiration
- 2042-09-14
AI Technical Summary
The driver needs to frequently manually adjust the sun visor to cope with direct sunlight while driving, resulting in a decreased driving experience.
By using time information and vehicle position information to determine the solar altitude and azimuth, and combining the relative relationship between the driver's eyes and the car window, the shading device is automatically adjusted to block sunlight.
Automatic adjustment of the shading device is achieved, which reduces the driver's operating steps and improves the driving experience and the real-time and targeted nature of the adjustment.
Smart Images

Figure CN115366630B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of vehicle terminal, and particularly relates to a sunshade device adjusting method and system, a vehicle and a storage medium. BACKGROUND
[0002] With the progress of science and technology and the development of society, the number of cars continues to increase, and cars have become a common means of transportation for people.
[0003] During driving, the sun may shine directly into the driver's eyes, which may cause the driver's eyes to have a stinging sensation and the strong light to affect the driver's observation of the road conditions. At this time, the driver may open the sun visor to block the light. The driver needs to constantly adjust the sun visor during driving, and therefore, the driver's adjustment of the sun visor is relatively cumbersome, and the driving experience is reduced. SUMMARY
[0004] Therefore, the present application provides a sunshade device adjusting method and system, a vehicle and a storage medium.
[0005] Specifically, the present application is implemented by the following technical solutions.
[0006] According to a first aspect of an embodiment of the present specification, a sunshade device adjusting method is provided, which is applied to a vehicle, the vehicle including a vehicle window arranged in front of a driving position and a sunshade device corresponding to the vehicle window, and the method includes:
[0007] determining a solar elevation angle and a solar azimuth angle by using time information and vehicle position information;
[0008] determining a relative azimuth angle of the sun and the vehicle according to vehicle orientation information and the solar azimuth angle;
[0009] obtaining a predetermined target elevation angle and a target relative azimuth angle range; the target elevation angle and the target relative azimuth angle range are determined according to a relative relationship between a driver's eye and the vehicle window; and the target elevation angle and the target relative azimuth angle range are used to indicate sunlight that can irradiate the driver's eye;
[0010] if the solar elevation angle is less than the target elevation angle and the relative azimuth angle is within the target relative azimuth angle range, adjusting the sunshade device.
[0011] Optionally, if the vehicle is driving on a flat ground, the solar elevation angle is determined by using time information and vehicle position information;
[0012] If the vehicle is driving on a non-flat ground, the solar elevation angle is an initial solar elevation angle determined by using time information and vehicle position information minus a slope corresponding to the non-flat ground;
[0013] The slope corresponding to the uneven ground is determined according to at least one of the following: motion data collected by an inertial measurement unit of the vehicle, ground inclination information identified from images collected by a camera of the vehicle, or navigation information of the vehicle.
[0014] Optionally, determining the target height angle comprises the following steps:
[0015] Obtaining a height difference between the driver's eyes and an upper edge of the vehicle window, and a first horizontal distance between the upper edge of the vehicle window and the driver's eyes; the upper edge of the vehicle window is in contact with the roof;
[0016] Performing an inverse trigonometric function operation according to the height difference and the first horizontal distance to determine the target height angle.
[0017] Optionally, determining the target relative azimuth angle range comprises the following steps:
[0018] Determining a distance from the driver's eyes to the vehicle window, a second horizontal distance from the driver's eyes to a junction between the vehicle window and one of the vehicle A-pillars, and a third horizontal distance from the driver's eyes to a junction between the vehicle window and another of the vehicle A-pillars;
[0019] Performing an inverse trigonometric function operation according to the distance and the second horizontal distance, and performing an inverse trigonometric function operation according to the distance and the third horizontal distance to determine an upper limit and a lower limit of the target relative azimuth angle range.
[0020] Optionally, the distances from the driver's eyes to various parts of the vehicle are determined according to the driver's eye position and locations of the various parts of the vehicle;
[0021] Determining the driver's eye position comprises the following steps:
[0022] Determining an upper body height of the driver in a sitting state according to height information of the driver and proportional information corresponding to different heights;
[0023] Determining the driver's eye position according to the upper body height and position information of the driver's seat;
[0024] Alternatively, the vehicle comprises a depth camera; the depth image collected by the depth camera comprises the driver's eyes and at least part of the vehicle interior;
[0025] Determining the driver's eye position comprises the following steps:
[0026] Determining a relative position relationship between the driver's eyes and the vehicle interior using the depth image;
[0027] determine the driver eye position based on the relative position relationship and predetermined position information of the vehicle interior component.
[0028] Optionally, the vehicle interior component comprises a driver seat; the vehicle comprises a first driving motor for adjusting position of the driver seat.
[0029] The position information of the driver seat is determined according to initial position information of the driver seat and driving information of the first driving motor; wherein the initial position information indicates position information of the driver seat before being adjusted by the first driving motor.
[0030] Optionally, the shading device comprises a sun visor and a second driving motor for driving the sun visor.
[0031] The adjusting the shading device comprises:
[0032] determining incident light capable of irradiating to a first target position according to the driver eye position and the solar elevation angle; the first target position is a position below the driver eye;
[0033] determining a second target position of the sun visor according to intersection of the incident light and moving track of the sun visor;
[0034] driving the second driving motor to adjust the sun visor to the second target position.
[0035] Optionally, distance between the first target position and the driver eye position determined based on height information of the driver is greater than distance between the first target position and the driver eye position determined based on the depth image.
[0036] Optionally, the time information indicates time after a preset time length from current time, and the vehicle position information indicates vehicle position after the preset time length determined according to navigation track and planned speed of the vehicle.
[0037] The driving the second driving motor comprises:
[0038] driving the second driving motor after the preset time length to adjust the sun visor to the second target position; or,
[0039] determining rotating speed of the second driving motor according to difference between current position of the sun visor and the second target position and the preset time length, and driving the second driving motor at the rotating speed from current time to adjust the sun visor to the second target position after the preset time length.
[0040] Optionally, the shading device comprises a glass with variable transmittance arranged on the vehicle window, the glass comprises a plurality of independently controlled areas divided in a horizontal direction;
[0041] The adjusting the shading device comprises:
[0042] According to the driver's eye position and the solar elevation angle, determining an incident light ray capable of irradiating a first target position; the first target position is a position below the driver's eyes;
[0043] According to the intersection of the incident light ray and the glass, reducing the transmittance of one or more target areas between the intersection and the roof.
[0044] Optionally, the determining the solar elevation angle and the solar azimuth angle according to the time information and the vehicle position information comprises:
[0045] In response to a change in the solar elevation angle, determining the solar elevation angle and the solar azimuth angle according to the current time and the current vehicle position; and / or
[0046] The vehicle comprises a light sensor; the determining the solar elevation angle and the solar azimuth angle according to the time information and the vehicle position information comprises:
[0047] If the light sensor detects the presence of sunlight, determining the solar elevation angle and the solar azimuth angle according to the time information and the vehicle position information; and / or
[0048] The orientation information of the vehicle is determined according to at least one of the following information: the driving direction information of the vehicle according to the navigation track, the azimuth information measured by the compass in the vehicle, or the steering information fed back by the electric power steering system in the vehicle.
[0049] According to a second aspect of the embodiments of the present specification, a shading device adjusting system is provided, the system comprising a shading device, a processor, and executable instructions stored on a memory and executable on the processor;
[0050] The processor executes the executable instructions to implement the steps of the first aspect.
[0051] According to a third aspect of the embodiments of the present specification, a vehicle is provided, comprising the shading device adjusting system of the second aspect.
[0052] According to a fourth aspect of the embodiments of the present specification, a computer readable storage medium is provided, which stores a computer program, the program being executed by a processor to implement the method of the first aspect.
[0053] The technical solutions provided by the embodiments of the present specification can include the following beneficial effects:
[0054] In the embodiments of the present disclosure, the sun elevation angle and the sun azimuth angle are determined by using the time information and the vehicle position information; then the relative azimuth angle between the sun and the vehicle is determined according to the vehicle orientation information and the sun azimuth angle; then a target elevation angle and a target relative azimuth angle range are obtained, the target elevation angle and the target relative azimuth angle range are determined according to the relative relationship between the driver's eyes and the vehicle window, and the target elevation angle and the target relative azimuth angle range are used to indicate the sunlight that can irradiate the driver's eyes; finally, if the sun elevation angle is less than the target elevation angle and the relative azimuth angle is within the target relative azimuth angle range, the shading device is adjusted. In the actual driving process, the sun elevation angle and the target relative azimuth angle range can be determined by using the time information, the vehicle position information and the vehicle orientation information, and if the sun elevation angle is less than the target elevation angle and the relative azimuth angle is within the target relative azimuth angle range, it is determined that the sunlight can irradiate the driver's eyes, and then the vehicle automatically adjusts the shading device. In the process of automatically adjusting the shading device, the relative relationship between the driver's eyes and the vehicle window is used as the standard for adjustment, so that the adjustment mode in the embodiments can have the effects of real-time by using the time information and pertinence by using the relative relationship between the driver's eyes and the vehicle window, and the shading device can be adaptively adjusted according to different drivers and different times.
[0055] It should be understood that the foregoing general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF DRAWINGS
[0056] The accompanying drawings, which are incorporated into and form part of the specification, illustrate embodiments consistent with the present disclosure and, together with the specification, serve to explain the principles of the present disclosure.
[0057] Figure 1 is a structural schematic diagram of a shading device adjustment system according to an exemplary embodiment of the present disclosure.
[0058] Figure 2 is a flowchart of a shading device adjustment method according to an exemplary embodiment of the present disclosure.
[0059] Figure 3 is a schematic diagram of a sun elevation angle and a sun azimuth angle according to an exemplary embodiment of the present disclosure.
[0060] Figure 4 is a schematic diagram of a target elevation angle according to an exemplary embodiment of the present disclosure.
[0061] Figure 5A is a schematic diagram of a target sun azimuth angle range according to an exemplary embodiment of the present disclosure.
[0062] Figure 5B FIG. 13 is a diagram illustrating another target solar azimuth range according to an example embodiment of the present application.
[0063] Figure 5C FIG. 14 is a diagram illustrating a vehicle travel direction in a navigation interface according to an example embodiment of the present application.
[0064] Figure 5D FIG. 15 is a diagram illustrating a relative azimuth angle between a vehicle window and the sun according to an example embodiment of the present application.
[0065] Figure 6 FIG. 16 is a diagram illustrating a sunshade device as a sun visor according to an example embodiment of the present application.
[0066] Figure 7 FIG. 17 is a diagram illustrating a sunshade device as a light transmittance changeable glass according to an example embodiment of the present application.
[0067] Figure 8 FIG. 18 is a diagram illustrating a structure of another sunshade device adjustment system according to an example embodiment of the present application. DETAILED DESCRIPTION
[0068] Reference will now be made in detail embodiments of the application, examples of which are illustrated in the accompanying drawings. The following description refers to the accompanying drawings in which the same numbers represent the same or similar elements between the several embodiments. The embodiments described in this specification relate to apparatus and methods consistent with the present application, but not all combinations of features described herein are necessary for all embodiments. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as detailed in the appended claims.
[0069] The terminology used in the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the present application. As used in the present application and the appended claims, the singular forms "a," "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and / or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof.
[0070] It will be understood that, although the terms first, second, third, etc. can be used herein to describe various information, these terms are not intended to denote a particular order or hierarchy among the information. These terms are used merely as labels to identify particular information. For example, a first information can be termed a second information, and similarly, a second information can be termed a first information without departing from the scope of the present application. As used herein, the term "if' can be interpreted to mean "when" or "upon" or "in response to determining" depending on the context.
[0071] When sunlight shines on the driver's eyes, it will greatly affect the driver's visual state and reduce the driver's driving experience. In order to enable the driver to obtain a better driving experience, a sunshade device 20, such as a sun visor, is usually provided in the vehicle to block sunlight. When sunlight shines on the driver's eyes, the driver can adjust the sun visor to change the position of the sun visor, so that the sun visor can block the sunlight shining on the driver's eyes to obtain a better visual state. However, the sun visor will also block the driver's field of view, so that the driver's field of view range is narrowed. Therefore, the driver will retract the sun visor in order to obtain a better field of view range. For example, when the sunlight frequently changes between the state of being able to shine on the driver's eyes and the state of being unable to shine on the driver's eyes, when the sunlight is able to shine on the driver's eyes, the driver will choose to adjust the sun visor to block the sunlight in order to obtain a better visual state, and when the sunlight is unable to shine on the driver's eyes, the driver will retract the sun visor in order to obtain a better field of view range. Therefore, the driver often needs to consider both the visual state and the field of view range during driving, and constantly adjusts and retracts the sun visor, which is complicated and affects the driver's driving experience.
[0072] In view of the problems in the related art, the embodiment of the present application provides a sunshade device 20 adjustment method, which automatically adjusts the sunshade device according to the illumination of sunlight, without the need for manual adjustment by the driver, thereby reducing the operation steps of the driver. The embodiment can predefine a target height angle and a target relative azimuth angle range suitable for the position of the driver's eyes according to the relative relationship between the driver's eyes and the vehicle window. The target height angle indicates the maximum solar height angle that can shine on the driver's eyes. If the solar height angle exceeds the target height angle, the sunlight cannot shine on the driver's eyes. If the solar height angle is lower than the target height angle, the sunlight can shine on the driver's eyes, thereby facilitating the accuracy of the subsequent detection process of whether the sunlight shines on the driver's eyes. Furthermore, in the actual driving process, the solar height angle and the target relative azimuth angle range can be determined by using time information, vehicle position information and vehicle orientation information. If the solar height angle is less than the target height angle and the relative azimuth angle is within the target relative azimuth angle range, it is determined that the sunlight can shine on the driver's eyes, and the vehicle performs an automatic sunshade device 20 process. In the automatic sunshade device 20 process of the vehicle, the adjustment is performed according to the relative relationship between the driver's eyes and the vehicle window. Therefore, the adjustment method in the embodiment can have the effect of real-time through the time information, and the effect of being targeted through the relative relationship between the driver's eyes and the vehicle window, thereby achieving adaptive and targeted adjustment of the sunshade device 20 for different drivers at different times.
[0073] In some embodiments, the sunshade 20 adjustment method can be applied to a vehicle and executed by a processor 10 (such as an electronic control unit, ECU) in the vehicle. For example, refer to Figure 1 , Figure 1 A sunshade 20 adjustment system is provided in an embodiment of the present application, which is installed in a vehicle. The system includes a sunshade 20, a processor 10, a memory 30, and executable instructions stored in the memory 30 and executable on the processor 10. The processor 10 can execute the executable instructions for instructing the sunshade 20 adjustment method provided in an embodiment of the present application. The processor 10 adjusts the sunshade 20 after executing the executable instructions, so that the sunshade 20 blocks the sun from shining into the driver's eyes, thereby improving the driving experience of the driver.
[0074] Of course, in addition to the above-mentioned components, other components can also be included, such as a satellite positioning module (for determining the latitude and longitude information of the vehicle), a light sensor 50 (for detecting the light intensity of sunlight), a navigation planning module (such as providing a navigation planning route, estimated driving time information, driving direction during vehicle driving, etc.), a communication module (for communicating with external devices, such as obtaining the current specific date, time, etc. from external devices), a driving motor for driving the sunshade 20, etc. The specific settings can be made according to the actual application scenario, and the present embodiment does not make any limitation in this regard.
[0075] Next, the sunshade 20 adjustment method provided in an embodiment of the present application is exemplarily described. Refer to Figure 2 , Figure 2 A flowchart of a sunshade 20 adjustment method is provided in an embodiment of the present application. The method is applied to a vehicle, and optionally, the method is executed by a processor 10 in a sunshade 20 adjustment system installed in the vehicle. The vehicle includes a vehicle window arranged in front of a driving position and a sunshade 20 corresponding to the vehicle window. The method includes the following steps:
[0076] In step S101, the sun elevation angle and the sun azimuth angle are determined by using the time information and the vehicle position information.
[0077] In step S102, the relative azimuth angle between the sun and the vehicle is determined according to the vehicle orientation information and the sun azimuth angle.
[0078] In step S103, a target elevation angle and a target relative azimuth angle range are obtained. The target elevation angle and the target relative azimuth angle range are determined according to the relative relationship between the driver's eyes and the vehicle window. The target elevation angle and the target relative azimuth angle range are used to indicate the sunlight that can shine into the driver's eyes.
[0079] In step S104, if the solar elevation angle is less than the target elevation angle and the relative azimuth angle is within the target relative azimuth angle range, the sunshade device 20 is adjusted.
[0080] The embodiment can determine the target elevation angle and the target relative azimuth angle range in advance according to the relative relationship between the driver's eyes and the vehicle window, that is, the target elevation angle and the target relative azimuth angle range are suitable for the driver's eye position, thereby facilitating the accuracy of the subsequent detection process of whether the sunlight shines into the eyes. Furthermore, in the actual driving process, the solar elevation angle and the target relative azimuth angle range can be determined by using time information, vehicle position information, and vehicle orientation information, etc. In the case where the solar elevation angle is less than the target elevation angle and the relative azimuth angle is within the target relative azimuth angle range, it is determined that the sunlight may shine into the driver's eyes, and then the vehicle automatically adjusts the sunshade device, without the need for the driver to manually adjust, thereby reducing the driver's operation steps.
[0081] For example, steps S101-S104 can be executed in response to a user instruction, such as the user triggering the sun visor automatic adjustment control, and the vehicle executes steps S101-S104 in response to the user's triggering operation. For example, steps S101-S104 can be automatically executed when it is detected that the current environment has sunlight, thereby performing based on whether there is sunlight shining, and providing accurate adjustment of the sunshade device 20 to block the sunlight shining into the driver's eyes for the driver.
[0082] In some embodiments, the solar elevation angle and the solar azimuth angle are described as follows: Figure 3 The solar elevation angle refers to the angle between the direction of sunlight at a certain location on Earth and the horizontal plane. When the solar elevation angle is 90°, the solar radiation intensity is the largest. The greater the degree of solar oblique incidence on the ground (i.e., the smaller the solar elevation angle), the smaller the solar radiation intensity. The solar elevation angle at each location on the terminator is 0°, indicating that the day and night are changing; the solar elevation angle at each location on the day hemisphere is greater than 0°, indicating daytime; the solar elevation angle at each location on the night hemisphere is less than 0°, indicating nighttime. The solar elevation angle changes with the local time and the solar declination. The solar declination (equal to the solar direct point latitude) is represented by δ, the geographic latitude of the observation site is represented by φ (both the solar declination and the geographic latitude are positive for northern latitude and negative for southern latitude), the local time (hour angle) is represented by t, and the solar elevation angle is represented by h. The calculation formula of the solar elevation angle is: Wherein, the calculation method of the solar declination follows the international general calculation method. That is, the solar elevation angle at a certain location at a certain time point can be determined when the time and geographic position are determined.
[0083] The solar azimuth angle is the angle of the sun in the azimuth, which is usually defined as the angle measured along the horizon from the north clockwise. The azimuth angle is taken as the north direction of the target (the same as the north direction of the central meridian in the same geographical division / zone) as the starting direction, i.e. 0 degrees. The value range is 0-360 degrees, and the calculation rotation mode is: taking the target as the axis and the north direction of the target as the starting point, rotating clockwise for one revolution, and the azimuth angle gradually increases to 360°. Therefore, the solar azimuth angle is generally measured in the clockwise direction from the north direction of the target to the incident direction of the sunlight. The solar azimuth angle is determined according to the solar altitude angle, the time angle of the calculation time, the solar declination and the geographical latitude, and the calculation mode of the solar azimuth angle follows the international general calculation method.
[0084] Considering that different drivers have different eye positions, the sunlight that can irradiate the eyes of different drivers when driving the vehicle is different, so the vehicle needs to determine the target altitude angle and the target relative azimuth angle range that can irradiate the eyes of the driver before adjusting the shading device 20, and then determine whether the sunlight can irradiate the eyes through the target altitude angle and the target relative azimuth angle range; wherein the target altitude angle is used to indicate the maximum solar altitude angle that can irradiate the eyes of the driver, and the sunlight cannot irradiate the eyes of the driver when the angle exceeds this angle, and the sunlight can irradiate the eyes when the angle is below this angle; and the target relative azimuth angle range is used to indicate the solar azimuth angle that can irradiate the eyes of the driver, that is, as long as the solar azimuth angle is within the target relative azimuth angle range, the sunlight can irradiate the eyes of the driver. Therefore, the target altitude angle and the target relative azimuth angle range are used as the basis for determining whether the sunlight can irradiate the eyes, and the target altitude angle and the target relative azimuth angle range are determined according to the relative relationship between the driver's eyes and the vehicle window, so the target altitude angle and the target relative azimuth angle range need to be determined by pre-acquiring the position of the driver's eyes.
[0085] There are many ways to determine the eye position information, which can be calculated and determined based on the depth image captured by the depth camera 40, or based on the driver's height and height ratio information to calculate and determine the position of the driver's eyes, or other ways to calculate and determine the position of the driver's eyes.
[0086] In a possible implementation, the driver's eye position is determined based on the driver's height information and the height proportion information. The driver's height information is determined in advance. The driver's height information determined in advance can be the height information of a fixed driver input into the vehicle in advance, or the height information of several drivers input into the vehicle in advance, the current driver is selected before the driver gets into the vehicle to drive, so that the vehicle determines and obtains the corresponding driver's height information, or other ways to make the vehicle obtain the driver's height information; after the vehicle obtains the driver's height information, the upper body height of the driver in a sitting state is determined according to the proportion information corresponding to different heights; the proportion information corresponding to different heights can be proportion information input in advance and suitable for the driver of the vehicle, or determined according to regional information, population information and the like, for example, when the vehicle mainly travels in Europe, the overall height proportion information in Europe can be used for judgment, and similarly, special population information such as taxi drivers can be used for judgment; after the vehicle obtains the driver's height information and the proportion information corresponding to different heights, the upper body height of the driver in a sitting state can be calculated. Because the driver sits on the driver's seat with the upper body, the driver's eye position can be determined according to the position information of the driver's seat and the upper body height. In the process of determining the driver's eye position based on the driver's height information and the height proportion information, the position information of the driver's seat is determined, because the position information of the driver's seat is different due to actual adjustment of the user.
[0087] For example, the vehicle includes a first driving motor for adjusting the position of the driver's seat. The first driving motor is a power device for adjusting the driver's seat, so that the position of the driver's seat after being adjusted can be determined according to the driving information of the first driving motor. The initial position information of the driver's seat can be obtained according to the vehicle model, so that the position information of the driver's seat can be determined according to the initial position information of the driver's seat and the driving information of the first driving motor. The initial position information indicates the position information of the driver's seat before being adjusted by the first driving motor. The position information of the current driver's seat can be determined based on the initial position information and the driving information of the first driving motor. When the position of the driver's seat is determined, the driver's eye position can be determined according to the position information of the driver's seat and the height information of the driver. In this embodiment, the driver's eye position can be determined without adding additional image acquisition devices such as cameras, scanning devices and the like, thereby reducing the cost.
[0088] In another possible implementation, the position of the driver's eyes is determined based on a depth image captured by a depth camera 40, and the vehicle includes the depth camera 40; for example, the depth camera 40 can be installed in a position facing the driver's seat, and the depth image captured by the depth camera 40 includes the driver's eyes and at least part of the vehicle interior; wherein the vehicle interior refers to fixed components in the vehicle, such as a seat, a roof, or a pillar, etc. The depth camera 40 can be a TOF (TOF Camera) or other 3D imaging camera. The depth image including the driver and the vehicle interior is captured by the depth camera 40, and then the relative position relationship between the driver's eyes and the vehicle interior is determined based on the depth image. Since the position information of the vehicle interior does not change and can be determined according to the vehicle model and other parameters, the position of the driver's eyes can be determined based on the depth image and the position information of the vehicle interior. The position of the driver's eyes determined by the depth camera 40 improves the accuracy of determining the position of the driver's eyes, and thus improves the accuracy of adjusting the light shielding device 20.
[0089] It should be noted that the position information in the present disclosure can be coordinate information in a coordinate system. For example, the coordinate system can be a unified coordinate system of the vehicle with a certain point on the ground as the origin. Alternatively, a built-in coordinate system of the depth camera 40 or a world coordinate system can be used. It can be understood that the position information can also be identified in other ways other than the coordinate system, and the present embodiment does not limit this.
[0090] After the position of the driver's eyes is determined, the target height angle and the target relative azimuth angle range can be determined based on the relative relationship between the driver's eyes and the vehicle window.
[0091] In one possible implementation, to determine the target height angle, the vehicle obtains the height difference between the driver's eyes and the upper edge of the vehicle window, and the first horizontal distance between the upper edge of the vehicle window and the driver's eyes; the upper edge of the vehicle window is in contact with the roof; the vehicle window is a vehicle interior component, and thus the position information of the vehicle window can be obtained according to the parameters of the vehicle type. Therefore, the position information of the vehicle window and the position information of the driver's eyes are both determined, and the height difference between the driver's eyes and the upper edge of the vehicle window and the first horizontal distance between the upper edge of the vehicle window and the driver's eyes are determined based on the position information of the driver's eyes and the position information of the vehicle window. The inverse trigonometric function is operated based on the height difference and the first horizontal distance to determine the target height angle.
[0092] For example, the upper edge of the vehicle window in the present embodiment refers to the upper edge of the vehicle window directly above the driver's eyes. Please refer to Figure 4 ,Figure 4 Where d1 is the height difference between the driver's eyes and the upper edge of the window, and d2 is the first horizontal distance between the upper edge of the window and the driver's eyes. Therefore, the height difference and the first horizontal distance form a right triangle. Since the sun's altitude angle can reach the driver's eyes when it is within the angle of arctan(d1 / d2), the formula Hmax=arctan(d1 / d2) is used, where Hmax represents the target altitude angle. It should be noted that the arctan function in this embodiment is merely exemplary, and other inverse trigonometric functions may also be used. According to different inverse trigonometric functions, the distance between the driver's eyes and other components inside the vehicle may be obtained for calculation. Other types of functions may also be used to adaptively obtain the corresponding distance parameters. This embodiment does not impose any restrictions on this.
[0093] For a typical car body, there are three types of pillars: the front pillar (A pillar), the middle pillar (B pillar), and the rear pillar (C pillar). In addition to their supporting functions, the pillars also serve as door frames. The vehicle window in this disclosure refers to the front windshield as an example, and windows in other locations are similar depending on the specific situation. The front windshield is the driver's main visual viewing area, and the driver's eyes need to be kept facing the front windshield. Therefore, when sunlight shines into the vehicle interior through the front windshield, there is a possibility that it will shine into the driver's eyes. Therefore, before controlling the shading device 20, it is necessary to determine whether the sunlight can shine into the driver's eyes, so the position of the driver's eyes needs to be determined.
[0094] To determine the target relative azimuth range, the vehicle obtains a distance from the driver's eyes to the vehicle window, a second horizontal distance from the driver's eyes to the junction of the vehicle window and one of the vehicle's A-pillars, and a third horizontal distance from the driver's eyes to the junction of the vehicle window and another of the vehicle's A-pillars; performs an inverse trigonometric function operation based on the distances and the second horizontal distances, and performs an inverse trigonometric function operation based on the distances and the third horizontal distances to determine an upper limit and a lower limit of the target relative azimuth range. Exemplarily, the inverse trigonometric function is an inverse tangent function.
[0095] For an example, see Figure 5A , Figure 5AIn the plan view of the vehicle, the distance d4 from the driver's eye to the window, the second horizontal distance d3 from the driver's eye to the junction of the window and one of the vehicle's A-pillars; it can be seen that the distance d4 and the second horizontal distance d3 can form a right-angled triangle, and the included angle a1 = actan(d4 / d3) - 90° can be calculated according to the inverse trigonometric function, and the included angle a1 is used to indicate the sun azimuth angle range capable of irradiating the driver's eye on the left side of the driver's eye.
[0096] In another example, please refer to Figure 5B , Figure 5B In the plan view of the vehicle, the distance d4 from the driver's eye to the window, the third horizontal distance d5 from the driver's eye to the junction of the window and the other A-pillar; it can be seen that the distance d4 and the third horizontal distance d5 can form a right-angled triangle, and the included angle a2 = actan(d5 / d4) can be calculated according to the inverse trigonometric function, and the included angle a2 is used to indicate the sun azimuth angle range capable of irradiating the driver's eye on the left side of the driver's eye.
[0097] Further, please refer to Figure 5A-5B , considering that when the sunlight comes from the left side of the vehicle head, the driver's right eye will be irradiated first; and when the sunlight comes from the right side of the vehicle head, the driver's left eye will be irradiated first, wherein the left side and the right side are with respect to a1 and a2 described above; therefore, in order to improve the accuracy of the target relative azimuth angle range, the driver's eye can be further distinguished as the left eye and the right eye for judgment, that is, in the process of determining a1, one of the vehicle A-pillars can be the left front vehicle A-pillar with respect to the driver, the distance d4 from the driver's right eye to the window, the second horizontal distance d3 from the driver's right eye to the junction of the window and the left front vehicle A-pillar, to determine a1; in determining a2, the other vehicle A-pillar is the right front vehicle A-pillar with respect to the driver, the distance d4 from the driver's left eye to the window, the third horizontal distance d5 from the driver's left eye to the junction of the right front vehicle A-pillar, to determine a2, to improve the accuracy of judging whether the sunlight irradiates the driver's eye, that is, to improve the accuracy of adjusting the shading device 20.
[0098] After the target elevation angle and the target relative azimuth angle corresponding to the driver's eye are determined, the shading device 20 adjustment process can be performed with the aid of the target elevation angle and the target relative azimuth angle.
[0099] In a possible implementation, the vehicle is provided with a light sensor 50 for detecting the intensity of sunlight. Before performing steps S101-S104, the vehicle determines whether the location where the vehicle is located has sunlight according to the intensity of sunlight detected by the light sensor 50, and performs steps S101-S104 when the light sensor 50 detects sunlight; if the light sensor 50 detects no sunlight, steps S101-S104 do not need to be performed, thereby saving computational resources.
[0100] In another possible implementation, the vehicle has a networking function, and the vehicle can obtain weather information of the location where the vehicle is located from a preset weather platform. If the weather information is sunny, the vehicle performs steps S101-S104; if the weather information is cloudy, steps S101-S104 do not need to be performed, thereby saving computational resources.
[0101] In step 101, the vehicle can obtain current time information and current vehicle location information (for example, the latitude and longitude of the location where the vehicle is located) from relevant sensors (for example, a clock and a satellite positioning module) in the vehicle, and then determine the solar elevation angle and the solar azimuth angle by using the time information and the vehicle location information and in combination with the solar declination.
[0102] In some embodiments, it is considered that in addition to the time information and the vehicle location information, the slope also affects the solar elevation angle, and therefore when the vehicle is driving in an environment with a slope, the slope needs to be added for compensation in the process of determining the solar elevation angle. Specifically, the solar elevation angle can be obtained by subtracting the angle of the slope from the solar elevation angle on flat ground, and the angle of the slope is positive when going uphill and negative when going downhill, thereby achieving the effect of improving the slope compensation for the solar elevation angle when going uphill and downhill, and achieving the effect that the solar elevation angle does not have errors when compared with the target elevation angle.
[0103] In some embodiments, it is considered that in addition to the time information and the vehicle location information, the slope also affects the solar elevation angle, and therefore when the vehicle is driving in an environment with a slope, the slope needs to be added for compensation in the process of determining the solar elevation angle. Specifically, the solar elevation angle can be obtained by subtracting the angle of the slope from the solar elevation angle on flat ground, and the angle of the slope is positive when going uphill and negative when going downhill, thereby achieving the effect of improving the slope compensation for the solar elevation angle when going uphill and downhill, and achieving the effect that the solar elevation angle does not have errors when compared with the target elevation angle.
[0104] In one example, the solar azimuth is the angle at which the sun is offset relative to the north direction, and the relative azimuth between the sun and the vehicle is the angle at which the sun is offset relative to the vehicle. The above-mentioned α1 and α2 serve as the upper and lower limits of the target relative azimuth range, that is, α1 and α2 are relative azimuths. Therefore, it is necessary to first obtain the solar azimuth and the vehicle azimuth, and calculate to determine the relative azimuth between the sun and the vehicle before determining whether the relative azimuth falls between α1 and α2.
[0105] In step S102, the relative azimuth angle between the sun and the vehicle is determined based on the vehicle orientation information and the solar azimuth angle. The orientation information is determined based on at least one of the following information: the vehicle's driving direction information according to the navigation track, the orientation information measured by the compass in the vehicle, or the steering information fed back by the electric power steering system in the vehicle. In one example, see Figure 5C , the vehicle can determine the vehicle's orientation information based on the angle between the vehicle's driving direction indicated in the navigation interface and the true north direction. Exemplarily, the vehicle's orientation information can be considered as the vehicle's azimuth information. In one example, the vehicle's orientation information is expressed in azimuth angles. For example, the vehicle's orientation information can determine that the vehicle's front is facing due west, and the vehicle's azimuth angle is -90° at this time. Therefore, the process of determining the azimuth angle is: first obtain the solar azimuth angle, then obtain the vehicle's azimuth angle based on the vehicle's orientation information, and subtract the vehicle's azimuth angle from the solar azimuth angle to obtain the vehicle's relative azimuth angle. For example, if the vehicle is facing due west, the solar azimuth angle is 90°, the vehicle's azimuth angle is -90°, and the vehicle's relative azimuth angle is 90°-(-90°)=180°.
[0106] In one example, the azimuth is 0° towards due north, with clockwise directions being positive and counterclockwise directions being negative. Figure 5D ( Figure 5D N represents the north direction), taking the car window as an example, let the relative azimuth angle of the car window be BS, the azimuth angle of the sun be A, and the azimuth angle of the car window be B, then the relative azimuth angle BS=AB.
[0107] After the relative azimuth angle is determined, the vehicle performs step S103 to obtain a predetermined target elevation angle and a target relative azimuth angle range; that is, to obtain a predetermined target elevation angle Hmax and a target relative azimuth angle range (α1-α2), and then to determine whether the sun elevation angle is less than the target elevation angle and whether the relative azimuth angle is within the target relative azimuth angle range. If the sun elevation angle is not less than the target elevation angle and the relative azimuth angle is not within the target relative azimuth angle range, the vehicle does not need to perform the step of adjusting the sunshade device 20. If the sun elevation angle is less than the target elevation angle and the relative azimuth angle is within the target relative azimuth angle range, the vehicle performs the step of adjusting the sunshade device 20. Whether the adjustment of the sunshade device 20 needs to be performed depends on the following Table 1.
[0108]
[0109] Table 1
[0110] The sunshade device 20 in the present disclosure can include various sunshade devices 20, and different adjustment methods are used according to different sunshade devices 20.
[0111] In some embodiments, the sunshade device 20 includes a sun visor and a second driving motor for driving the sun visor; one end of the sun visor is fixed to the roof, and the other end can rotate along the roof to the direction of the window to block the sunlight from the window. The rotation process is driven by the second driving motor. The vehicle determines the incident light that can irradiate the first target position according to the driver's eye position and the sun elevation angle; the first target position is a position below the driver's eye. The closer the first target position is to the driver's eye, the better, because the closer the first target position is to the driver's eye, the better the sunshade device 20 can block the sunlight irradiating the driver's eye while providing the driver with the largest field of view. However, because the driver often moves slightly during driving or there is an error in determining the driver's eye position, the first target position is determined to be below the driver's eye, so that even if there is an error, the sunlight at the driver's eye position can be effectively blocked. Please refer to Figure 6determining a second target position of the sun visor according to the intersection of the incident light and the moving track of the sun visor; and driving the second driving motor to adjust the sun visor to the second target position. The rotating track of the sun visor is from the roof to the window, so the driver's field of view blocked by the sun visor is gradually increasing during the rotating process. Therefore, adjusting the sun visor to the position where the moving track of the sun visor intersects with the incident light for the first time can achieve the effect of blocking the incident light while keeping a larger field of view for the driver.
[0112] Because the first target position is set to eliminate the error in determining the driver's eye position, the distance between the first target position and the driver's eye position can be set smaller when the error in determining the driver's eye position is smaller, and vice versa. For example, the distance between the first target position and the driver's eye is less than 6 cm.
[0113] In some embodiments, as described above, there are two ways to determine the driver's eye position, one is to estimate based on the driver's height information, and the other is to determine based on the depth image collected by the depth camera 40.
[0114] Because in the process of determining the driver's eye position based on the driver's height information, there is a certain error in estimating the upper body height of the driver in a sitting position corresponding to different height information, if the driver's position information is estimated based on the driver's height information, the first target position needs to be set a little lower than the driver's eye position, so as to offset the error and ensure that the incident light blocked by the first target position can ensure the incident light covering the driver's eye position; and when the distance between the driver's eye positions is determined based on the depth image, because the depth image is determined based on the relative relationship between the vehicle interior and the driver's eye, the driver's eye position determined in this way is more accurate and has smaller error, so the first target position can be set closer to the driver's eye position.
[0115] That is, the distance between the first target position and the driver's eye position determined based on the driver's height information is greater than the distance between the first target position and the driver's eye position determined based on the depth image, for example, the distance between the first target position and the driver's eye position determined based on the driver's height information is 5 cm, and the distance between the first target position and the driver's eye position determined based on the depth image is 3 cm, so as to achieve the effect of blocking the incident light while keeping a larger field of view for the driver.
[0116] In other embodiments, please refer to Figure 7The light shielding device 20 includes glass with variable light transmittance arranged on the vehicle window, and the glass includes a plurality of independently controlled areas divided in a horizontal direction. The shape and size of each area can be set according to specific conditions, such as a rectangle, a circle, a crescent, and the like. The vehicle determines an incident light ray capable of irradiating a first target position according to the driver's eye position and the solar elevation angle. The first target position is a position below the driver's eye. According to the intersection of the incident light ray and the glass, the light transmittance of one or more target areas between the intersection and the roof is reduced. The lower the light transmittance of the glass, the stronger the ability of the glass to block light, and vice versa. By changing the light transmittance of the glass, the sunlight is blocked. Furthermore, the light transmittance of the glass can be adaptively changed in combination with the sunlight intensity collected by the light ray sensor 50. For example, in the case of strong sunlight, the light transmittance of the glass is adjusted to a low level (such as 0%-10%), to block strong light. In the case of weak sunlight, the light transmittance of the glass can be adjusted to a medium level (such as 50%-60%), to block sunlight and provide a better view for the driver.
[0117] It should be noted that the glass with variable light transmittance in the present disclosure can be arranged on the original vehicle window, and the two are installed in a superimposed manner. Alternatively, the entire vehicle window can be made of glass with variable light transmittance.
[0118] In some embodiments, the vehicle can adjust the light shielding device 20 according to the current sunlight condition in real time. In this case, the time information in step S101 refers to the current time, and the vehicle position information refers to the current vehicle position. Furthermore, during vehicle driving, steps S101-S104 are re-executed when the solar elevation angle changes.
[0119] For example, the vehicle can determine the solar elevation angle and the solar azimuth angle according to the current time and the current vehicle position in response to a change in the solar elevation angle, so that the vehicle can timely determine the solar elevation angle and the solar azimuth angle when the light irradiating into the vehicle changes, to adjust the light shielding device 20.
[0120] In some embodiments, in order to further reduce the probability of sunlight shining into the driver's eyes, the vehicle can be adjusted predictively, such as the time information in step S101 can be indicative of a time after a preset time period from the current time, and the vehicle position information is indicative of a vehicle position after the preset time period determined according to the navigation trajectory and the planned speed of the vehicle. Wherein the preset time period can be set according to specific circumstances, for example, 20s, 30s, etc.; the present embodiment obtains the time information and the vehicle position after the preset time period, judges whether the driver's eyes will be illuminated by sunlight after the preset time period, and then controls the sun visor, so as to eliminate the time difference caused by the judgment process and the adjustment of the light shielding device 20, and realize that the driver's eyes will not be illuminated by sunlight at any time; wherein the driving mode of the sun visor can be determined according to the situation, as long as the position of the sun visor can be in the second target position after the preset time period.
[0121] For example, for the adjustment of the sun visor in the predictive adjustment process, the vehicle can drive the second driving motor to adjust the sun visor to the second target position after the preset time period when it is determined that sunlight will shine into the driver's eyes after the preset time period.
[0122] For example, for the adjustment of the sun visor in the predictive adjustment process, the vehicle can determine the speed of the second driving motor according to the difference between the current position of the sun visor and the second target position, and the preset time period, and drive the second driving motor at the speed from the current time to adjust the sun visor to the second target position after the preset time period; in this way, the light shielding device 20 is gradually adjusted, making the adjustment process of the light shielding device 20 more smooth, and the adjustment is based on the change of sunlight during driving, so that the light shielding device 20 can continuously shield the changing sunlight, achieving the effect of improving the driver's experience.
[0123] For example, for the adjustment of the sun visor in the predictive adjustment process, the vehicle can pre-determine the incident light that can shine into the first target position after the preset time period, and further determine the intersection of the incident light and the glass, and then reduce the light transmittance of one or more target regions between the intersection and the roof after the preset time period. The lower the light transmittance of the glass, the stronger its ability to block light, and vice versa.
[0124] It is not difficult to understand that the schemes described in the above embodiments can be combined in the absence of conflicts, and the embodiments of the present disclosure do not enumerate one by one.
[0125] Correspondingly, please refer toFigure 1 The embodiments of the present application also provide a sunshade device 20 adjusting system, which comprises the sunshade device 20, a processor 10 and executable instructions stored on a memory 30 and executable on the processor 10.
[0126] The processor 10 is configured to: determine a sun elevation angle and a sun azimuth angle according to time information and vehicle position information; determine a relative azimuth angle between the sun and the vehicle according to vehicle orientation information and the sun azimuth angle; obtain a target elevation angle and a target relative azimuth angle range, the target elevation angle and the target relative azimuth angle range being determined according to a relative relationship between the driver's eyes and the vehicle window, and the target elevation angle and the target relative azimuth angle range being used to indicate sunlight capable of irradiating the driver's eyes; and adjust the sunshade device 20 if the sun elevation angle is less than the target elevation angle and the relative azimuth angle is within the target relative azimuth angle range.
[0127] The sunshade device 20 is used to shield sunlight irradiating the driver's eyes after being adjusted.
[0128] The processor 10 can be a central processing unit (CPU), and can also be other general-purpose processors 10, digital signal processors (DSP), application specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic components, discrete hardware components, etc. The general-purpose processor 10 can be a microprocessor or can also be any conventional processor 10.
[0129] The memory 30 stores executable instructions of the sunshade device 20 adjustment method, and can include at least one type of storage medium, such as flash memory, hard disk, multimedia card, card-type memory 30 (e.g., SD or DX memory 30, etc.), random access memory 30 (RAM), static random access memory 30 (SRAM), read-only memory 30 (ROM), electrically erasable programmable read-only memory 30 (EEPROM), programmable read-only memory 30 (PROM), magnetic memory 30, magnetic disk, optical disk, etc. Also, the vehicle can cooperate with a network storage device that performs a storage function of the memory 30 through a network connection. The memory 30 can be an internal storage unit of the vehicle, such as a hard disk or memory of the vehicle. The memory 30 can also be an external storage device of the vehicle, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the vehicle. Further, the memory 30 can include both an internal storage unit and an external storage device of the vehicle. The memory 30 is used to store executable instructions and other programs and data required by the vehicle. The memory 30 can also be used to temporarily store data that has been output or will be output.
[0130] The sunshade device 20 can be a sun visor, a glass with variable light transmittance, or any device that can block sunlight as needed.
[0131] In some embodiments, the processor 10 is further configured to: if the vehicle is driving on flat ground, the solar elevation angle is determined using time information and vehicle position information;
[0132] If the vehicle is driving on non-flat ground, the solar elevation angle is the initial solar elevation angle determined using time information and vehicle position information minus the slope corresponding to the non-flat ground;
[0133] In some embodiments, the processor 10 is further configured to: if the vehicle is driving on flat ground, the solar elevation angle is determined using time information and vehicle position information;
[0134] In some embodiments, the processor 10 is further configured to: obtain a height difference between the driver's eyes and the upper edge of the vehicle window, and a first horizontal distance between the upper edge of the vehicle window and the driver's eyes; the upper edge of the vehicle window is in contact with the roof;
[0135] According to the height difference and the first horizontal distance, an inverse trigonometric function operation is performed to determine the target solar elevation angle.
[0136] In some embodiments, the processor 10 is further configured to determine a distance from the driver's eyes to the vehicle window, a second horizontal distance from the driver's eyes to a junction of the vehicle window and one of the vehicle A-pillars, and a third horizontal distance from the driver's eyes to a junction of the vehicle window and another of the vehicle A-pillars.
[0137] performing an inverse trigonometric function operation according to the distance and the second horizontal distance, and performing an inverse trigonometric function operation according to the distance and the third horizontal distance, to determine an upper limit and a lower limit in the target relative azimuth angle range.
[0138] In some embodiments, the distance from the driver's eyes to various locations of the vehicle is determined according to the driver's eye position and locations of the various locations of the vehicle; and the processor 10 is further configured to:
[0139] determine an upper body height of the driver in a sitting state according to height information of the driver and proportional information corresponding to different heights;
[0140] determine the driver's eye position according to the upper body height and position information of the driver's seat;
[0141] Alternatively, the vehicle comprises a depth camera 40; and the depth image captured by the depth camera 40 comprises the driver's eyes and at least part of the vehicle interior;
[0142] determining the driver's eye position comprises the following steps:
[0143] determining a relative position relationship between the driver's eyes and the vehicle interior using the depth image;
[0144] determining the driver's eye position based on the relative position relationship and pre-determined position information of the vehicle interior.
[0145] In some embodiments, the vehicle interior comprises a driver's seat; and the vehicle comprises a first driving motor for adjusting the position of the driver's seat;
[0146] the position information of the driver's seat is determined according to initial position information of the driver's seat and driving information of the first driving motor; wherein the initial position information indicates the position of the driver's seat before being adjusted by the first driving motor.
[0147] In some embodiments, the sunshade device 20 comprises a sun visor and a second driving motor for driving the sun visor; and the processor 10 is further configured to:
[0148] determine incident light rays capable of irradiating a first target position according to the driver's eye position and the solar elevation angle; the first target position is a position below the driver's eyes.
[0149] determine a second target position of the sun visor according to an intersection of the incident light and a moving track of the sun visor;
[0150] drive the second driving motor to adjust the sun visor to the second target position.
[0151] In some embodiments, a distance between the first target position and a driver eye position determined based on height information of the driver is greater than a distance between the first target position and a driver eye position determined based on the depth image.
[0152] In some embodiments, the time information indicates a time after a preset time length from a current time, and the vehicle position information indicates a vehicle position after the preset time length determined according to a navigation track and a planned speed of the vehicle.
[0153] The processor 10 is further configured to:
[0154] drive the second driving motor to adjust the sun visor to the second target position after the preset time length; or
[0155] determine a rotating speed of the second driving motor according to a difference between the current position of the sun visor and the second target position and the preset time length, and drive the second driving motor at the rotating speed from the current time to adjust the sun visor to the second target position after the preset time length.
[0156] In some embodiments, the sunshade device 20 includes a glass with variable light transmittance arranged on the vehicle window, and the glass includes a plurality of independently controlled areas divided in a horizontal direction.
[0157] The processor 10 is further configured to:
[0158] determine an incident light capable of irradiating the first target position according to the driver eye position and the solar elevation angle; the first target position is a position below the driver eye;
[0159] lower the light transmittance of one or more target areas between the intersection and the roof according to the intersection of the incident light and the glass.
[0160] In some embodiments, the processor 10 is further configured to: in response to a change in the solar elevation angle, determine the solar elevation angle and the solar azimuth angle according to a current time and a current vehicle position.
[0161] In some embodiments, the vehicle includes a light sensor 50; and the processor 10 is further configured to:
[0162] If the light sensor 50 detects the presence of sunlight, the solar elevation angle and the solar azimuth angle are determined using the time information and the vehicle position information.
[0163] In some embodiments, the orientation information of the vehicle is determined according to at least one of the following: the driving direction information of the vehicle according to the navigation track, the azimuth information measured by a compass in the vehicle, or the steering information fed back by an electric power steering system in the vehicle.
[0164] Those skilled in the art can understand that, in addition to the components shown in the above system, the system can also include other components, such as a satellite positioning module (for determining the latitude and longitude information of the vehicle), a navigation planning module (such as providing a navigation planning route, expected driving time information, driving direction in vehicle driving, etc.), a communication module (for communicating with external devices, such as obtaining the current specific date, time, etc. from external devices), etc. The specific settings can be made according to the actual application scenario, and the embodiments are not limited in this regard. Figure 1 and Figure 8 Those skilled in the art can understand that, in addition to the components shown in the above system, the system can also include other components, such as a satellite positioning module (for determining the latitude and longitude information of the vehicle), a navigation planning module (such as providing a navigation planning route, expected driving time information, driving direction in vehicle driving, etc.), a communication module (for communicating with external devices, such as obtaining the current specific date, time, etc. from external devices), etc. The specific settings can be made according to the actual application scenario, and the embodiments are not limited in this regard.
[0165] The implementation process of the functions and roles of each unit in the above system is specifically described in the implementation process of the corresponding steps in the above method, and will not be repeated here.
[0166] Correspondingly, the embodiments of the present application also provide a vehicle comprising the above-described sunshade device 20 adjusting system.
[0167] It can be understood that the vehicle also includes other components, such as a chassis, a vehicle body, an engine, and electrical equipment. The engine is a power device of the vehicle, used to generate power; the chassis is used to support the engine and the vehicle body, and the chassis can drive the vehicle to move according to the power generated by the engine; the vehicle body is installed on the frame of the chassis, used for the driver, passengers to ride or load goods; the electrical equipment includes a power supply and an electrical device, for example, the power supply includes a storage battery and a generator, and the electrical device includes a starting system of the engine or other electrical devices. Optionally, the vehicle also includes a vehicle-mounted sensor (such as a camera, a laser radar, a millimeter wave radar, an RGBD camera, etc.) for sensing environmental information of the surrounding environment of the vehicle. Optionally, the vehicle also includes an automatic driving system for assisting the driver to drive.
[0168] Correspondingly, the embodiments of the present application also provide a computer program product, comprising a computer program, which is executed by a processor 10 and used to implement the above-described sunshade device 20 adjusting method.
[0169] In an exemplary embodiment, there is also provided a non-transitory computer readable storage medium, for example a memory 30 including instructions, which can be executed by a processor 10 of an apparatus to perform the above method. For example, the non-transitory computer readable storage medium can be a ROM, a random access memory 30 (RAM), a CD-ROM, a magnetic tape, a floppy disc, and an optical data storage device, etc.
[0170] A non-transitory computer readable storage medium, when instructions stored therein are executed by a processor 10 of a terminal, enables the terminal to perform the above method.
[0171] Embodiments of the subject matter and the functional operations described in this specification can be implemented in digital electronic circuitry, in tangibly-embodied computer software or firmware, in computer hardware, including the structures disclosed in this specification and their structural equivalents, or in combinations of one or more of them. Embodiments of the subject matter described in this specification can be implemented as one or more computer programs, i.e., one or more modules of computer program instructions encoded on a tangible non-transitory program carrier for execution by, or to control the operation of, data processing apparatus. Alternatively or in addition, the program instructions can be encoded on an artificially generated propagated signal, e.g., a machine-generated electrical, optical, or electromagnetic signal that is generated to encode information for transmission to suitable receiver apparatus for execution by a data processing apparatus. The computer storage medium can be a machine-readable storage device, a machine-readable storage substrate, a random or serial access memory 30 device, or a combination of one or more of them.
[0172] While this specification contains many specific implementation details, these should not be construed as limitations on the scope of any inventions or of what can be claimed, but as descriptions of features that can be specific to particular embodiments of particular inventions. Certain features that are described in this specification in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination. Moreover, although features can be described above as acting in certain combinations and even initially claimed as such, one or more features from a claimed combination can in some cases be excised from the combination and the claimed combination can be directed to a subcombination or variation of a subcombination.
[0173] Similarly, while operations are depicted in the drawings in a particular order, this should not be understood as requiring such order nor limiting of the claimed subject matter to the illustrated order. One will appreciate that many other operations could be performed or the operations could be performed in a different order. Additionally, certain operations could be performed concurrently or with partial concurrence, particularly operations that are not dependent on each other. Furthermore, not all of the described components can be required, and some components can be combined in a single component, particularly when modified or improved implementations are made available or required.
[0174] Thus, particular embodiments of the subject matter have been described. Other embodiments are within the scope of the following claims. In some cases, actions recited in the claims could be performed in a different order and still achieve desirable results. In addition, the processes depicted in the accompanying figures could be implemented in a different order or concurrently. Additionally, certain operations could be performed concurrently or with partial concurrence.
[0175] The above description is intended to be illustrative and not restrictive. Many other embodiments will be apparent to those of skill in the art upon reviewing the above description. The scope of the claims should, therefore, be determined not with reference to the above description, but should instead be given its broadest interpretation consistent with the principles and concepts disclosed herein.
Claims
1. A method of adjusting a light blocking device, characterized by, The method is applied to a vehicle, the vehicle comprising a windshield arranged in front of a driver seat and a sunshade device corresponding to the windshield, and the method comprising: determining a solar elevation angle and a solar azimuth angle by using time information and vehicle position information; determining a relative azimuth angle between the sun and the vehicle according to vehicle orientation information and the solar azimuth angle; acquiring a target elevation angle and a target relative azimuth angle range, the target elevation angle and the target relative azimuth angle range being determined according to a relative relationship between the driver's eyes and the windshield, and the target elevation angle and the target relative azimuth angle range being used to indicate sunlight capable of irradiating the driver's eyes; adjusting the sunshade device if the solar elevation angle is less than the target elevation angle and the relative azimuth angle is within the target relative azimuth angle range. The sunshade device comprises a sun visor and a second driving motor for driving the sun visor, the time information indicates a time after a preset time length from a current time, and the vehicle position information indicates a vehicle position after the preset time length, which is determined according to a navigation track and a planned vehicle speed of the vehicle. The adjusting of the sunshade device comprises: determining an incident light ray capable of irradiating a first target position according to the driver's eye position and the solar elevation angle, the first target position being a position below the driver's eyes; determining a second target position of the sun visor according to an intersection of the incident light ray and a moving track of the sun visor; determining a rotating speed of the second driving motor according to a difference between a current position of the sun visor and the second target position and the preset time length, and driving the second driving motor at the rotating speed from the current time so that the sun visor is adjusted to the second target position after the preset time length.
2. The method of claim 1, wherein: if the vehicle is running on a flat ground, the solar elevation angle is determined by using the time information and the vehicle position information; if the vehicle is running on a non-flat ground, the solar elevation angle is an initial solar elevation angle determined by using the time information and the vehicle position information minus a slope corresponding to the non-flat ground; wherein the slope corresponding to the non-flat ground is determined according to at least one of the following information: motion data collected by an inertial measurement unit of the vehicle, ground inclination information identified from an image collected by a camera of the vehicle, or navigation information of the vehicle.
3. The method of claim 1, wherein, The determination of the target elevation angle comprises the following steps: acquiring a height difference between the driver's eyes and an upper edge of the windshield, and a first horizontal distance between the upper edge of the windshield and the driver's eyes; the upper edge of the windshield being in contact with a roof of the vehicle; performing an inverse trigonometric function operation according to the height difference and the first horizontal distance to determine the target elevation angle.
4. The method of claim 1, wherein, The determination of the target relative azimuth angle range comprises the following steps: determining a distance between the driver's eyes and the windshield, a second horizontal distance between the driver's eyes and a connection between the windshield and one of vehicle A pillars, and a third horizontal distance between the driver's eyes and a connection between the windshield and another vehicle A pillar; Performing inverse trigonometric function operation according to the distance and the second horizontal distance, and performing inverse trigonometric function operation according to the distance and the third horizontal distance, to determine the upper limit and the lower limit in the target relative azimuth angle range.
5. The method according to claim 3 or 4, characterized in that, The distance of the driver's eyes to each part of the vehicle is determined according to the driver's eye position and the position of each part of the vehicle; The driver's eye position is determined by the following steps: According to the height information of the driver and the proportion information corresponding to different heights, the upper body height of the driver in a sitting posture is determined. According to the upper body height and the position information of the driver's seat, the driver's eye position is determined. Alternatively, the vehicle comprises a depth camera; the depth image collected by the depth camera comprises the driver's eyes and at least part of the vehicle interior; The driver's eye position is determined by the following steps: The relative position relationship between the driver's eyes and the vehicle interior is determined by using the depth image; The driver's eye position is determined based on the relative position relationship and the pre-determined position information of the vehicle interior.
6. The method of claim 5, wherein, The vehicle interior comprises a driver's seat; the vehicle comprises a first drive motor for adjusting the position of the driver's seat; The position information of the driver's seat is determined according to the initial position information of the driver's seat and the driving information of the first drive motor; wherein the initial position information indicates the position information of the driver's seat before being adjusted by the first drive motor.
7. The method of claim 1, wherein, The distance between the first target position and the driver's eye position determined based on the height information of the driver is greater than the distance between the first target position and the driver's eye position determined based on the depth image.
8. The method of claim 1, wherein: The driving of the second drive motor further comprises: After the preset time period, driving the second drive motor to adjust the sun visor to the second target position.
9. The method of claim 1, wherein, The light shielding device comprises glass capable of changing light transmittance arranged on the vehicle window, and the glass comprises a plurality of independently controlled areas divided in the horizontal direction; The adjusting of the light shielding device comprises: According to the driver's eye position and the solar elevation angle, the incident light rays capable of irradiating the first target position are determined; the first target position is a position below the driver's eyes; According to the intersection of the incident light rays and the glass, the light transmittance of one or more target areas between the intersection and the roof is reduced.
10. The method of claim 1, wherein, The determination of the solar elevation angle and the solar azimuth angle by using the time information and the vehicle position information comprises: In response to a change in the solar elevation angle, the solar elevation angle and the solar azimuth angle are determined according to the current time and the current vehicle position; and / or The vehicle comprises a light sensor; the determination of the solar elevation angle and the solar azimuth angle by using the time information and the vehicle position information comprises: If the light sensor detects the presence of sunlight, the solar elevation angle and the solar azimuth angle are determined by using the time information and the vehicle position information; and / or The orientation information of the vehicle is determined according to at least one of the following: driving direction information of the vehicle according to a navigation track, azimuth information measured by a compass in the vehicle, or steering information fed back by an electric power steering system in the vehicle.
11. A shade device adjustment system, comprising: The system comprises a shading device, a processor and executable instructions stored on a memory and executable on the processor; The processor executes the executable instructions to implement the steps in the method of any one of claims 1 to 10.
12. A vehicle characterized by comprising: The system comprises a shading device, a processor and executable instructions stored on a memory and executable on the processor; 13. A computer-readable storage medium, characterized in that, The processor executes the executable instructions to implement the steps in the method of any one of claims 1 to 10. The system comprises a shading device, a processor and executable instructions stored on a memory and executable on the processor;
Citation Information
Patent Citations
Sun-shading method, device and system for personnel in traffic vehicle and automobile
CN111114252A
A sun shield adjusting method, a sun shield adjusting device and a movable platform
CN111629920A
Automatic shading method and related equipment
CN114333043A