Contrast adjustment method and device for front windshield, storage medium and vehicle

By dynamically adjusting the light transmittance and yellow saturation of the windshield in night mode, and combining electrochromic materials to adjust the transmittance of red, green, and blue light bands, the problem of dim visibility and inaccurate perception of traffic light colors at night is solved, thus improving nighttime driving safety.

CN122379260APending Publication Date: 2026-07-14ZERON AUTOMOBILE TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-04-29
Publication Date
2026-07-14

AI Technical Summary

Technical Problem

Adjusting the light transmittance of the windshield to reduce nighttime luminous flux can easily lead to dim driver visibility, making it difficult to clearly identify the road ahead and key visual information, thus posing a traffic safety hazard.

Method used

By dynamically adjusting the light transmittance and yellow saturation of the target field of vision area of ​​the windshield in night mode, visual contrast is enhanced, and color difference is compensated by adjusting the transmittance ratio of red, green and blue light bands through electrochromic materials.

Benefits of technology

It significantly improves the driver's visual contrast between yellow objects and black backgrounds when driving at night, ensures that the light transmittance does not decrease to the point of dim vision, and maintains accurate perception of traffic light colors, thereby improving nighttime driving safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122379260A_ABST
    Figure CN122379260A_ABST
Patent Text Reader

Abstract

The application discloses a front windshield contrast adjustment method and device, a storage medium and a vehicle, and belongs to the technical field of automobiles. If current environmental information meets preset night conditions, a night adjustment mode is activated. In the night adjustment mode, vehicle state parameters, including vehicle speed and / or steering information, are obtained. A target field of view area is determined according to the vehicle state parameters. The light transmittance of the target field of view area in the front windshield is adjusted to be greater than a first threshold value, and the yellow saturation of the target field of view area is adjusted to be greater than a second threshold value, so as to enhance the visual contrast in the target field of view area. The application can significantly enhance the visual contrast between a target object and a black background, facilitate the driver to identify and distinguish the target object from the background, and will not cause the field of view to be dim due to excessive reduction of the light transmittance while enhancing the contrast, thereby significantly improving the safety of night driving.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of automotive technology, and in particular to a method, device, storage medium, and vehicle for adjusting the contrast of a windshield. Background Technology

[0002] The windshield of a vehicle serves as the primary window through which the driver obtains visual information from the outside world, and its optical characteristics directly affect driving safety. Under different lighting conditions, the driver's visual perception can be improved by adjusting the contrast of the windshield.

[0003] For example, in bright daylight, excessive brightness and direct sunlight can cause glare and visual fatigue in drivers, reducing their ability to perceive road conditions ahead and posing safety hazards. Therefore, in bright daylight, the contrast can be adjusted to reduce the light transmittance of the windshield, decreasing the amount of light entering the cabin and thus achieving sunshade and anti-glare effects.

[0004] However, when driving at night, reducing the light transmittance of the windshield reduces the amount of light entering the driver's eyes, resulting in a darker ambient view. This makes it difficult for the driver to clearly identify key visual information such as the road ahead, pedestrians on the side of the road, obstacles, and lane lines, which can easily lead to traffic accidents. Summary of the Invention

[0005] This application provides a method, apparatus, storage medium, and vehicle for adjusting the contrast of a windshield, to address the problem that adjusting the contrast of the windshield to reduce light transmittance can easily lead to traffic accidents during nighttime driving. The technical solution is as follows: According to a first aspect of this application, a method for adjusting the contrast of a windshield is provided, the method comprising: If the current environmental information meets the preset nighttime conditions, then the nighttime adjustment mode is activated; In the night adjustment mode, vehicle status parameters are acquired, including vehicle speed and / or steering information; Determine the target field of view area based on vehicle status parameters; The light transmittance of the target field of view area in the windshield is adjusted to be greater than a first threshold, and the yellow saturation of the target field of view area is adjusted to be greater than a second threshold, so as to enhance the visual contrast within the target field of view area.

[0006] In one possible implementation, the method further includes: Obtain the target transmittance ratios for the red, green, and blue light bands; The driving voltage for each band is set according to the target transmittance ratio; Based on the driving voltage, the transmittance ratio of the red light band, the green light band, and the blue light band is adjusted to the target transmittance ratio to compensate for the color difference caused by the enhanced yellow saturation.

[0007] In one possible implementation, the windshield includes electrochromic units corresponding to red, green, and blue light bands, respectively. Adjusting the transmittance ratio of the red, green, and blue light bands to the target transmittance ratio based on the driving voltage includes: A corresponding driving voltage is applied to the electrochromic unit corresponding to each band to adjust the transmittance ratio of the red light band, the green light band and the blue light band to the target transmittance ratio.

[0008] In one possible implementation, the method further includes: The system detects whether the vehicle has its high beams on and detects whether there are oncoming vehicles. If the vehicle has its high beams on and there are no oncoming vehicles, the transmittance of the target field of view area is adjusted to be greater than a third threshold, which is greater than the first threshold. The yellow saturation of the target field of view area is adjusted to be less than a fourth threshold, which is less than the second threshold.

[0009] In one possible implementation, when the vehicle state parameter is vehicle speed, determining the target field of view area based on the vehicle state parameter includes: Obtain the initial field of view; If the vehicle speed is less than the first vehicle speed threshold, the initial field of view area is expanded to the target field of view area; If the vehicle speed is greater than the second vehicle speed threshold, the initial field of view area is reduced to the target field of view area, where the second vehicle speed threshold is greater than the first vehicle speed threshold.

[0010] In one possible implementation, when the vehicle state parameter is steering information, determining the target field of view area based on the vehicle state parameter includes: Obtain the initial field of view; The turning direction of the vehicle is determined based on the steering information; The initial field of view is shifted by a predetermined angle in the turning direction to obtain the target field of view.

