Opening and closing control method and device of sun shield, electronic equipment and storage medium
By automatically adjusting the angle and transmittance of the sun visor, the problem of poor sun visor adjustment effect in the existing technology is solved, the user experience and driving safety are improved, and it adapts to different driving scenarios and environmental conditions.
Patent Information
- Application Number
- CN202410269258.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-08
- Publication Date
- 2025-09-09
AI Technical Summary
In the prior art, sun visors integrated with HUD systems need to be adjusted manually or according to pre-set passenger preference parameters, resulting in poor adjustment effects and unable to meet the needs of different driving scenarios.
By determining the target scene corresponding to the target vehicle state, the angle range and transmittance of the sun visor are automatically adjusted to adapt to different driving scenarios and environmental conditions, including the use of electrochromic glass materials and sensor technology to adjust the transmittance of the sun visor in real time.
The sun visor can be optimally adjusted in different driving scenarios, which improves the user's viewing effect and driving experience and ensures the stability and safety of the HUD function.
Smart Images

Figure CN120606646A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of head-up display technology, and in particular to a method, device, electronic device and storage medium for controlling the opening and closing of a sun visor. Background Art
[0002] In related technologies, integrated HUD (Head-Up Display) systems are widely used in scenarios such as projection driving and in-car entertainment. This HUD system includes an interior sun visor and a HUD device. The HUD device can be integrated with existing equipment in the vehicle, for example, on the side of or above the interior sun visor. The sun visor can be closed and opened, and its initial state is generally closed. After switching to the open state, the HUD device imaging can be performed through the sun visor.
[0003] However, in related technologies, the sun visor needs to be adjusted manually or according to pre-set passenger preference parameters. These adjustment methods are relatively simple and cannot achieve a better adjustment effect.
[0004] There is currently no effective solution to the above-mentioned problems in related technologies. Summary of the Invention
[0005] The purpose of the embodiments of the present disclosure is to provide a method, device, electronic device and storage medium for controlling the opening and closing of a sun visor, so as to solve the problem in the related art that a sun visor integrated with a head-up display system can only be adjusted manually or adjusted according to pre-set passenger preference parameters, resulting in poor adjustment effect.
[0006] In order to solve the above technical problems, the embodiments of the present disclosure adopt the following technical solutions:
[0007] According to one embodiment of the present disclosure, a method for controlling the opening and closing of a sun visor is provided, comprising: determining a target scene corresponding to the state of a target vehicle; determining a target angle range corresponding to the target scene; and controlling a target sun visor in the target vehicle to open and close within the target angle range, wherein the target sun visor is used to reflect and form image light emitted by a head-up display device.
[0008] According to another embodiment of the present disclosure, a method for adjusting the transmittance of a sun visor is also provided, including: obtaining target driving information of a target vehicle, target environmental information of the environment in which the target vehicle is located, and target state information of the target object; and adjusting the transmittance of the sun visor based on the target driving information, the target environmental information, and the target state information.
[0009] According to another embodiment of the present disclosure, a sun visor opening and closing control device is provided, including: a first determination module for determining a target scene corresponding to the state of a target vehicle; a second determination module for determining a target angle range corresponding to the target scene; and a control module for controlling the target sun visor in the target vehicle to open and close within the target angle range, wherein the target sun visor is used to reflect and form image light emitted by a head-up display device.
[0010] According to another embodiment of the present disclosure, a transmittance adjustment device for a sun visor is provided, including: a first acquisition module for acquiring target driving information of a target vehicle, target environmental information of the environment in which the target vehicle is located, and target state information of a target object; a first adjustment module for adjusting the transmittance of the sun visor based on the target driving information, the target environmental information, and the target state information.
[0011] According to another embodiment of the present disclosure, an electronic device is provided, comprising at least a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps of the above method when executing the computer program in the memory.
[0012] The electronic devices of the embodiments of the present disclosure may include but are not limited to fixed terminal devices such as servers, desktop computers, digital TVs, etc., as well as mobile terminal devices such as vehicle-mounted devices (such as head-up display devices), handheld devices (such as mobile phones, tablets, etc.), wearable devices (such as smart watches, smart bracelets, etc.), etc.
[0013] According to another embodiment of the present disclosure, a computer-readable storage medium is provided, wherein the computer-readable medium stores a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.
[0014] The method for controlling the opening and closing of the sun visor provided in the embodiment of the present disclosure can determine the adjustable range of the sun visor according to the changes in the target scene in which the vehicle is located, and then adjust the angle of the sun visor within the adjustable range. Therefore, it can solve the problem in the related art that the sun visor can only be adjusted manually, or is adjusted according to pre-set passenger preference parameters, resulting in poor adjustment effect, thereby achieving the effect of improving the viewing effect of the object and enhancing the object experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments recorded in the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0016] Figure 1 This is a flow chart of a method for controlling the opening and closing of a sun visor according to an embodiment of the present disclosure;
[0017] Figure 2 Schematic diagram of the opening and closing state change of the sun visor in the embodiment of the present disclosure Figure 1 ;
[0018] Figure 3 Schematic diagram of the opening and closing state change of the sun visor in the embodiment of the present disclosure Figure 2 ;
[0019] Figure 4 Schematic diagram of the opening and closing state change of the sun visor in the embodiment of the present disclosure Figure 3 ;
[0020] Figure 5 This is a flow chart of a method for adjusting the light transmittance of a sun visor according to an embodiment of the present disclosure;
[0021] Figure 6 is a schematic diagram of a method for controlling the opening and closing of a sun visor according to an embodiment of the present disclosure;
[0022] Figure 7 This is a structural block diagram of the sun visor opening and closing control device according to an embodiment of the present disclosure;
[0023] Figure 8 This is a structural block diagram of the transmittance adjustment device of the sun visor according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0024] Various aspects and features of the present disclosure are described herein with reference to the accompanying drawings.
[0025] It should be understood that various modifications may be made to the embodiments disclosed herein. Therefore, the above description should not be considered as limiting, but merely as an example of an embodiment. Other modifications within the scope and spirit of the present disclosure will occur to those skilled in the art.
[0026] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the present disclosure and, together with the general description of the present disclosure given above and the detailed description of the embodiments given below, serve to explain the principles of the present disclosure.
[0027] These and other characteristics of the present disclosure will become apparent from the following description of a preferred form of embodiment given as a non-limiting example with reference to the accompanying drawings.
[0028] It should also be understood that although the present disclosure has been described with reference to certain specific examples, those skilled in the art will be able to realize many other equivalent forms of the present disclosure that have the characteristics recited in the claims and are therefore within the scope of protection defined thereby.
[0029] The above and other aspects, features and advantages of the present disclosure will become more apparent from the following detailed description when taken in conjunction with the accompanying drawings.
[0030] Specific embodiments of the present disclosure will be described hereinafter with reference to the accompanying drawings; however, it should be understood that the claimed embodiments are merely examples of the present disclosure, which may be implemented in a variety of ways. Well-known and / or repetitive functions and structures are not described in detail to avoid obscuring the present disclosure with unnecessary or redundant detail. Therefore, the specific structural and functional details claimed herein are not intended to be limiting, but rather serve merely as a basis and representative basis for teaching those skilled in the art to variously employ the present disclosure with substantially any suitable detailed structure.
[0031] This description may use the phrases "in one embodiment," "in another embodiment," "in a further embodiment," or "in other embodiments," each of which may refer to one or more of the same or different embodiments according to the present disclosure.
[0032] In this embodiment, a method for controlling the opening and closing of a sun visor running on a terminal or a similar device is provided. Figure 1 Flowchart of the sun visor opening and closing control method of the embodiment of the present disclosure, as shown in FIG. Figure 1 As shown, the process includes the following steps:
[0033] Step S102, determining a target scene corresponding to the state of the target vehicle;
[0034] Step S104, determining a target angle range corresponding to the target scene;
[0035] Step S106 , controlling a target sun visor in the target vehicle to open and close within the target angle range, wherein the target sun visor is used to reflect image light emitted by a head-up display device to form an image.
[0036] In the above steps, the target sun visor installation location includes but is not limited to: the front windshield, the roof, the side windows, the side windows of the rear seat, etc. Exemplarily, before determining the target scene corresponding to the state of the target vehicle, the method further includes: determining that a target object is seated on the target seat, wherein the method for determining that the target object is seated on the target seat includes but is not limited to: determining by visual recognition technology, using a camera or sensor to capture an image of the target seat, and then using an image recognition algorithm to detect whether the target object is seated on the target seat; determining by seat sensor, using a pressure sensor or weight sensor installed on the target seat to determine whether the target object is seated on the target seat; determining by infrared sensor, using an infrared sensor to detect whether there is heat on the target seat, thereby determining whether the target object is seated on the target seat, etc.
[0037] In the above embodiment, after the target object gets on the vehicle and starts the target vehicle, the target sun visor automatically opens; after the target object gets off the vehicle and turns off the target vehicle, the target sun visor automatically closes; after the target object adjusts his sitting posture and the head-up display system automatically adjusts in conjunction, the target sun visor unfolds to a certain angle to allow the target object to see the HUD virtual image through the target sun visor. Figure 2 Schematic diagram of the opening and closing state change of the sun visor in the embodiment of the present disclosure Figure 1 ,like Figure 2 As shown, the target sun visor can be opened to the target opening and closing angle within the target angle range corresponding to the target scene around an automatic rotating shaft (for example, the rotating shaft is located at the top of the sun visor, the center line of the sun visor, or a position between the top of the sun visor and the center line of the sun visor, etc.). When the target object has different heights, different sitting postures, different seat heights, etc., the eye box height can be made different by adjusting the opening and closing angles of the sun visor, and the eye box height can be dynamically adjusted as the target object's height, sitting posture, and seat height change. The vehicle status perception system can identify the vehicle's start-up and shutdown status; it can identify the target object's boarding / exiting status through methods such as camera face recognition and seat sensors, thereby automatically opening and closing the HUD display panel (i.e., the sun visor); it tracks the position of the human eyes through the eye tracking sensor, calculates the opening and closing angle of the HUD display panel (i.e., the target opening and closing angle), and controls the sun visor to open to the target opening and closing angle. Since the opening and closing angle of the sun visor will affect the eye box position, after the opening and closing angle of the sun visor is adjusted, the adjusted eye box position can cover the position of the human eye, and in real time, the HUD display panel angle and the virtual image display height are adjusted according to factors such as the target object's seat height, sitting posture adjustment, and vehicle status to ensure that the human eye can observe the best and complete display picture.
[0038] Through the above steps, since the adjustable range of the sun visor can be determined according to the changes in the target scene in which the vehicle is located, and the angle of the sun visor can be adjusted within the adjustable range, it is possible to solve the problem in the related art that the sun visor can only be adjusted manually, or adjusted according to pre-set passenger preference parameters, resulting in poor adjustment effect, thereby achieving the effect of improving the viewing effect of the object and enhancing the object experience.
[0039] In an optional embodiment, determining the target scene corresponding to the state of the target vehicle includes: obtaining the driving speed of the target vehicle; when it is determined that the driving speed is greater than 0, determining the current driving type of the target vehicle, and determining the target scene based on the current driving type; when it is determined that the driving speed is equal to 0, determining the parking position of the target vehicle, and determining the target scene based on the parking position.
[0040] In the above steps, the current driving type of the target vehicle includes but is not limited to: automatic driving, manual driving, etc.
[0041] In an optional embodiment, determining the target scene based on the current driving type includes: when the driving type is manual driving, determining the target scene as a first type of scene, wherein, in the first type of scene, the content displayed by the head-up display device needs to be integrated with the real environment in which the target vehicle is located; when the driving type is automatic driving, determining the target scene as a second type of scene, wherein, in the second type of scene, the content displayed by the head-up display device does not need to be integrated with the real environment in which the target vehicle is located.
[0042] In the above steps, for manual driving, integrating the content displayed on the target sun visor with the driving scene of the target vehicle can help the target object better perceive the surrounding environment and traffic conditions. Determining the target scene according to the driving type can better meet the needs of the target object and improve driving experience and safety.
[0043] In an optional embodiment, determining the target scene based on the parking position includes: when the parking position is a target parking space or a parking lot, determining the target scene as a second type of scene, wherein, in the second type of scene, the content displayed by the head-up display device does not need to be integrated with the real environment in which the target vehicle is located.
[0044] In an optional embodiment, before determining the target angle range corresponding to the target scene, the method further includes: determining the content displayed by the head-up display device; when the content displayed by the head-up display device includes target type information, determining that the target scene in which the target vehicle is located is a first type of scene, wherein, in the first type of scene, the content displayed by the head-up display device needs to be integrated with the real environment in which the target vehicle is located; when the content displayed by the head-up display device does not include the target type information, determining that the target scene in which the target vehicle is located is a second type of scene, wherein, in the second type of scene, the content displayed by the head-up display device does not need to be integrated with the real environment in which the target vehicle is located; wherein, the target type information is information integrated with the driving scene.
[0045] In an optional embodiment, determining the target angle range corresponding to the target scene includes: when the target scene is a first type of scene, determining the target angle range to be a first angle range, wherein, in the first type of scene, the content displayed by the head-up display device needs to be integrated with the real environment in which the target vehicle is located; when the target scene is a second type of scene, determining the target angle range to be a second angle range, wherein, in the second type of scene, the content displayed by the head-up display device does not need to be integrated with the real environment in which the target vehicle is located; wherein, the first angle range is smaller than the second angle range.
[0046] In the above steps, in the first type of scenario, the first angle range is smaller, which can ensure that the picture displayed by the sun visor can be integrated with the current scene; in the second type of scenario, the second angle range is larger, which can meet the user's personalized needs (for example, playing movies, video conferencing, etc.) and improve comfort.
[0047] The first angle range is smaller than the second angle range, that is, the maximum value in the first angle range is smaller than the maximum value in the second angle range.
[0048] In an optional embodiment, the target object can also manually adjust the display panel angle and the height of the virtual image through the control interface inside the vehicle or interactive methods such as voice. The target object can customize the HUD virtual image height (or, display panel angle) according to personal preferences. Through ID binding, face recognition, iris recognition and other technologies, the system will automatically adjust according to the memory function combined with the last setting. Optionally, a HUD virtual image height, display panel angle setting option or shortcut can be added to the vehicle's central control system. The setting can be an absolute height value (for example, the vertical distance from the ground to the virtual image) or a relative height value (for example, the vertical distance from the target object's eye position to the virtual image) and the display panel flip angle.
[0049] In an optional embodiment, controlling the sun visor to open and close within the target angle range includes: obtaining position information of the target object's eyes; determining a target opening and closing angle of the sun visor within the target angle range based on the position information of the target object's eyes; and controlling the sun visor to open to the target opening and closing angle so that the target object's eyes are within the eye box range.
[0050] In an optional embodiment, obtaining the position information of the target object's eyes includes: under a first condition, obtaining the position information of the target object's eyes, wherein the first condition includes at least one of the following: detecting that the amplitude of the position deviation of the target object's eyes exceeds a first threshold; detecting that the duration of the position deviation of the target object's eyes exceeds a second threshold; detecting that the position of the target seat changes; detecting that the position of the rearview mirror of the target vehicle changes; detecting that the position of the steering wheel of the target vehicle changes.
[0051] In the above steps, the first threshold value includes but is not limited to: a first threshold value for the target object to be offset in the front-to-back direction, a first threshold value for the target object to be offset in the up-down direction, and a first threshold value for the target object to be offset in the left-to-right direction. The first threshold value can be set according to different actual scenarios and target vehicle models. The first threshold value includes but is not limited to: 3 seconds, 5 seconds, etc. The second threshold value can be set according to different actual scenarios. The target seat includes but is not limited to: a seat in the main driver's seat. In the case where the angle of the sun visor cannot be adjusted to make the eyes fall within the eye box range based on the current eye position (for example, the person deliberately lies down, or lowers or raises the head significantly), the opening and closing angle of the sun visor can be adjusted to the limit value within the current angle range to minimize the distance between the target object's eyes and the eye box range.
[0052] In an optional embodiment, obtaining the position information of the target object's eyes includes: obtaining first position information of the target object's eyes in a coordinate system of a target dimension; based on the position information of the target object's eyes, determining the target opening and closing angle of the sun visor within the target angle range includes: based on the first position information, determining the target opening and closing angle of the sun visor within the target angle range; wherein, the coordinate system of the target dimension includes one of the following: a one-dimensional coordinate system, a two-dimensional coordinate system, and a three-dimensional coordinate system.
[0053] In some embodiments, the sun visor has two rotation axes, and the sun visor rotates around the first rotation axis, that is, the sun visor rotates back and forth, for example, Figure 2 The sun visor shown is rotated around the first rotation axis to an angle α; the sun visor is rotated around the second rotation axis, that is, the sun visor rotates left and right.
[0054] For example, when the eye height changes, the eye position of the target object obtained is the eye height (X-axis coordinate), and the determined target opening and closing angle is the angle of forward and backward rotation, and the sun visor is controlled to automatically rotate around the first rotation axis to the target opening and closing angle. Figure 3 Schematic diagram of the opening and closing state change of the sun visor in the embodiment of the present disclosure Figure 2 .
[0055] When the left and right positions of the eyes change, the eye position of the target object obtained is the position of the eyes in the left and right directions (Z-axis coordinate), and the determined target opening and closing angle is the angle of left and right rotation, and the sun visor is controlled to automatically rotate around the second rotation axis to the target opening and closing angle.
[0056] When the height and left and right of the eyes change, the eye position of the target object obtained is the position of the eyes in the height direction and the left and right direction (X-axis coordinate and Z-axis coordinate), and the determined target opening and closing angles include the first target opening and closing angle (the angle for front and back rotation) and the second opening and closing angle (the angle for left and right rotation). The sun visor is controlled to automatically rotate around the first rotation axis to the first target opening and closing angle, and the sun visor is controlled to automatically rotate around the second rotation axis to the second target opening and closing angle.
[0057] When the eye height, left and right, front and back all change, the eye position of the target object obtained is the X-axis coordinate, Y-axis coordinate (the position of the eye in the front and back direction) and Z-axis coordinate, and the determined target opening and closing angles include the first target opening and closing angle (the angle for front and back rotation) and the second opening and closing angle (the angle for left and right rotation), and the sun visor is controlled to automatically rotate around the first rotation axis to the first target opening and closing angle, and the sun visor is controlled to automatically rotate around the second rotation axis to the second target opening and closing angle.
[0058] The following is an exemplary description of how the present disclosure controls the sun visor to open to the target opening and closing angle in conjunction with a specific embodiment:
[0059] Step 1: Automatically open and close the HUD display panel (i.e., the aforementioned target sun visor) based on whether the driver starts or shuts down the vehicle;
[0060] Step 2: The display panel opening and closing angle, virtual image display screen height and other related hardware are linked and adjusted in real time.
[0061] In an optional embodiment, when the target object is the driver of a target vehicle, when the amplitude of the target object's eye position deviation is detected to exceed a first threshold, or the duration of the target object's eye position deviation is detected to exceed a second threshold, or the amplitude of the target object's eye position deviation is detected to exceed the first threshold and the duration of the target object's eye position deviation is detected to exceed the second threshold, the position of the target vehicle's rearview mirror and steering wheel is adjusted according to the target object's eye position information, such as adjusting the rotation angle of the left and right rearview mirrors, adjusting the distance between the steering wheel and the user, etc.
[0062] In the above steps, the system can obtain the vehicle's start or shutdown status in real time via the vehicle's CAN bus or other applicable communication method. When the vehicle is started, the system receives a start signal; when the vehicle is shut down, the system receives a shutdown signal. When the system receives the vehicle start signal, i.e., it determines that the driver has entered the vehicle, the system automatically opens the cockpit sun visor through a control device, putting it into operation. When the system receives the vehicle shutdown signal, i.e., it determines that the driver has exited the vehicle, the system automatically retracts the sun visor to protect the device and provide more space. During driving, the system continuously monitors the vehicle's status to prevent misoperation. If the system misjudges the vehicle's status, for example, if the vehicle is started but the driver has not entered, the system will not trigger the automatic opening and closing of the cockpit sun visor. Optionally, the sun visor can be automatically opened and closed by using a sensor or camera to detect the driver's entry and exit. For example, a proximity sensor installed near the driver's seat or a front-mounted camera can be used to detect the driver's entry and exit or identify the driver's status. The HUD device has an integrated opening and closing mechanism to control the opening and closing of the sun visor. Optionally, a driver status sensor can be used to predict, determine, and monitor in real time the driver's entry and exit movements based on the distance between the driver and the vehicle. When the driver approaches the vehicle, the sensor triggers a signal, and the vehicle system, based on the sensor signal, triggers the opening and closing mechanism within the HUD. When the driver enters and starts the vehicle, the sun visor automatically deploys to allow the driver to see the virtual image; when the driver exits, the sun visor automatically closes to avoid obstructing the driver's view. Optionally, the sun visor can be opened or closed using other methods, such as buttons or voice commands.
[0063] In the above steps, a high-precision eye-tracking sensor is installed between the driver's seat and the sun visor to monitor the driver's eye position in real time. The driver's seat height and sitting posture can be detected using integrated seat height and sitting posture sensors. A camera or infrared sensor can also be used to identify the driver's physical characteristics (e.g., head position, height, etc.). Simultaneously, vehicle sensors can be used to obtain vehicle driving status information (e.g., speed, acceleration, etc.). The HUD height (or display panel angle) adjustment system integrates an automatic display screen height (or display panel angle) adjustment function, which can automatically adjust based on eye-tracking data. When the driver enters or exits the vehicle or adjusts their seat height or sitting posture, the system uses the eye-tracking sensor to obtain the driver's eye position in real time. The display panel (i.e., the aforementioned sun visor) angle adjustment is linked to the adjustment of the seat, rearview mirrors, steering wheel, and other equipment. When the driver adjusts their seat height or changes their sitting posture, the height of the HUD virtual image (or, display panel angle) is automatically adjusted to maintain optimal eye-box alignment. Changes in the display panel angle cause changes in the screen height, i.e., the downward viewing angle.
[0064] Exemplarily, the target opening and closing angle can be determined based on the target angle range and eye position information. For example, the target opening and closing angle can be determined directly based on the correspondence between the eye position and the opening and closing angle within the target angle range. Exemplarily, the opening and closing angle can be determined by using a mathematical model, such as polynomial fitting, or by training a machine learning model based on experimental data, and using the trained machine learning model, wherein the opening and closing angles determined in the first angle range and the second angle range are different.
[0065] In each embodiment of the present disclosure, the image light emitted by the head-up display device HUD is reflected by the target sun visor and then incident on the eye box range. When the user's eyes are located within the eye box range, the user can view the virtual image (or virtual image screen, HUD display screen, etc.) presented in front of the sun visor. Figure 4 Schematic diagram of the opening and closing state change of the sun visor in the embodiment of the present disclosure Figure 3 ,like Figure 4 As shown, during automatic opening, the display panel (i.e., the aforementioned sun visor) is first set to a preset opening angle. This angle ensures that the driver's line of sight is aligned with the center of the display panel, ensuring that the virtual image is complete. Based on this, the image height is fine-tuned. If the driver's line of sight changes slightly during driving, the display panel is fine-tuned to adjust the HUD eyebox position, ensuring that the entire virtual image is visible through the display panel. The combined display height ensures optimal display quality. Adjusting the sun visor's opening and closing angle adjusts the virtual image's lower viewing angle, or height. The lower viewing angle refers to the angle ∠BAC between a horizontal line AB passing through the eyebox center and a line AC connecting the eyebox center and the virtual image center. Changing the lower viewing angle changes the virtual image's height. When the virtual image center is below the eyebox center, the lower viewing angle is negative; when it is above the eyebox center, the lower viewing angle is positive, also referred to as the upper viewing angle. The opening and closing mechanism utilizes a smooth opening and closing mechanism to ensure the opening and closing process does not affect the driver's experience. When adjusting the HUD virtual image height (or display panel angle), the system uses a smooth transition to avoid sudden changes that may cause driver discomfort. Optionally, in some cases, the driver can also manually control the opening and closing of the sun visor to meet specific needs.
[0066] In the related art, the HUD device in the integrated HUD system is placed on the roof of the car, and the HUD device is imaged through the sun visor. However, the transmittance of the sun visor cannot be adjusted, and it cannot adapt to different driving scenarios, and even has a serious impact on driving safety. For the above problems, there is no suitable solution in the related art.
[0067] This embodiment provides a method for adjusting the light transmittance of a sun visor running on a terminal or similar device, which can solve the above-mentioned problems existing in the related art. Figure 5 Flowchart of the method for adjusting the light transmittance of the sun visor according to the embodiment of the present disclosure, as shown in FIG. Figure 5 As shown, the process includes the following steps:
[0068] Step S502, acquiring target driving information of a target vehicle, target environment information of an environment in which the target vehicle is located, and target state information of a target object;
[0069] Step S504: adjusting the light transmittance of the sun visor based on the target driving information, the target environment information, and the target state information.
[0070] In the above steps, the material of the sun visor includes, but is not limited to, an electrochromic glass material (including, but not limited to, inorganic oxide electrochromic materials, polymer electrochromic materials, etc.), which can achieve reversible color and transmittance changes under the action of an electric field. The electrochromic glass material is applied to the glass panel of the target sun visor of the HUD system to form the electrochromic glass sun visor. The target driving information includes but is not limited to vehicle status information such as speed, acceleration, and vehicle direction; the target environmental information includes but is not limited to driving environment (e.g., highway, parking lot, tunnel, etc.), lighting conditions (day, night, etc.), ambient light intensity, weather (foggy, rainy, snowy, etc.), etc.; illustratively, when the target object is using the HUD, the sun visor automatically adjusts the light transmittance according to the road conditions and ambient light. For example, when the sun is shining during the day, the target sun visor reduces the light transmittance to reduce direct sunlight, ensuring that the information displayed on the HUD is clearly visible and not interfered with by the sun; at night or on cloudy days, the target sun visor appropriately increases the light transmittance to avoid the content information displayed on the HUD being too bright and affecting the Target object vision. At the same time, when the intelligent driving assistance function (for example, adaptive cruise control, lane keeping, etc.) is enabled, the target sun visor automatically adjusts the local transmittance. The target object can also manually control the overall and local brightness of the target sun visor, the control of the HUD screen mode, the scaling of the HUD interface elements, etc. based on voice, gesture, and mobile phone connection; the target sun visor can also be adjusted to a completely opaque state to provide privacy protection when needed to prevent outsiders from peeping into the car; the target sun visor can also partially display a virtual makeup mirror, and through high-resolution display technology, based on a high-definition camera arranged in the target object's cockpit or the co-pilot's cockpit, present the facial images of the target object and other passengers in real time. The target state information of the target object includes but is not limited to: the state information of the target object (i.e., the driver or the passenger), for example, the body state data of the target object (for example, the angle of inclination of the target object's body, the opening and closing of the target object's eyes, the position of the target object's hands, etc. For example, when the target object's eyes are open, the angle between the upper part of the body and the vertical direction is greater than 20 degrees, and the hands are not placed on the steering wheel, the target object may be resting or have a need to watch a movie; when the target object's eyes are open, the angle between the upper part of the body and the vertical direction is about 5 degrees, and the hands are placed on the steering wheel, the target object may have a need to drive. In the above embodiment, for example, a variety of sensors (including but not limited to: light sensors, cameras, temperature sensors, weather sensors, vehicle sensors, etc.) can be integrated into the vehicle, and the various sensors are used to collect data about the environment, light conditions, vehicle status and the behavior of the target object.The data obtained from the sensor is collected and processed in real time (including but not limited to: calculating the sun altitude angle, light intensity, the eye position of the target object, the vehicle's direction of travel, the vehicle's speed, etc.).
[0071] Through the above steps, since environmental information can be obtained and the transmittance of the sun visor can be adjusted based on the environmental information combined with the target driving information and the target state information, the problem of reduced safety caused by the loss of the sun visor function when the HUD function is realized in the related art can be solved, thereby achieving the effect of taking into account both the HUD function and the sun shading needs.
[0072] In an optional embodiment, the sun visor includes a first area and a second area, the first area is used for shading, and the second area is used for reflecting and imaging the image light emitted by the head-up display device, wherein adjusting the transmittance of the sun visor based on the target driving information, the target environmental information and the target state information includes: adjusting the transmittance of the first area and the second area based on the target driving information, the target environmental information and the target state information.
[0073] In the above steps, the sun visor can be divided into zones including, but not limited to, upper and lower zones, left and right zones, etc. Optionally, the number of zones is not limited to two, and can be flexibly configured based on the location of the HUD system and the needs within the vehicle to achieve more precise divisions. Optionally, the HUD system also includes a user interface that allows the subject to manually adjust the light transmittance of the entire or a portion of the target sun visor as needed to achieve optimal sunshade and HUD display effects.
[0074] In an optional embodiment, adjusting the transmittance of the sun visor based on the target driving information, the target environmental information and the target state information includes: inputting the target driving information, the target environmental information and the target state information into a target neural network model, obtaining a target transmittance control instruction output by the target neural network model, wherein the target neural network model is a pre-trained model with the ability to predict transmittance control instructions; when the target transmittance control instruction is used to indicate turning on the transmittance adjustment function, adjusting the transmittance of the sun visor based on the light intensity of the environment in which the target vehicle is currently located.
[0075] In the above embodiment, the behavior of the target object can be predicted by associating the behavior of the target object with the sensor data using a machine learning model (including but not limited to: deep learning neural network). For example, when the sun is glaring, the target object may consider opening the sun visor. The HUD system can communicate with the target object in a two-way manner to ensure that the target object has ultimate control over the automatic decision-making. The establishment of the machine learning model needs to be based on pre-training of the behavior of the target object and then imported into the HUD system.
[0076] In an optional embodiment, adjusting the transmittance of the sun visor based on the current light intensity irradiating the target vehicle includes: adjusting the transmittance of the first area to a preset value, and adjusting the transmittance of the second area to a target transmittance corresponding to the current light intensity irradiating the target vehicle according to a pre-configured correspondence between light intensity and transmittance.
[0077] In an optional embodiment, after adjusting the transmittance of the sun visor based on the light intensity of the current environment of the target vehicle, the method further includes at least one of the following: adjusting the brightness of the image source output in the head-up display device based on the adjusted transmittance, so that the contrast between the virtual image formed by the sun visor reflecting the image light emitted by the head-up display device and the real environment of the target vehicle transmitted by the sun visor is less than a third threshold value; calibrating and compensating the color value of the image source output in the head-up display device based on the adjusted transmittance, so that the display color of the virtual image formed by the sun visor reflecting the image light emitted by the head-up display device meets certain conditions.
[0078] In the above steps, in order to ensure the display effect of the target sun visor image, some image corrections will be performed, including but not limited to: adjusting the brightness of the image source output in the HUD device, adjusting the color value of the image source output, or adjusting the brightness of the image source output in the HUD device and adjusting the color value of the image source output, etc.
[0079] For example, when the transmittance of the target visor decreases (i.e., its color darkens), the background brightness of the HUD virtual image gradually decreases. However, the contrast of the HUD virtual image relative to the background increases, potentially leading to a risk of high-brightness glare. To ensure HUD readability and safety, the HUD system needs to reduce the brightness of the HUD image source accordingly. When the transmittance of the target visor decreases, the system automatically reduces the brightness of the HUD image source to ensure consistent virtual image-environment contrast under various backgrounds. This coordinated adjustment ensures stable HUD display at different transmittances, thereby providing a better user experience. In some embodiments, multiple brightness sensors (e.g., photoresistors, photodiodes, CCD cameras, CMOS cameras, photometers, etc.) are arranged on the target object side of the target visor. The background brightness transmitted through the electrochromic glass (i.e., the target visor) is calculated based on the values from the multiple sensors. The output brightness of the image source can be adjusted as follows: brightness change rate = electrochromic transmittance brightness before change / electrochromic transmittance brightness after change; brightness change value = image source backlight brightness before change × brightness change rate. It should be noted that the image source includes a display panel (such as a liquid crystal display panel) and a backlight source, and the backlight source provides backlight to the display panel.
[0080] In some embodiments, the color output of the HUD display is automatically adjusted according to the change in transmittance of the electrochromic glass. That is, by real-time monitoring of the transmittance of the electrochromic glass and the ambient light conditions, the system can dynamically calibrate the output of the RGB image source to maintain color accuracy and consistency. Specifically, the gain of each color channel of the image source can be adjusted to change the color (wherein, after changing the backlight brightness, there may be color distortion, which needs to be corrected by an algorithm). Exemplarily, the new red channel value output by the image source = the original red channel value × R gain; the new green channel value = the original green channel value × G gain; the new blue channel value = the original blue channel value × B gain; wherein, R gain, G gain and B gain are gain coefficients determined by correcting the transmittance change. The gain coefficient can be a value greater than 1 (i.e., brightening), or a value greater than 0 and less than 1 (i.e., darkening; the determination of the gain coefficient is based on the results of actual product testing, calibration, and laboratory experiments. By measuring different transmittances, the red, green, blue (and other colors) are adjusted to the same level, for example:
[0081] Set up two HUD systems, with the HUD at 100% light transmittance on the left and the HUD at x% light transmittance on the right.
[0082] 1. Observe the color blocks of red, yellow, green, blue, and other colors defined in 100% transmittance.
[0083] 2. Adjust the color blocks of the same color in the HUD screen at x% transmittance on the right side (e.g. 10-90%) until the subjective color is the same as the left HUD color and record the color value.
[0084] 3. Obtain the corresponding combination of input colors (the colors defined in the first step) and output colors (the colors recorded in the third step) (the input colors should include bright colors, dark colors, saturated colors, and unsaturated colors.)
[0085] 4. Calculate gain: Gain = output color value / input color value
[0086] In some embodiments, the color value of the image source output may be adjusted according to a color correction matrix, which is generally expressed as: output color = correction matrix × input color, for example:
[0087] [R_out]=[M11 M12 M13]×[R_in],
[0088] [G_out]=[M21 M22 M23]×[G_in],
[0089] [B_out]=[M31 M32 M33]×[B_in],
[0090] Each element in the correction matrix, M11, M12, M13, M21, ..., M33, is determined based on changes in transmittance. Each element of the correction matrix is used to adjust each color channel. Experiments determine the output color corresponding to the input color at different transmittances. The least-squares method is used to find the correction matrix parameters that best fit the data, minimizing the difference between the model's predicted color and the target color. For each data point, the difference between the model's predicted color and the target color is calculated, and the squares of these differences are summed to construct a loss function. Numerical optimization algorithms, such as gradient descent or quasi-Newton methods, are used to adjust the correction matrix parameters to minimize the loss function. These algorithms iterate repeatedly until the loss function converges to a minimum, thereby finding the optimal correction matrix parameters. During the iterative process, the correction matrix parameters are continuously updated until the loss function converges to a value close to zero, indicating that the model has well fitted the known data points. After the correction matrix parameters are determined, validation and testing are required. This can be done by using data points not included in the training data to verify the accuracy of the correction model. This validation confirms the effectiveness of the model in correcting color shift or distortion. Finally, the correction matrix can be applied to the actual color data for color correction. The input color is multiplied by the matrix to obtain the corrected color. In the HUD system, if the backlight does not use the TFT-LCD liquid crystal display solution, a multi-channel LED light source can also be used, with each channel corresponding to a basic color (red, green, blue) and a brightness adjustment channel. When the transmittance of the electrochromic glass decreases, the system can reduce the brightness of the corresponding LED channel to compensate for the color distortion, thereby maintaining the vividness and contrast of the picture.
[0091] In the above steps, by ensuring that the contrast between the virtual image and the real environment meets certain conditions and the display color of the virtual image meets certain conditions, the visibility of the head-up display device can be improved, the driver's perception of the head-up display information can be improved, and thus driving safety can be improved.
[0092] In an optional embodiment, adjusting the transmittance of the sun visor based on the brightness of the environment in which the target vehicle is currently located includes: adjusting the transmittance of the sun visor to a transmittance corresponding to the brightness of the environment in which the target vehicle is currently located according to a pre-configured correspondence between the brightness and transmittance of the environment in which the target vehicle is currently located.
[0093] In an optional embodiment, the method further includes: adjusting the light transmittance of the sun visor based on the congestion status of the road on which the target vehicle is currently located or the target content displayed by the head-up display device.
[0094] In the above steps, in congested road conditions, the front field of view may be illuminated by a large number of vehicle taillights, affecting the HUD display. In this scenario, the transmittance of the sun visor can be adjusted to (50% to 70%) or the red light filtering mode can be turned on to achieve the effect of enhancing the HUD display.
[0095] In an optional embodiment, adjusting the transmittance of the sun visor based on the current congestion state of the road on which the target vehicle is located includes: determining the current congestion state based on the vehicle density on the road on which the target vehicle is located, or determining the current congestion state based on the driving speed of the target vehicle; and adjusting the transmittance of the sun visor to a transmittance corresponding to the current congestion state according to a pre-configured correspondence between the congestion state and the transmittance.
[0096] In an optional embodiment, adjusting the transmittance of the sun visor based on the target content displayed by the head-up display device includes: when the target content includes target type information, adjusting the transmittance of the sun visor to a first transmittance; when the target content does not include the target type information, adjusting the transmittance of the sun visor to a second transmittance; wherein the first transmittance is higher than the second transmittance.
[0097] In the above steps, the target content includes but is not limited to: movies, games and other content.
[0098] In an optional embodiment, the method of adjusting the transmittance of the sun visor based on the target content displayed by the head-up display device includes but is not limited to: in a movie viewing scene, when the target object expresses the need to watch a movie through interaction with the HUD system, the target content is a movie, and the transmittance of the sun visor is reduced to a minimum to ensure the display effect and immersive experience of watching the movie; in game mode, when the target object expresses the need to play a game through interaction with the HUD system, the target content is a game, and the HUD system adjusts in different ways according to different game needs, for example: when the target object plays an AR real-scene fusion game, the transmittance is automatically adjusted to the highest transmittance state; when the target object plays an ordinary non-fusion game, similar to the movie viewing mode, the transmittance is reduced to a minimum to ensure the display effect and immersive experience of the game.
[0099] By adjusting the light transmittance according to the target content displayed by the visor, the best display effect can be achieved and the user experience can be improved.
[0100] In an optional embodiment, the method further includes: obtaining target environment information of the target vehicle's environment, wherein the target environment information includes the light intensity of the target vehicle's current environment; and adjusting the transmittance of the sun visor to a preset transmittance when the light intensity of the target vehicle's current environment exceeds a preset intensity threshold. For example, before adjusting the transmittance of the sun visor based on the target driving information, the target environment information, and the target state information, upon determining that the light intensity of the target vehicle's current environment exceeds a preset intensity threshold, adjusting the transmittance of the sun visor to a preset transmittance of 50%. Exemplarily, on a sunny day, when a white vehicle is detected within a predetermined range (e.g., within 30 meters) directly ahead based on lidar and / or camera information, and the ambient light intensity exceeds the preset intensity threshold, the transmittance of the target sun visor is rapidly reduced to a predetermined value (e.g., 50% of the original transmittance) to ensure that the image of the target sun visor does not lose display quality when superimposed on the white vehicle scene ahead, thereby ensuring user experience.
[0101] In an optional embodiment, adjusting the transmittance of the sun visor based on the target driving information, the target environmental information and the target state information includes: when the light intensity of the environment in which the target vehicle is currently located does not exceed the preset intensity threshold, adjusting the transmittance of the sun visor based on the target driving information, the target environmental information and the target state information.
[0102] In the embodiment of the present disclosure, the transmittance of the sun visor is adjusted based on the light intensity of the current environment of the target vehicle, specifically including: calculating the transmittance of the sun visor according to the following formula:
[0103]
[0104] In the above formula, transmittance is a value between 0% and 100%. When the transmittance is 0%, the sun visor is completely opaque and does not transmit light. When the transmittance is 100%, the sun visor is completely transparent and external light can completely pass through the sun visor. The light intensity is the light intensity of the target vehicle's current environment, for example, the actual light intensity value can be obtained from a light sensor; the minimum light intensity and the maximum light intensity are pre-defined light intensity thresholds used to determine the lower and upper limits of the transmittance; the transmittance adjustment range is the system default value or a value set by the user, such as 50%, 60%, etc.
[0105] The HUD system detects the brightness level of the external environment based on the light sensor and / or camera on the vehicle. The system can automatically and finely adjust the transmittance of the sun visor according to the light intensity (for example, in units of 1%). For example, the minimum light intensity is 1000 Lux, the maximum light intensity is 10,000 Lux, and the transmittance adjustment range is 30%. Then, when the light intensity is 5,000 Lux, the transmittance will be 13% (the middle value), when the light intensity is 1,000 Lux, the transmittance will be 0% (completely opaque), and when the light intensity is 10,000 Lux, the transmittance will be 30%.
[0106] In an optional embodiment, the control method of the HUD system includes but is not limited to:
[0107] 1. Menu control function: The target object can be touched to open a menu, adjust settings, change display mode or access different function options.
[0108] 2. Gesture control function: The target object can use gestures, such as sliding, pinching, zooming, etc., to control specific functions of the HUD screen, similar to the operation of a smartphone.
[0109] 3. Voice Control: The HUD system integrates voice recognition technology, allowing users to control the light transmittance of each area through voice commands. For example, users can say, "Increase light transmittance in the upper area (or a specific area)" or "Reduce light blocking on the left side" to adjust the light transmittance accordingly.
[0110] 4. Mobile phone application control function: Develop a mobile phone application that allows the target object to remotely control the overall or local light transmittance of each area of the sun visor through the mobile phone.
[0111] In an optional embodiment, the HUD system is placed in the middle of the roof so that rear passengers can also use it. In this case, the main functions of the HUD system for rear passengers include but are not limited to: in-car entertainment and viewing, in which case, integration with the external environment is not required. Double-sided electrochromic film (inner side increases reflection and outer side reduces external light) can be used to reduce the transmittance of glass to reduce the entry of external light, increase the internal reflectivity to form a high contrast, and by enhancing the display contrast, the interference of the external environment on immersive entertainment and the potential risk of dizziness can be avoided. In this scenario, the HUD system includes the following functions:
[0112] 1. Voice recognition function: A voice recognition system is installed in the car, allowing rear passengers to interact with the car computer through voice commands. The voice recognition system can recognize the commands of the rear passengers and understand their usage needs.
[0113] 2. Sensor recognition function: Through the rear seat sensor, it can detect whether there are passengers sitting in the back seat and determine whether the passengers are watching a movie. When the rear seat is occupied and the movie viewing system is started, the system can determine the use intention of the rear passengers.
[0114] 3. Electrochromic glass control function: Once the system recognizes the viewing needs of the rear passengers, it can adjust the transmittance of the electrochromic glass to the lowest level, blocking the entry of external light and providing a better viewing experience.
[0115] 4. User Personalization: Rear passengers can personalize the HUD system, such as adjusting the brightness, color, and other parameters of the viewing environment. These settings can be customized to passenger preferences, further enhancing the viewing experience.
[0116] 5. Automatic switching function: When the system recognizes that the rear passengers have finished watching the movie or left their seats, the electrochromic glass can automatically return to a transparent state to maintain a normal driving environment.
[0117] 6. Ambient brightness adaptation function: Based on the ambient light detection sensor, when in a bright environment, the target sun visor appropriately reduces the light transmittance, and the HUD backlight brightness increases proportionally; in a dark environment, the smart sun visor HUD appropriately increases the light transmittance, and the HUD backlight brightness decreases proportionally. Figure 6 Schematic diagram of the sun visor opening and closing control method of the embodiment of the present disclosure, as shown in Figure 6 As shown, the sun visor HUD vehicle display system consists of a sun visor HUD display system, a color correction algorithm, and an electrochromic sun visor user interaction control system; wherein, in the production process of the sun visor display panel, electrochromic materials are used, a partition design scheme is adopted, and sensors (for example, touch sensors, light sensors, etc.) are integrated. The sun visor display panel and the HUD image generation device together constitute the sun visor HUD display system; the electrochromic sun visor user interaction control system consists of gesture interaction, voice interaction, environmental intelligent perception, mobile phone connection control, personalized memory, and traffic perception system, wherein the traffic perception system receives information from devices such as cameras and lidars and congestion information in map signals. The devices associated with the mobile phone connection control function include but are not limited to: 5G / Bluetooth / Wifi and other communication modules. The information source of the environmental intelligent perception function is not limited to: a pre-trained intelligent sun visor detection AI model. The intelligent sun visor detection AI model includes but is not limited to: external vehicle environment data, and the external vehicle environment data includes but is not limited to: driving direction, current time and date, current region, light intensity, etc.
[0118] Figure 7FIG. 1 is a structural block diagram of the sun visor opening and closing control device of the embodiment of the present disclosure. Figure 7 As shown, the device includes: a first determination module 72, used to determine a target scene corresponding to the state of a target vehicle; a second determination module 74, used to determine a target angle range corresponding to the target scene; a control module 76, used to control the target sun visor in the target vehicle to open and close within the target angle range, wherein the target sun visor is used to reflect the image light emitted by the head-up display device for imaging.
[0119] In an optional embodiment, the first determination module 72 includes: a first acquisition unit for acquiring the driving speed of the target vehicle; a first determination unit for determining the current driving type of the target vehicle when it is determined that the driving speed is greater than 0, and determining the target scene based on the current driving type; a second determination unit for determining the parking position of the target vehicle when it is determined that the driving speed is equal to 0, and determining the target scene based on the parking position.
[0120] In an optional embodiment, the first determination unit includes: a first determination subunit, used to determine that the target scene is a first type of scene when the driving type is manual driving, wherein, in the first type of scene, the content displayed by the head-up display device needs to be integrated with the real environment in which the target vehicle is located; a second determination subunit, used to determine that the target scene is a second type of scene when the driving type is automatic driving, wherein, in the second type of scene, the content displayed by the head-up display device does not need to be integrated with the real environment in which the target vehicle is located.
[0121] In an optional embodiment, the second determination unit includes: a third determination subunit, used to determine that the target scene is a second type of scene when the parking position is a target parking space or a parking lot, wherein, in the second type of scene, the content displayed by the head-up display device does not need to be integrated with the real environment in which the target vehicle is located.
[0122] In an optional embodiment, the device also includes: a third determination module, used to determine the content displayed by the head-up display device before determining the target angle range corresponding to the target scene; a fourth determination module, used to determine that the target scene in which the target vehicle is located is a first type of scene when the content displayed by the head-up display device includes target type information, wherein, in the first type of scene, the content displayed by the head-up display device needs to be integrated with the real environment in which the target vehicle is located; a fifth determination module, used to determine that the target scene in which the target vehicle is located is a second type of scene when the content displayed by the head-up display device does not include the target type information, wherein, in the second type of scene, the content displayed by the head-up display device does not need to be integrated with the real environment in which the target vehicle is located; wherein, the target type information is information integrated with the driving scene.
[0123] In an optional embodiment, the second determination module 74 includes: a third determination unit, used to determine, when the target scene is a first type of scene, that the target angle range is a first angle range, wherein, in the first type of scene, the content displayed by the head-up display device needs to be integrated with the real environment in which the target vehicle is located; a fourth determination unit, used to determine, when the target scene is a second type of scene, that the target angle range is a second angle range, wherein, in the second type of scene, the content displayed by the head-up display device does not need to be integrated with the real environment in which the target vehicle is located; wherein, the first angle range is smaller than the second angle range.
[0124] In an optional embodiment, the control module 76 includes: a second acquisition unit for acquiring position information of the target object's eyes; a fifth determination unit for determining the target opening and closing angle of the sun visor within the target angle range based on the position information of the target object's eyes; and a control unit for controlling the sun visor to open to the target opening and closing angle so that the target object's eyes are within the eye box range.
[0125] In an optional embodiment, the second acquisition unit includes: a first acquisition sub-unit, used to acquire the position information of the target object's eyes under a first condition, wherein the first condition includes at least one of the following: detecting that the amplitude of the position deviation of the target object's eyes exceeds a first threshold; detecting that the duration of the position deviation of the target object's eyes exceeds a second threshold; detecting that the position of the target seat changes; detecting that the position of the rearview mirror of the target vehicle changes; detecting that the position of the steering wheel of the target vehicle changes.
[0126] In an optional embodiment, the second acquisition unit includes: a second acquisition sub-unit, used to obtain the first position information of the target object's eyes in the coordinate system of the target dimension; the fifth determination unit includes: a fourth determination sub-unit, used to determine the target opening and closing angle of the sun visor within the target angle range based on the first position information; wherein the coordinate system of the target dimension includes one of the following: a one-dimensional coordinate system, a two-dimensional coordinate system, and a three-dimensional coordinate system.
[0127] Figure 8 FIG. 1 is a structural block diagram of the light transmittance adjustment device of the sun visor according to an embodiment of the present disclosure. Figure 8 As shown, the device includes: a first acquisition module 82, used to obtain target driving information of the target vehicle, target environmental information of the environment in which the target vehicle is located, and target state information of the target object; a first adjustment module 84, used to adjust the transmittance of the sun visor based on the target driving information, the target environmental information and the target state information.
[0128] In an optional embodiment, the sun visor includes a first area and a second area, the first area is used for shading, and the second area is used for reflecting and imaging the image light emitted by the head-up display device, wherein the first adjustment module 84 includes: a first adjustment unit, used to adjust the transmittance of the second area based on the target driving information, the target environmental information and the target state information.
[0129] In an optional embodiment, the first adjustment module 84 includes: an input unit, used to input the target driving information, the target environment information and the target state information into the target neural network model to obtain the target transmittance control instruction output by the target neural network model, wherein the target neural network model is a pre-trained model with the ability to predict the transmittance control instruction; a second adjustment unit, used to adjust the transmittance of the sun visor based on the light intensity of the current environment of the target vehicle when the target transmittance control instruction is used to indicate the activation of the transmittance adjustment function.
[0130] In an optional embodiment, the device further includes at least one of the following: a first output module for adjusting the transmittance of the sun visor based on the light intensity of the current environment of the target vehicle, and then adjusting the brightness of the image source output in the head-up display device based on the adjusted transmittance, so that the contrast between the virtual image formed by the sun visor reflecting the image light emitted by the head-up display device and the real environment in which the target vehicle is located and transmitted by the sun visor is less than a third threshold value; a second output module for calibrating and compensating the color value of the image source output in the head-up display device based on the adjusted transmittance, so that the display color of the virtual image formed by the sun visor reflecting the image light emitted by the head-up display device meets certain conditions.
[0131] In an optional embodiment, the apparatus further includes: a second adjustment module for adjusting the light transmittance of the sun visor based on the congestion status of the road on which the target vehicle is currently located or the target content displayed by the head-up display device.
[0132] In an optional embodiment, the second adjustment module includes: a sixth determination unit, used to determine the current congestion state based on the vehicle density on the road where the target vehicle is located, or to determine the current congestion state based on the driving speed of the target vehicle; a first adjustment unit, used to adjust the transmittance of the sun visor to a transmittance corresponding to the current congestion state according to a pre-configured correspondence between the congestion state and the transmittance.
[0133] In an optional embodiment, the second adjustment module includes: a second adjustment unit, used to adjust the transmittance of the sun visor to a first transmittance when the target content includes target type information; a third adjustment unit, used to adjust the transmittance of the sun visor to a second transmittance when the target content does not include the target type information; wherein the first transmittance is higher than the second transmittance.
[0134] In an optional embodiment, the device further includes: a second acquisition module for acquiring target environment information of the target vehicle's environment, wherein the target environment information includes the light intensity of the target vehicle's current environment; and an adjustment module for adjusting the transmittance of the sun visor to a preset transmittance when the light intensity of the target vehicle's current environment exceeds a preset intensity threshold. The disclosed embodiments also provide an electronic device comprising at least a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program in the memory.
[0135] In some embodiments, the processor that executes the computer program may be a processing device including one or more general-purpose processing devices, such as a microprocessor, a central processing unit (CPU), a graphics processing unit (GPU), etc. More specifically, the processor may be a complex instruction set computing (CISC) microprocessor, a reduced instruction set computing (RISC) microprocessor, a very long instruction word (VLIW) microprocessor, a processor that runs other instruction sets, or a processor that runs a combination of instruction sets. The processor may also be one or more special-purpose processing devices, such as an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), a digital signal processor (DSP), a system on a chip (SoC), etc.
[0136] The memory may be read-only memory (ROM), random access memory (RAM), phase-change random access memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), electrically erasable programmable read-only memory (EEPROM), other types of random access memory (RAM), flash disks or other forms of flash memory, cache, registers, static memory, compact disk read-only memory (CD-ROM), digital versatile disks (DVD) or other optical storage, magnetic tape cassettes or other magnetic storage devices, or any other possible non-transitory medium used to store information or instructions that can be accessed by a computer device.
[0137] The electronic devices of the embodiments of the present disclosure may include but are not limited to fixed terminal devices such as servers, desktop computers, digital TVs, etc., as well as mobile terminal devices such as vehicle-mounted devices (such as head-up display devices), handheld devices (such as mobile phones, tablets, etc.), wearable devices (such as smart watches, smart bracelets, etc.), etc.
[0138] An embodiment of the present disclosure further provides a computer-readable storage medium, wherein the computer-readable medium stores a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.
[0139] The computer-readable storage medium of the embodiments of the present disclosure may adopt any combination of one or more computer-readable media. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or any combination thereof. In the embodiments of the present disclosure, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, apparatus or device, for example, the memory described above.
[0140] The computer programs of the embodiments of the present disclosure may be organized into one or more computer-executable components or modules. Any number and combination of such components or modules may be used to implement various aspects of the present disclosure. For example, various aspects of the present disclosure are not limited to the specific computer-executable instructions or specific components or modules shown in the accompanying drawings and described herein. Other embodiments may include different computer-executable instructions or components with more or less functionality than shown and described herein.
[0141] The above description is merely a preferred embodiment of the present disclosure and an illustration of the technical principles employed. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, but also includes other technical solutions formed by any combination of the above-mentioned technical features or their equivalents without departing from the above-mentioned disclosed concepts. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in this disclosure.
Claims
1. A method for controlling the opening and closing of a sun visor, characterized in that: include: determining a target scene corresponding to the state of the target vehicle; Determining a target angle range corresponding to the target scene; A target sun visor in the target vehicle is controlled to open and close within the target angle range, wherein the target sun visor is used to reflect image light emitted by a head-up display device to form an image.
2. The method according to claim 1, characterized in that Determining a target scene corresponding to the state of the target vehicle includes: Obtaining the driving speed of the target vehicle; If it is determined that the driving speed is greater than 0, determining a current driving type of the target vehicle, and determining the target scene based on the current driving type; When it is determined that the driving speed is equal to 0, a parking position of the target vehicle is determined, and the target scene is determined based on the parking position.
3. The method according to claim 2, characterized in that Determining the target scenario based on the current driving type includes: When the driving type is manual driving, determining that the target scene is a first type of scene, wherein, in the first type of scene, the content displayed by the head-up display device needs to be integrated with the real environment of the target vehicle; When the driving type is automatic driving, the target scene is determined to be a second type of scene, wherein, in the second type of scene, the content displayed by the head-up display device does not need to be integrated with the real environment in which the target vehicle is located.
4. The method according to claim 2, characterized in that Determining the target scene based on the parking position includes: When the parking position is a target parking space or a parking lot, the target scene is determined to be a second type of scene, wherein, in the second type of scene, the content displayed by the head-up display device does not need to be integrated with the real environment of the target vehicle.
5. The method according to claim 1, wherein Before determining the target angle range corresponding to the target scene, the method further includes: determining content displayed by the head-up display device; When the content displayed by the head-up display device includes target type information, determining that the target scene in which the target vehicle is located is a first type of scene, wherein, in the first type of scene, the content displayed by the head-up display device needs to be integrated with the real environment in which the target vehicle is located; When the content displayed by the head-up display device does not include the target type information, determining that the target scene in which the target vehicle is located is a second type of scene, wherein, in the second type of scene, the content displayed by the head-up display device does not need to be integrated with the real environment in which the target vehicle is located; The target type information is information integrated with the driving scene.
6. The method according to claim 1, characterized in that Determining a target angle range corresponding to the target scene includes: When the target scene is a first type of scene, determining the target angle range to be a first angle range, wherein, in the first type of scene, the content displayed by the head-up display device needs to be integrated with the real environment of the target vehicle; When the target scene is a second type of scene, determining the target angle range to be a second angle range, wherein, in the second type of scene, the content displayed by the head-up display device does not need to be integrated with the real environment of the target vehicle; The first angle range is smaller than the second angle range.
7. The method according to claim 1, characterized in that Controlling the sun visor to open and close within the target angle range includes: Obtaining the position information of the target object's eyes; Determining a target opening and closing angle of the sun visor within the target angle range based on position information of the eyes of the target object; The sun visor is controlled to open to a target opening and closing angle so that the eyes of the target object are located within the eye box range.
8. The method according to claim 7, characterized in that Acquiring the position information of the eyes of the target object includes: Under a first condition, position information of the eyes of the target object is obtained, wherein the first condition includes at least one of the following: detecting that the magnitude of the deviation of the position of the target object's eyes exceeds a first threshold; detecting that the duration of the shift in the position of the target object's eyes exceeds a second threshold; Detecting a change in the position of the target seat; detecting a change in the position of a rearview mirror of the target vehicle; A change in the position of the steering wheel of the target vehicle is detected.
9. The method according to claim 7, characterized in that Acquiring the position information of the eyes of the target object includes: acquiring first position information of the eyes of the target object in a coordinate system of a target dimension; Determining a target opening and closing angle of the sun visor within the target angle range based on the position information of the eyes of the target object includes: determining the target opening and closing angle of the sun visor within the target angle range based on the first position information; The coordinate system of the target dimension includes one of the following: a one-dimensional coordinate system, a two-dimensional coordinate system, and a three-dimensional coordinate system.
10. The method according to claim 1, characterized in that The method further comprises: Acquiring target driving information of the target vehicle, target environmental information of the environment in which the target vehicle is located, and target state information of a target object; The light transmittance of the sun visor is adjusted based on the target driving information, the target environment information, and the target state information.
11. The method according to claim 10, characterized in that The sun visor includes a first area and a second area, the first area is used for shading, and the second area is used for reflecting image light emitted by the head-up display device for imaging, wherein adjusting the light transmittance of the sun visor based on the target driving information, the target environment information, and the target state information includes: The light transmittance of the second area is adjusted based on the target driving information, the target environment information, and the target state information.
12. The method according to claim 10, characterized in that Adjusting the light transmittance of the sun visor based on the target driving information, the target environment information, and the target state information includes: Inputting the target driving information, the target environment information, and the target state information into a target neural network model to obtain a target transmittance control instruction output by the target neural network model, wherein the target neural network model is a pre-trained model with transmittance control instruction prediction capability; In a case where the target transmittance control instruction is used to instruct to turn on a transmittance adjustment function, the transmittance of the sun visor is adjusted based on the light intensity of the current environment of the target vehicle.
13. The method according to claim 12, characterized in that After adjusting the light transmittance of the sun visor based on the light intensity of the current environment of the target vehicle, the method further includes at least one of the following: adjusting the brightness of the image source output in the head-up display device based on the adjusted transmittance so that the contrast between a virtual image formed by the sun visor reflecting the image light emitted by the head-up display device and the real environment of the target vehicle transmitted by the sun visor is less than a third threshold; The color value of the image source output in the head-up display device is calibrated and compensated based on the adjusted transmittance, so that the display color of the virtual image formed by the sun visor reflecting the image light emitted by the head-up display device meets certain conditions.
14. The method according to claim 1, wherein The method further comprises: The light transmittance of the sun visor is adjusted based on the congestion state of the road where the target vehicle is currently located or the target content displayed by the head-up display device.
15. The method according to claim 14, characterized in that Adjusting the light transmittance of the sun visor based on the current congestion state of the road where the target vehicle is located includes: Determining the current congestion state based on a vehicle density on the road where the target vehicle is located, or determining the current congestion state based on a driving speed of the target vehicle; According to a pre-configured correspondence between congestion status and transmittance, the transmittance of the sun visor is adjusted to a transmittance corresponding to the current congestion status.
16. The method according to claim 14, characterized in that Adjusting the light transmittance of the sun visor based on the target content displayed by the head-up display device includes: In a case where the target content includes target type information, adjusting the transmittance of the sun visor to a first transmittance; When the target content does not include the target type information, adjusting the transmittance of the sun visor to a second transmittance; Wherein, the first transmittance is higher than the second transmittance.
17. The method according to claim 1, wherein The method further comprises: Obtain target environment information of the target vehicle's environment, wherein the target environment information includes the light intensity of the target vehicle's current environment; when the light intensity of the target vehicle's current environment exceeds a preset intensity threshold, adjust the transmittance of the sun visor to a preset transmittance.
18. A sun visor opening and closing control device, characterized in that: include: A first determining module, configured to determine a target scene corresponding to a state of a target vehicle; A second determining module is used to determine a target angle range corresponding to the target scene; A control module is used to control a target sun visor in the target vehicle to open and close within the target angle range, wherein the target sun visor is used to reflect image light emitted by a head-up display device to form an image.
19. An electronic device, characterized in that: The method comprises at least a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps of the method according to any one of claims 1 to 17 when executing the computer program in the memory.
20. A computer-readable storage medium, characterized in that The computer-readable medium stores a computer program, and when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 17 are implemented.