[0011] In one possible implementation, the method further includes: Obtain current environmental information, including time and ambient illuminance; If the time falls within the local sunset to sunrise period and the ambient illuminance is lower than a preset illuminance threshold, then the environmental information is determined to meet the preset nighttime conditions.

[0012] According to a second aspect of this application, a contrast adjustment device for a windshield is provided, the device comprising: The activation module is used to activate the night adjustment mode if the current environmental information meets the preset night conditions. The acquisition module is used to acquire vehicle status parameters in the night adjustment mode, the vehicle status parameters including vehicle speed and / or steering information; The determination module is used to determine the target field of view area based on vehicle status parameters; The adjustment module is used to adjust the light transmittance of the target field of view area in the windshield to be greater than a first threshold and adjust the yellow saturation of the target field of view area to be greater than a second threshold, so as to enhance the visual contrast within the target field of view area.

[0013] According to a third aspect of this application, a computer-readable storage medium is provided, the storage medium storing at least one instruction, the at least one instruction being loaded and executed by a processor to implement the windshield contrast adjustment method as described above.

[0014] According to a fourth aspect of this application, a vehicle is provided, the vehicle including the aforementioned windshield contrast adjustment device.

[0015] The beneficial effects of the technical solution provided in this application include at least the following: In night mode, adjusting the yellow saturation of the target field of view area in the windshield to a level greater than the second threshold makes the glass in the target field of view exhibit a light yellow spectral characteristic, selectively attenuating the blue light band, thereby significantly enhancing the visual contrast between yellow objects (such as lane lines) and black backgrounds (such as the road surface). At the same time, adjusting the light transmittance of the target field of view area to a level greater than the first threshold ensures that while enhancing contrast, the field of view is not dimmed due to excessive reduction in light transmittance, thus significantly improving the safety of night driving.

[0016] By adjusting the transmittance ratios of the red, green, and blue light bands to the target transmittance ratio, the attenuation of red and green light caused by the enhancement of yellow saturation is compensated, thereby ensuring that drivers can accurately perceive the colors of red and green traffic lights and eliminating the safety hazards caused by the enhancement of yellow saturation.

[0017] When the high beams are on and there are no oncoming vehicles, the light transmittance in the target field of vision is adjusted to be greater than the third threshold, and the yellow saturation is adjusted to be less than the fourth threshold. This avoids glare caused by excessive enhancement, while maximizing the lighting effect of the high beams.

[0018] When the vehicle speed is less than the first speed threshold, the initial field of vision is expanded to the target field of vision. When the vehicle speed is greater than the second speed threshold, the initial field of vision is narrowed to the target field of vision. This is because the field of vision narrows when driving at high speeds, requiring focus on distant vision; while the field of vision expands when driving at low speeds, requiring coverage of near-distance wide-angle vision, so that the driver can obtain the best visual experience at different speeds, taking into account the needs of high-speed farsightedness and low-speed wide-angle vision. Attached Figure Description

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

[0020] Figure 1 This is a flowchart of a method for adjusting the contrast of a windshield according to an embodiment of this application; Figure 2 This is a flowchart of a method for adjusting the contrast of a windshield according to an embodiment of this application; Figure 3 This is a structural block diagram of a windshield contrast adjustment device provided in one embodiment of this application. Detailed Implementation

[0021] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the implementation methods of this application will be further described in detail below with reference to the accompanying drawings.

[0022] When driving at night, drivers rely heavily on contrast, rather than absolute brightness, to recognize obstacles, pedestrians, and lane markings on the road ahead. Contrast refers to the difference in brightness or color between a target object (such as an obstacle, pedestrian, or lane marking) and its background (such as the road surface or roadside environment). The higher the contrast, the easier it is for the target object to be identified and distinguished from the background; conversely, the lower the contrast, the easier it is for the target object to blend into the background and be difficult for the driver to notice.

[0023] In related technologies, the windshield of a vehicle can be set to a solid yellow tint. Solid yellow tint can enhance the attenuation of short-wavelength (blue light), thereby improving the yellow-black contrast and making lane lines clearer. However, solid yellow tint reduces overall light transmittance, typically from 90% to 60%-70%, significantly reducing the driver's ability to perceive unlit areas on the roadside (such as pedestrians, bicycles, and animals). Furthermore, yellow tint can alter the perception of traffic light colors, such as turning red into dark red and green into yellowish-green, posing a safety hazard.

[0024] To address the aforementioned technical issues, this application provides a method for adjusting the contrast of a windshield, which can selectively enhance the visual contrast of the driver's central field of vision in low-light environments at night, without reducing or even maintaining a high light transmittance, while maintaining the ambient light perception of the surrounding field of vision and minimizing the distortion effect on the color of traffic lights.

[0025] like Figure 1 The diagram illustrates a flowchart of a windshield contrast adjustment method according to an embodiment of this application. This windshield contrast adjustment method can be applied to vehicles. The windshield contrast adjustment method may include: Step 101: If the current environmental information meets the preset nighttime conditions, then activate the nighttime adjustment mode.

[0026] Environmental information is information that can determine whether it is nighttime driving, including but not limited to: time, ambient light level, and geographical location. Time can be obtained through the vehicle's onboard clock, ambient light level can be obtained through an ambient light sensor installed on the top inside the vehicle's windshield, and geographical location can be obtained through the Global Positioning System (GPS).

[0027] Nighttime conditions are at least one judgment condition corresponding to environmental information. For example, when the environmental information is time, the nighttime condition can be to determine whether the current time is within a preset nighttime period; when the environmental information is ambient illuminance, the nighttime condition can be to determine whether the current ambient illuminance is lower than an illuminance threshold, which can be set according to business needs, such as 10 lux; when the environmental information is geographical location, the nighttime condition can be to determine whether the vehicle's current geographical location is in a tunnel section.

[0028] The vehicle has a pre-stored night mode adjustment mode. Once the night mode adjustment mode is activated, the subsequent contrast adjustment steps are executed.

[0029] Step 102: In night adjustment mode, acquire vehicle status parameters, which include vehicle speed and / or steering information.

[0030] After the night-time adjustment mode is activated, the vehicle needs to acquire current vehicle status parameters to dynamically adjust the target field of view area in the windshield. The windshield includes the target field of view area and the perimeter keeping area. The target field of view area corresponds to a specific angular range within the driver's field of vision. The transmittance and yellow saturation within this area need to be adjusted to enhance visual contrast, enabling the driver to more clearly identify key visual information such as lane lines and obstacles. The size and position of the target field of view area are variable and need to be dynamically adjusted based on vehicle status parameters to adapt to different driving scenarios. The perimeter keeping area is the area in the windshield other than the target field of view area. Within this area, the glass needs to maintain its original state, i.e., maintaining high transmittance (e.g., greater than 90%) and not adjusting yellow saturation. This ensures that the driver's perception of the illumination of the roadside environment (such as pedestrians, bicycles, animals, curbs, etc.) is not affected. Thus, even in low-light conditions at night, the driver can still clearly observe objects in the surrounding environment through this area and promptly detect potential hazards.

[0031] The vehicle status parameters acquired in this embodiment include vehicle speed and / or steering information. Vehicle speed reflects the vehicle's current travel speed and is used to determine whether the driver needs to focus on a distant field of vision (high-speed driving) or a close-range wide-angle field of vision (low-speed driving), thereby adjusting the size of the target field of vision area. Steering information reflects the vehicle's turning direction and is used to determine whether the driver needs to focus on the inner side of the curve's field of vision area, thereby adjusting the offset of the target field of vision area.

[0032] Step 103: Determine the target field of view area based on vehicle status parameters.

[0033] If the vehicle status parameters only include vehicle speed, the target field of view area is determined based on the vehicle speed; if the vehicle status parameters only include steering information, the target field of view area is determined based on the steering information only; if the vehicle status parameters include both vehicle speed and steering information, the target field of view area is determined based on both vehicle speed and steering information.

[0034] Step 104: Adjust the light transmittance of the target field of view area in the windshield to be greater than the first threshold, and adjust the yellow saturation of the target field of view area to be greater than the second threshold, so as to enhance the visual contrast within the target field of view area.

[0035] Light transmittance refers to the percentage of light that passes through the windshield. Higher light transmittance means the glass is more transparent, allowing more light to enter the driver's eyes; lower light transmittance means the glass is darker, and less light enters the driver's eyes. For example, a light transmittance of 90% means that 90% of the light can pass through the glass, and 10% is absorbed or reflected.

[0036] The first threshold is the lower limit of light transmittance, and its value is mainly based on the visual safety requirements in low-light environments at night. When driving at night, the ambient illuminance is usually below 10 lux, and the human eye is in a state of dark vision or mesovision, with a high sensitivity to brightness. If the light transmittance is too low, the amount of light entering the driver's eyes will be insufficient, resulting in a dim field of vision, which will reduce visual recognition ability and may even cause safety accidents. Therefore, the first threshold should ensure that the light transmittance in the target field of vision area remains at a high level to avoid the problem of dim vision caused by excessive reduction in light transmittance. The original light transmittance of ordinary windshields is usually set to 90%. In this embodiment, the first threshold can be set to be less than 90%, such as 70%, 85%, etc. The specific value can be adaptively adjusted according to different vehicle models, glass materials, environmental conditions, and other factors.

[0037] Yellow saturation refers to the degree to which glass appears yellow, and is used to measure the purity or intensity of the yellow color. The higher the yellow saturation, the more yellow the glass is, and the stronger the attenuation of short-wavelength light (especially blue light); the lower the yellow saturation, the closer the glass is to colorless and transparent.

[0038] The second threshold is the lower limit of yellow saturation, and its value is mainly based on the need for contrast enhancement. When driving at night, lane markings are typically yellow or white, while the road surface is black or dark gray. By enhancing the yellow saturation of the glass and selectively attenuating the blue light band, the color contrast between the yellow object (lane markings) and the black background (road surface) can be improved, making the lane markings more visible. If the yellow saturation is insufficient, the contrast enhancement effect will be insignificant, failing to effectively improve the lane marking recognition distance; if the yellow saturation is too high, it may lead to an excessive decrease in light transmittance (because darker tint reduces light transmittance) and may exacerbate the distortion of traffic light colors. Therefore, the second threshold should balance the needs of light transmittance and color compensation while ensuring sufficient contrast enhancement. The second threshold can be set to 10%, 20%, etc., and the specific value can be adaptively adjusted according to factors such as different vehicle models, different road surface colors, and different driver preferences.

[0039] Transmittance and yellow saturation can be adjusted using electrochromic materials. Electrochromic materials are materials whose optical properties (such as transmittance and color) can be reversibly changed under the action of an applied electric field.

[0040] When adjusting the transmittance, after applying a driving voltage to the electrochromic unit, the electrochromic material undergoes an oxidation-reduction reaction, and its coloring depth changes, thereby altering the transmittance: when a positive voltage is applied, the electrochromic material becomes darker and the transmittance decreases; when a reverse voltage is applied or the voltage is removed, the electrochromic material fades and the transmittance recovers.

[0041] When adjusting the yellow saturation, applying a driving voltage to the electrochromic material causes selective absorption of blue light (approximately 450nm), while absorption of red and green light is weaker, resulting in yellow light transmitted through the glass. By adjusting the driving voltage, the coloring depth of the electrochromic material can be controlled, thereby altering the yellow saturation: a higher driving voltage results in a deeper color, higher yellow saturation, and stronger blue light attenuation; a lower driving voltage results in a lighter color, lower yellow saturation, and weaker blue light attenuation.

[0042] In summary, the windshield contrast adjustment method provided in this application, in nighttime adjustment mode, adjusts the yellow saturation corresponding to the target field of view area in the windshield to a level greater than a second threshold, enabling the glass in the target field of view area to exhibit light yellow spectral characteristics and selectively attenuate the blue light band, thereby significantly enhancing the visual contrast between yellow objects (such as lane lines) and black backgrounds (such as road surfaces); at the same time, it adjusts the light transmittance corresponding to the target field of view area to a level greater than a first threshold, ensuring that while enhancing contrast, the field of view is not dimmed due to excessive reduction in light transmittance, thus significantly improving the safety of nighttime driving.

[0043] like Figure 2 The diagram illustrates a flowchart of a windshield contrast adjustment method according to an embodiment of this application, which can be applied to a vehicle. The windshield contrast adjustment method may include: Step 201: If the current environmental information meets the preset nighttime conditions, then activate the nighttime adjustment mode.

[0044] Environmental information is information that can determine whether it is nighttime driving, including but not limited to: time, ambient light level, and geographical location. Time can be obtained through the vehicle's onboard clock, ambient light level can be obtained through an ambient light sensor installed on the top inside the vehicle's windshield, and geographical location can be obtained through the Global Positioning System (GPS).

[0045] Nighttime conditions are at least one judgment condition corresponding to environmental information. For example, when the environmental information is time, the nighttime condition can be to determine whether the current time is within a preset nighttime period; when the environmental information is ambient illuminance, the nighttime condition can be to determine whether the current ambient illuminance is lower than an illuminance threshold, which can be set according to business needs, such as 10 lux; when the environmental information is geographical location, the nighttime condition can be to determine whether the vehicle's current geographical location is in a tunnel section.

[0046] Taking environmental information, including time and ambient illuminance, as an example, the current environmental information is obtained. If the time falls within the local sunset to sunrise period and the ambient illuminance is below a preset illuminance threshold, then the environmental information is determined to meet the preset nighttime conditions. This can be achieved by obtaining the vehicle's current geographical location through its GPS and calculating the local sunset to sunrise time based on that location, or by reading the vehicle's onboard clock's time zone information and determining the local sunset to sunrise time based on that time zone information. The illuminance threshold can be set according to business needs, such as 10 lux.

[0047] Taking environmental information including time, ambient illuminance, and geographical location as an example, the current environmental information is obtained; if the time is within the local sunset to sunrise period, the ambient illuminance is lower than the preset illuminance threshold, and the geographical location is not in the tunnel section, then the environmental information is determined to meet the preset nighttime conditions.

[0048] The vehicle has a pre-stored night mode adjustment mode. Once the night mode adjustment mode is activated, the subsequent contrast adjustment steps are executed.

[0049] Step 202: In night adjustment mode, acquire vehicle status parameters, which include vehicle speed and / or steering information.

[0050] Once the night mode is activated, the vehicle needs to acquire current vehicle status parameters in order to dynamically adjust the target field of view area in the windshield.

[0051] The vehicle status parameters acquired in this embodiment include vehicle speed and / or steering information. Vehicle speed reflects the vehicle's current travel speed and is used to determine whether the driver needs to focus on a distant field of vision (high-speed driving) or a close-range wide-angle field of vision (low-speed driving), thereby adjusting the size of the target field of vision area. Steering information reflects the vehicle's turning direction and is used to determine whether the driver needs to focus on the inner side of the curve's field of vision area, thereby adjusting the offset of the target field of vision area.

[0052] Step 203: Determine the target field of view area based on vehicle status parameters.

[0053] When the vehicle state parameter is vehicle speed, determining the target field of view area based on the vehicle state parameter can include: (1) Obtain the initial field of view area.

[0054] The initial field of view area refers to the preset default field of view range, which serves as the basis for subsequent dynamic adjustments. In this embodiment, the initial field of view area corresponds to the driver's field of view range of ±8° horizontally and -3° to +5° vertically. That is, in the horizontal direction, it is 8° to the left and right of the driver's line of sight center, and in the vertical direction, it is 3° above and 5° below. This field of view range corresponds to the driver's main field of view area during normal driving.

[0055] (2) If the vehicle speed is less than the first vehicle speed threshold, the initial field of view area is expanded to the target field of view area.

[0056] When the vehicle speed is below a first speed threshold, the vehicle is in a low-speed driving state, such as on city streets, residential roads, or near intersections. At this time, the driver needs to maintain a wider near-field field of vision to cope with potentially complex road conditions such as pedestrians, intersections, and turns. Therefore, the initial field of vision is expanded to the target field of vision area, allowing more areas to receive enhanced contrast. The first speed threshold can be set according to business needs, such as 30 km / h.

[0057] In this embodiment, when the vehicle speed is below 30 km / h, the field of vision angle range of the target field of vision area is expanded to: 12° horizontal half angle (12° to the left and right), 5° vertical top angle (5° upward), and 8° vertical bottom angle (8° downward).

[0058] (3) If the vehicle speed is greater than the second vehicle speed threshold, the initial field of view area will be reduced to the target field of view area, and the second vehicle speed threshold is greater than the first vehicle speed threshold.

[0059] When the vehicle speed exceeds the second speed threshold, the vehicle is traveling at high speed, such as on a highway. At this time, the driver needs to focus on a wider field of vision to detect obstacles or changes in road conditions ahead, while the need for vision on the near sides is relatively reduced. Therefore, the initial field of vision is narrowed to the target field of vision, focusing the contrast-enhancing area on a narrower area ahead. The second speed threshold can be set according to business needs, such as 80 km / h.

[0060] In this embodiment, when the vehicle speed is higher than 80 km / h, the field of vision angle range of the target field of vision area is reduced to: horizontal half angle 5° (5° to the left and right), vertical upper angle 2° (2° upward), and vertical lower angle 3° (3° downward).

[0061] When the vehicle speed is between the first and second speed thresholds, the vehicle is in a medium-speed driving state, such as on urban expressways or ordinary roads. At this time, the initial field of vision remains unchanged, that is, the target field of vision is 8° horizontally (8° to the left and right), 3° vertically upward (3° upward), and 5° vertically downward (5° downward).

[0062] When the vehicle status parameter is steering information, determining the target field of view area based on the vehicle status parameter can include: (1) Obtain the initial field of view area.

[0063] The initial field of view is the preset default field of view range, which is ±8° horizontally and -3° to +5° vertically.

[0064] (2) Determine the turning direction of the vehicle based on the steering information.

[0065] Turning information can include the absolute value of the steering wheel angle and the turning direction, such as left or right turn. When the absolute value of the steering wheel angle is greater than a preset angle threshold (such as 30°), it is determined that the vehicle is turning.

[0066] (3) Shift the initial field of view area to the turning direction by a predetermined angle to obtain the target field of view area.

[0067] The purpose of the offset is that when a vehicle is turning, the driver needs to pay attention to the road conditions on the inside of the curve (such as curbs, pedestrians, and obstacles), rather than the area directly in front. Therefore, shifting the contrast enhancement area towards the turning direction can make the enhancement effect cover the driver's actual field of vision.

[0068] The predetermined angle is calculated based on the absolute value of the steering wheel angle, using the formula θ. shift =min(5°, steering angle / 10). For example, when the steering wheel angle is 30°, the offset angle is 3°; when the steering wheel angle is 60°, the offset angle takes the maximum value of 5°.

[0069] If the vehicle status parameters include both vehicle speed and steering information, the size of the target field of view area is first determined based on the vehicle speed, and then the position of the target field of view area is determined based on the steering information to obtain the final target field of view area.

[0070] Step 204: Adjust the light transmittance of the target field of view area in the windshield to be greater than the first threshold, and adjust the yellow saturation of the target field of view area to be greater than the second threshold, so as to enhance the visual contrast within the target field of view area.

[0071] Transmittance and yellow saturation can be adjusted using electrochromic materials. Electrochromic materials are materials whose optical properties (such as transmittance and color) can be reversibly changed under the action of an applied electric field.

[0072] When adjusting the transmittance, after applying a driving voltage to the electrochromic unit, the electrochromic material undergoes an oxidation-reduction reaction, and its coloring depth changes, thereby altering the transmittance: when a positive voltage is applied, the electrochromic material becomes darker and the transmittance decreases; when a reverse voltage is applied or the voltage is removed, the electrochromic material fades and the transmittance recovers.

[0073] When adjusting the yellow saturation, applying a driving voltage to the electrochromic material causes selective absorption of blue light (approximately 450nm), while absorption of red and green light is weaker, resulting in yellow light transmitted through the glass. By adjusting the driving voltage, the coloring depth of the electrochromic material can be controlled, thereby altering the yellow saturation: a higher driving voltage results in a deeper color, higher yellow saturation, and stronger blue light attenuation; a lower driving voltage results in a lighter color, lower yellow saturation, and weaker blue light attenuation.

[0074] Through the above steps, the visual contrast within the target visual area is effectively enhanced, significantly improving the driver's ability to recognize lane lines and obstacles. However, while increasing yellow saturation attenuates blue light, it also attenuates red and green light bands to some extent, potentially causing deviations in the driver's color perception of traffic lights (such as red appearing darker and green appearing yellowish), posing a safety hazard. Therefore, chromaticity compensation is needed for each band of the traffic light color to eliminate or reduce color distortion caused by increased yellow saturation.

[0075] Step 205: Obtain the target transmittance ratios for the red, green, and blue light bands.

[0076] The target transmittance ratio refers to the proportional relationship between the transmittance of red, green, and blue light bands after chromaticity compensation. This ratio is not the absolute transmittance value of each band, but rather the relative ratio between the three. For example, the target transmittance ratio can be expressed as T. R :T G :T B , among which, T R T represents the transmittance in the red light band. G T represents the transmittance in the green light band. B This indicates the transmittance of the blue light band.

[0077] To maintain the contrast enhancement effect, the transmittance of the blue light band should be relatively low, while the transmittance of the red and green light bands should be relatively high, to avoid excessive attenuation that would cause reds to darken and greens to turn yellowish. In one example, T R :T G :T B =0.92:0.94:0.82, which means: the transmittance of the red light band is 92%, which is 8% lower than the original state; the transmittance of the green light band is 94%, which is 6% lower than the original state; and the transmittance of the blue light band is 82%, which is 18% lower than the original state.

[0078] Optionally, when setting the target transmittance ratio, the International Commission on Illumination (CIE) color difference should also be considered. Specifically, the target transmittance ratio determines the target color. In actual adjustment, due to factors such as hardware precision and environmental conditions, there may be differences between the actual color and the target color. To ensure that the color compensation effect reaches a level imperceptible to the human eye, this embodiment introduces the CIE color difference ΔE as an evaluation index.

[0079] The CIE color difference formula is as follows: Where (L1, a1, b1) are the CIE Lab chromaticity coordinates of the target color, and (L2, a2, b2) are the CIE Lab chromaticity coordinates of the actual color.

[0080] In this embodiment, the color difference ΔE between the adjusted actual color and the target color is required to be less than 3. When ΔE < 3, the human eye cannot perceive the color difference between the two, which means that the color compensation effect is considered to have met the requirements, and the color perception of traffic lights will not be significantly affected.

[0081] Step 206: Set the driving voltage for each band according to the target transmittance ratio.

[0082] After obtaining the target transmittance ratio, the required driving voltages for the red, green, and blue light bands can be determined based on this ratio. Specifically, the driving voltage can be determined by looking up tables or calculating using formulas; no specific method is specified here.

[0083] Step 207: Adjust the transmittance ratio of the red, green and blue light bands to the target transmittance ratio based on the driving voltage to compensate for the color difference caused by the enhanced yellow saturation.

[0084] To achieve independent control of transmittance for each wavelength band, the windshield in this embodiment employs a multi-layer electrochromic structure. Specifically, the windshield includes electrochromic units corresponding to the red, green, and blue light bands, respectively. Red light control layer: Corresponds to the red light band (approximately 620nm-750nm), used to independently control red light transmittance; Green light control layer: Corresponds to the green light band (approximately 495nm-570nm), used to independently control the green light transmittance; Blue light control layer: corresponding to the blue light band (approximately 450nm-495nm), used to independently control the blue light transmittance.

[0085] These three electrochromic units can be arranged in a triple-stacked structure, that is, stacked sequentially in the interlayer of the windshield. Each layer has an independent electrode, which can be applied with different driving voltages to achieve independent control of the transmittance of each wavelength band.

[0086] The windshield includes electrochromic units corresponding to the red, green, and blue light bands, respectively. The transmittance ratio of the red, green, and blue light bands is adjusted to the target transmittance ratio based on the driving voltage. This includes applying a corresponding driving voltage to the electrochromic unit corresponding to each band to adjust the transmittance ratio of the red, green, and blue light bands to the target transmittance ratio.

[0087] Specifically, a red light driving voltage is applied to the red light control layer, a green light driving voltage is applied to the green light control layer, and a blue light driving voltage is applied to the blue light control layer. Under the influence of their respective driving voltages: The electrochromic material in the red light control layer undergoes a redox reaction, resulting in a change in color depth and adjusting the red light transmittance to the target value (e.g., 92%). The electrochromic material in the green light control layer undergoes a redox reaction, resulting in a change in color depth and adjusting the green light transmittance to the target value (e.g., 94%). The electrochromic material in the blue light control layer undergoes a redox reaction, changing the color depth and adjusting the blue light transmittance to the target value (e.g., 82%).

[0088] After the above adjustments, the actual transmittance ratio of the red, green, and blue light bands reached T. R :T G :T B =0.92:0.94:0.82, consistent with the target transmittance ratio.

[0089] After completing the above color compensation, while enhancing yellow saturation to improve visual contrast, independent compensation was applied to the red and green bands, ensuring the accuracy of traffic light color perception. At this point, the windshield is in normal working condition in nighttime adjustment mode: the light transmittance within the target field of view is greater than the first threshold, the yellow saturation is greater than the second threshold, and the transmittance ratios of the red, green, and blue bands reach the target values.

[0090] However, when a vehicle turns on its high beams, the lighting conditions on the road ahead change significantly. Because the active illumination provided by high beams greatly increases the brightness of the road surface and the surrounding environment, maintaining the original contrast enhancement intensity is not only unnecessary but may also cause glare due to excessive enhancement, affecting driving safety. Furthermore, when oncoming vehicles are present, the high beams need to automatically turn off to avoid dazzling other drivers, requiring the contrast enhancement function to be restored accordingly. Therefore, it is also necessary to dynamically adjust the transmittance and yellow saturation within the target field of vision based on the high beam status and the presence of oncoming vehicles to achieve intelligent adjustment.

[0091] As an optional implementation, it can also detect whether the vehicle has turned on its high beams and detect whether there are oncoming vehicles; if the vehicle has turned on its high beams and there are no oncoming vehicles, the transmittance corresponding to the target field of view area is adjusted to be greater than a third threshold, the third threshold being greater than a first threshold, and the yellow saturation corresponding to the target field of view area is adjusted to be less than a fourth threshold, the fourth threshold being less than a second threshold.

[0092] Specifically, the system can detect whether the high beam indicator is active by using a forward-facing camera, radar, or vehicle-to-everything (V2X) communication to detect the presence of oncoming vehicles. If it is determined that the vehicle has its high beams on and there are no oncoming vehicles, then the light transmittance needs to be increased and the yellow saturation reduced. The third and fourth thresholds can be set according to business needs. For example, if the third threshold is 95% and the fourth threshold is 0%, then the light transmittance of the target field of view area can be increased from 80% to 95%, and the yellow saturation reduced from 20% to 0%. If it is determined that the vehicle has not turned on its high beams, or if there are oncoming vehicles, then the light transmittance and yellow saturation of the target field of view area should not be adjusted.

[0093] After adjustment, if the driver turns off the high beams, or if oncoming vehicles are present, the transmittance and yellow saturation of the target field of vision area are restored. For example, the transmittance of the target field of vision area is restored from 95% to 80%, and the yellow saturation is restored from 0% to 20%. In summary, the windshield contrast adjustment method provided in this application, in nighttime adjustment mode, adjusts the yellow saturation corresponding to the target field of view area in the windshield to a level greater than a second threshold, enabling the glass in the target field of view area to exhibit light yellow spectral characteristics and selectively attenuate the blue light band, thereby significantly enhancing the visual contrast between yellow objects (such as lane lines) and black backgrounds (such as road surfaces); at the same time, it adjusts the light transmittance corresponding to the target field of view area to a level greater than a first threshold, ensuring that while enhancing contrast, the field of view is not dimmed due to excessive reduction in light transmittance, thus significantly improving the safety of nighttime driving.

[0094] By adjusting the transmittance ratios of the red, green, and blue light bands to the target transmittance ratio, the attenuation of red and green light caused by the enhancement of yellow saturation is compensated, thereby ensuring that drivers can accurately perceive the colors of red and green traffic lights and eliminating the safety hazards caused by the enhancement of yellow saturation.

[0095] When the high beams are on and there are no oncoming vehicles, the light transmittance in the target field of vision is adjusted to be greater than the third threshold, and the yellow saturation is adjusted to be less than the fourth threshold. This avoids glare caused by excessive enhancement, while maximizing the lighting effect of the high beams.

[0096] When the vehicle speed is less than the first speed threshold, the initial field of vision is expanded to the target field of vision. When the vehicle speed is greater than the second speed threshold, the initial field of vision is narrowed to the target field of vision. This is because the field of vision narrows when driving at high speeds, requiring focus on distant vision; while the field of vision expands when driving at low speeds, requiring coverage of near-distance wide-angle vision, so that the driver can obtain the best visual experience at different speeds, taking into account the needs of high-speed farsightedness and low-speed wide-angle vision.

[0097] The following uses three application scenarios of nighttime driving as examples to illustrate the contrast adjustment method.

[0098] (1) Driving on rural roads at night The current driving environment is as follows: rural road at night, no streetlights, ambient illuminance of 5 lux, vehicle speed of 50 km / h, and low beam headlights on. The vehicle enters night mode, setting the transmittance of the target field of view area (default horizontal ±8°, vertical -3°~+5°) to 80% and the yellow saturation to 20%. The driver observes that the lane markings ahead are dark yellow, forming a sharp contrast with the black road surface, and the lane marking recognition distance increases from 40 meters to 55 meters. At the same time, a pedestrian wearing dark clothing appears on the right side of the road, located in the perimeter protection zone (horizontal 12°). Due to the high transmittance of the perimeter zone (over 90%), the driver can clearly see the pedestrian's outline and avoid them in time.

[0099] (2) Driving on highways at night The current driving environment is as follows: nighttime driving on a highway, speed 110 km / h, ambient illuminance 3 lux, no oncoming vehicles, and high beams automatically activated. Upon detecting the high beams being activated and the absence of oncoming traffic, the vehicle performs a coordinated adjustment: linearly reducing the yellow saturation of the target field of vision from 20% to 0% and increasing the light transmittance from 80% to 95% in 0.5 seconds. At this point, the windshield is essentially transparent, maximizing the illumination effect of the high beams and providing the driver with a bright and clear view. Subsequently, when an oncoming vehicle appears ahead, the high beams automatically deactivate, and the vehicle restores the light transmittance of the target field of vision to 80% and the yellow saturation to 20% within 1 second, assisting in lane marking recognition.

[0100] (3) Low-speed turning The current driving environment is as follows: driving at night on a residential road at a speed of 15 km / h, with the steering wheel turned 45° to the right. The vehicle detects a speed below 30 km / h and expands its field of vision to ±12° horizontally and -5° to +8° vertically; simultaneously, it detects a steering wheel angle greater than 30° and shifts the field of vision 5° to the right. The driver can clearly see the right-hand curb and pedestrians, improving driving safety during low-speed turns.

[0101] like Figure 3The diagram illustrates a structural block diagram of a windshield contrast adjustment device according to an embodiment of this application. This windshield contrast adjustment device can be applied to a vehicle, and the device includes: The activation module 310 is used to activate the night adjustment mode if the current environmental information meets the preset night conditions. The acquisition module 320 is used to acquire vehicle status parameters in night adjustment mode, including vehicle speed and / or steering information; The determination module 330 is used to determine the target field of view area based on vehicle status parameters; The adjustment module 340 is used to adjust the light transmittance of the target field of view area in the windshield to be greater than a first threshold and adjust the yellow saturation of the target field of view area to be greater than a second threshold, so as to enhance the visual contrast within the target field of view area.

[0102] In an optional embodiment, the adjustment module 340 is further configured to: Obtain the target transmittance ratios for the red, green, and blue light bands; The driving voltage for each band is set according to the target transmittance ratio; Based on the driving voltage, the transmittance ratios of the red, green, and blue light bands are adjusted to the target transmittance ratio to compensate for the color difference caused by the enhanced yellow saturation.

[0103] In an optional embodiment, the windshield includes electrochromic units corresponding to the red, green, and blue light bands, respectively, and the adjustment module 340 is further configured to: Apply the corresponding driving voltage to the electrochromic unit corresponding to each band to adjust the transmittance ratio of the red, green and blue bands to the target transmittance ratio.

[0104] In an optional embodiment, the adjustment module 340 is further configured to: Check if the vehicle has its high beams on and check for oncoming vehicles. If the vehicle has its high beams on and there are no oncoming vehicles, adjust the transmittance of the target field of view area to be greater than the third threshold, which is greater than the first threshold. Adjust the yellow saturation of the target field of view area to be less than the fourth threshold, which is less than the second threshold.

[0105] In an optional embodiment, the determining module 330 is further configured to: Obtain the initial field of view; If the vehicle speed is less than the first vehicle speed threshold, the initial field of view area will be expanded to the target field of view area. If the vehicle speed is greater than the second speed threshold, the initial field of view will be reduced to the target field of view, and the second speed threshold is greater than the first speed threshold.

[0106] In an optional embodiment, the determining module 330 is further configured to: Obtain the initial field of view; Determine the vehicle's turning direction based on the steering information; The initial field of view is shifted by a predetermined angle in the direction of the turn to obtain the target field of view.

[0107] In an optional embodiment, the activation module 310 is further configured to: Obtain current environmental information, including time and ambient light level; If the time falls within the local sunset to sunrise period and the ambient illuminance is lower than the preset illuminance threshold, then the environmental information is determined to meet the preset nighttime conditions.

[0108] In summary, the windshield contrast adjustment device provided in this application, in nighttime adjustment mode, adjusts the yellow saturation corresponding to the target field of view area in the windshield to a level greater than a second threshold, enabling the glass in the target field of view area to exhibit light yellow spectral characteristics and selectively attenuate the blue light band, thereby significantly enhancing the visual contrast between yellow objects (such as lane lines) and black backgrounds (such as road surfaces); at the same time, it adjusts the light transmittance corresponding to the target field of view area to a level greater than a first threshold, ensuring that while enhancing contrast, the field of view is not dimmed due to excessive reduction in light transmittance, thus significantly improving the safety of nighttime driving.

[0109] By adjusting the transmittance ratios of the red, green, and blue light bands to the target transmittance ratio, the attenuation of red and green light caused by the enhancement of yellow saturation is compensated, thereby ensuring that drivers can accurately perceive the colors of red and green traffic lights and eliminating the safety hazards caused by the enhancement of yellow saturation.

[0110] When the high beams are on and there are no oncoming vehicles, the light transmittance in the target field of vision is adjusted to be greater than the third threshold, and the yellow saturation is adjusted to be less than the fourth threshold. This avoids glare caused by excessive enhancement, while maximizing the lighting effect of the high beams.

[0111] When the vehicle speed is less than the first speed threshold, the initial field of vision is expanded to the target field of vision. When the vehicle speed is greater than the second speed threshold, the initial field of vision is narrowed to the target field of vision. This is because the field of vision narrows when driving at high speeds, requiring focus on distant vision; while the field of vision expands when driving at low speeds, requiring coverage of near-distance wide-angle vision, so that the driver can obtain the best visual experience at different speeds, taking into account the needs of high-speed farsightedness and low-speed wide-angle vision.

[0112] One embodiment of this application provides a computer-readable storage medium storing at least one instruction, which is loaded and executed by a processor to implement the windshield contrast adjustment method described above.

[0113] One embodiment of this application provides a vehicle that includes the contrast adjustment device for a windshield as described above.

[0114] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this disclosure can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution disclosed in this application can be achieved, and this is not limited herein.

[0115] The specific embodiments described above do not constitute a limitation on the scope of protection of this application. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this application should be included within the scope of protection of this application.

Claims

1. A method for adjusting the contrast of a windshield, characterized in that, The method includes: If the current environmental information meets the preset nighttime conditions, then the nighttime adjustment mode is activated; In the night adjustment mode, vehicle status parameters are acquired, including vehicle speed and / or steering information; Determine the target field of view area based on vehicle status parameters; The light transmittance of the target field of view area in the windshield is adjusted to be greater than a first threshold, and the yellow saturation of the target field of view area is adjusted to be greater than a second threshold, so as to enhance the visual contrast within the target field of view area.

2. The method for adjusting the contrast of a windshield according to claim 1, characterized in that, The method further includes: Obtain the target transmittance ratios for the red, green, and blue light bands; The driving voltage for each band is set according to the target transmittance ratio; Based on the driving voltage, the transmittance ratio of the red light band, the green light band, and the blue light band is adjusted to the target transmittance ratio to compensate for the color difference caused by the enhanced yellow saturation.

3. The method for adjusting the contrast of a windshield according to claim 2, characterized in that, The windshield includes electrochromic units corresponding to the red, green, and blue light bands, respectively. Adjusting the transmittance ratio of the red, green, and blue light bands to the target transmittance ratio based on the driving voltage includes: A corresponding driving voltage is applied to the electrochromic unit corresponding to each band to adjust the transmittance ratio of the red light band, the green light band and the blue light band to the target transmittance ratio.

4. The method for adjusting the contrast of a windshield according to claim 1, characterized in that, The method further includes: The system detects whether the vehicle has its high beams on and detects whether there are oncoming vehicles. If the vehicle has its high beams on and there are no oncoming vehicles, the transmittance of the target field of view area is adjusted to be greater than a third threshold, which is greater than the first threshold. The yellow saturation of the target field of view area is adjusted to be less than a fourth threshold, which is less than the second threshold.

5. The method for adjusting the contrast of a windshield according to claim 1, characterized in that, When the vehicle state parameter is vehicle speed, determining the target field of view area based on the vehicle state parameter includes: Obtain the initial field of view; If the vehicle speed is less than the first vehicle speed threshold, the initial field of view area is expanded to the target field of view area; If the vehicle speed is greater than the second vehicle speed threshold, the initial field of view area is reduced to the target field of view area, where the second vehicle speed threshold is greater than the first vehicle speed threshold.

6. The method for adjusting the contrast of a windshield according to claim 1, characterized in that, When the vehicle state parameter is steering information, determining the target field of view area based on the vehicle state parameter includes: Obtain the initial field of view; The turning direction of the vehicle is determined based on the steering information; The initial field of view is shifted by a predetermined angle in the turning direction to obtain the target field of view.

7. The method for adjusting the contrast of a windshield according to any one of claims 1 to 6, characterized in that, The method further includes: Obtain current environmental information, including time and ambient illuminance; If the time falls within the local sunset to sunrise period and the ambient illuminance is lower than a preset illuminance threshold, then the environmental information is determined to meet the preset nighttime conditions.

8. A contrast adjustment device for a windshield, characterized in that, The device includes: The activation module is used to activate the night adjustment mode if the current environmental information meets the preset night conditions. The acquisition module is used to acquire vehicle status parameters in the night adjustment mode, the vehicle status parameters including vehicle speed and / or steering information; The determination module is used to determine the target field of view area based on vehicle status parameters; The adjustment module is used to adjust the light transmittance of the target field of view area in the windshield to be greater than a first threshold and adjust the yellow saturation of the target field of view area to be greater than a second threshold, so as to enhance the visual contrast within the target field of view area.

9. A computer-readable storage medium, characterized in that, The storage medium stores at least one instruction, which is loaded and executed by a processor to implement the windshield contrast adjustment method as described in any one of claims 1 to 7.

10. A vehicle, characterized in that, The vehicle includes: the contrast adjustment device for the windshield as described in claim 8.