Vehicle-mounted sunshade intelligent dimming method and system based on TN-LCD

By acquiring vehicle environment image data and light propagation models, and combining them with gradient descent algorithms to adjust voltage values, intelligent dimming of the vehicle's LCD display panel is achieved, solving the problem of inaccurate shading in existing vehicle sunshade technologies and ensuring driving safety and comfort.

CN122201216APending Publication Date: 2026-06-12福建紫鸿鹄科技有限公司

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
福建紫鸿鹄科技有限公司
Filing Date
2026-05-07
Publication Date
2026-06-12

Smart Images

  • Figure CN122201216A_ABST
    Figure CN122201216A_ABST
Patent Text Reader

Abstract

The application provides a TN-LCD-based vehicle-mounted sunshade intelligent dimming method and system, and belongs to the technical field of image recognition. The method realizes positioning of an interference light source by acquiring environmental image data of a vehicle-mounted liquid crystal display panel opposite a front windshield in a driving direction of the vehicle, and determining center coordinates of each highlight area. The method determines a target blocking area by real-time matching of a line-of-sight direction of a driver and a trajectory of an interference light ray, and only projecting, on a front projection area of the vehicle-mounted liquid crystal display panel, a light ray path that will directly coincide with the line-of-sight of the driver and cause glare interference. The method further adjusts a voltage value of the target blocking area so that the light transmittance of the target blocking area is reduced to within a preset light transmittance threshold, thereby ensuring that the glare blocking effect meets the standard and the light transmittance of other areas is not affected, and thus independent control of the light transmittance of the blocking area and the non-blocking area is realized, and a driving field of view environment that takes into account safety and comfort is provided for the driver.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of image recognition technology, specifically a vehicle-mounted sunshade intelligent dimming method and system based on TN-LCD. Background Technology

[0002] Currently, in the modern automotive industry, in-vehicle sunshade technology plays an indispensable role as a crucial component in enhancing driving safety and comfort. Especially in driving scenarios with frequent strong glare, effectively reducing the impact of glare on the driver is key to ensuring driving safety. However, existing in-vehicle sunshade methods lack the ability to accurately identify and dynamically adapt to the location of light sources when dealing with light interference. This often results in poor sunshade effects or excessive blocking, failing to effectively block light from only specific areas without affecting the light transmittance of other areas. This impairs the driver's normal observation of the surrounding environment, thereby reducing safety during vehicle operation.

[0003] The above information in the background section of the invention is only used to enhance the understanding of the background of this application, and therefore may include information that does not constitute prior art known to those skilled in the art. Summary of the Invention

[0004] To address the above issues, this application provides a vehicle-mounted sunshade intelligent dimming method and system based on TN-LCD, which solves the problem of being unable to block light only in a specific area without affecting the light transmittance of other areas.

[0005] To achieve the above objectives, the technical solution adopted in this application is as follows:

[0006] In a first aspect, embodiments of this application provide a vehicle-mounted intelligent dimming method for sunshades based on TN-LCD. The method includes: acquiring environmental image data of an in-vehicle LCD panel facing the driver in the vehicle's driving direction, the in-vehicle LCD panel being located on the vehicle's windshield and facing the driver; generating a light intensity distribution feature map based on the environmental image data, and determining the center coordinates of each highlight region based on the light intensity distribution feature map; acquiring a light propagation geometry model, and determining at least one interfering light trajectory based on the center coordinates of each highlight region and the light propagation geometry model; acquiring the current driver's gaze direction, and if the driver's gaze direction is... If the observer's line of sight overlaps with the trajectory of the interfering light, the current trajectory of the interfering light is projected onto the vehicle-mounted LCD panel to form a projection area, which is then designated as the target occlusion area. The voltage value of the pixel unit within the corresponding area of ​​the vehicle-mounted LCD panel is obtained, and the transmittance of the target occlusion area is determined based on the voltage value. If the transmittance exceeds a preset transmittance threshold, a gradient descent algorithm is used to adjust the voltage value step by step. If the transmittance does not exceed the preset transmittance threshold, the voltage adjustment is stopped, and the vehicle-mounted sunshade effect is confirmed to be activated.

[0007] Secondly, embodiments of this application provide a vehicle-mounted intelligent dimming system based on TN-LCD, comprising: an acquisition module, a first determination module, a second determination module, a third determination module, a fourth determination module, and an adjustment module. The acquisition module acquires environmental image data of the vehicle's LCD panel facing the driver along the vehicle's driving direction. The LCD panel is located on the vehicle's windshield and faces the driver. The first determination module generates a light intensity distribution feature map based on the environmental image data and determines the center coordinates of each highlight area based on the light intensity distribution feature map. The second determination module acquires a light propagation geometry model and determines at least one interfering light trajectory based on the center coordinates of each highlight area and the light propagation geometry model. The third determination module acquires the current driver's gaze direction; if the driver's gaze direction is related to the interfering light trajectory... If there is an overlapping area in the light trajectories, the current interfering light trajectories are projected onto the vehicle-mounted LCD display panel to form a projection area, and the projection area is determined as the target occlusion area; the fourth determining module is used to obtain the voltage value of the pixel unit in the area of ​​the vehicle-mounted LCD display panel corresponding to the current target occlusion area, and determine the light transmittance of the current target occlusion area based on the voltage value; the adjustment module is used to adjust the voltage value step by step using a gradient descent algorithm if the light transmittance exceeds a preset light transmittance threshold; if the light transmittance does not exceed the preset light transmittance threshold, the adjustment of the voltage value is stopped, and the vehicle-mounted sunshade effect is confirmed to be activated.

[0008] This application provides a method and system for intelligent dimming of vehicle-mounted sunshades based on TN-LCD. By acquiring environmental image data of the vehicle-mounted LCD panel facing the windshield in the driving direction, the center coordinates of each highlight area are determined, thus locating interfering light sources. By matching the driver's line of sight with the trajectory of interfering light in real time, only the light paths that directly overlap with the driver's line of sight and cause glare interference are identified as target shading areas on the vehicle-mounted LCD panel. The voltage value of the target shading area is then adjusted to reduce the light transmittance of the target shading area to within a preset light transmittance threshold. This ensures that the glare shading effect meets the standard without affecting the light transmittance of other areas, thereby achieving independent control of the light transmittance of the shading and unshading areas, providing the driver with a driving vision environment that balances safety and comfort. Attached Figure Description

[0009] To more clearly illustrate the technical solutions in the embodiments of this application or the conventional technology, the drawings used in the description of the embodiments or the conventional technology will be briefly introduced below. Obviously, the 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.

[0010] Figure 1 This is a flowchart illustrating an exemplary embodiment of the present application of a vehicle-mounted sunshade intelligent dimming method based on TN-LCD.

[0011] Figure 2 This is a flowchart illustrating a vehicle-mounted sunshade intelligent dimming method based on TN-LCD, provided in another exemplary embodiment of this application.

[0012] Figure 3 This is a flowchart illustrating a vehicle-mounted sunshade intelligent dimming method based on TN-LCD, provided in another exemplary embodiment of this application.

[0013] Figure 4 This is a flowchart illustrating a vehicle-mounted sunshade intelligent dimming method based on TN-LCD, provided in yet another exemplary embodiment of this application.

[0014] Figure 5 This is a flowchart illustrating a vehicle-mounted sunshade intelligent dimming method based on TN-LCD, provided in yet another exemplary embodiment of this application.

[0015] Figure 6 This is a flowchart illustrating a vehicle-mounted sunshade intelligent dimming method based on TN-LCD, provided in yet another exemplary embodiment of this application.

[0016] Figure 7This is a flowchart illustrating a vehicle-mounted sunshade intelligent dimming method based on TN-LCD, provided in yet another exemplary embodiment of this application.

[0017] Figure 8 This is a flowchart illustrating a vehicle-mounted sunshade intelligent dimming method based on TN-LCD, provided in yet another exemplary embodiment of this application. Detailed Implementation

[0018] To enable those skilled in the art to better understand the technical solution, the present application will be described in detail below with reference to the embodiments. The description in this section is only exemplary and explanatory, and should not be used to limit the scope of protection of the present application in any way.

[0019] Currently, in the modern automotive industry, in-vehicle sunshade technology plays an indispensable role as a crucial component in enhancing driving safety and comfort. Especially in driving scenarios with frequent strong glare, effectively reducing the impact of glare on the driver is key to ensuring driving safety. However, existing in-vehicle sunshade methods lack the ability to accurately identify and dynamically adapt to the location of light sources when dealing with light interference. This often results in poor sunshade effects or excessive blocking, failing to effectively block light from only specific areas without affecting the light transmittance of other areas. This impairs the driver's normal observation of the surrounding environment, thereby reducing safety during vehicle operation.

[0020] Specifically, the existing sunshade panels lack sufficient control precision, making it difficult to limit the sunshade effect to a specific area. This directly results in the inability to specifically block strong light sources, making it impossible to ensure clear driving visibility while avoiding unnecessary obstruction under strong glare. For example, while driving, sunlight may shine directly into the driver's eyes from a certain angle. If the sunshade system cannot accurately identify the location of this light source and only treat that area, the entire field of vision will be largely obstructed, increasing driving risk.

[0021] Therefore, how to accurately locate areas of strong light interference in vehicle sunshade systems and effectively block specific areas through localized control technology without affecting the normal light transmission of other areas has become the technical problem that this application needs to solve.

[0022] This application provides a method for intelligent dimming of vehicle-mounted sunshades based on TN-LCD, such as... Figure 1 The illustrated method is a vehicle-mounted intelligent dimming method for sunshades based on TN-LCD. This method may include the following steps:

[0023] Step S110: Acquire environmental image data of the vehicle's LCD display panel facing the vehicle's driving direction. The vehicle's LCD display panel is located on the vehicle's windshield and faces the driver.

[0024] Step S120: Generate a light intensity distribution feature map based on the environmental image data, and determine the center coordinates of each highlight area based on the light intensity distribution feature map;

[0025] Step S130: Obtain the ray propagation geometry model, and determine at least one interfering ray trajectory based on the center coordinates of each specular region and the ray propagation geometry model;

[0026] Step S140: Obtain the current driver's line of sight. If the driver's line of sight overlaps with the trajectory of the interfering light, project the current trajectory of the interfering light onto the vehicle's LCD display panel to form a projection area, and determine the projection area as the target occlusion area.

[0027] Step S150: Obtain the voltage value of the pixel unit in the area of ​​the vehicle LCD display panel corresponding to the current target occlusion area, and determine the light transmittance of the current target occlusion area based on the voltage value;

[0028] Step S160: If the light transmittance exceeds the preset light transmittance threshold, the voltage value is adjusted step by step using the gradient descent algorithm; if the light transmittance does not exceed the preset light transmittance threshold, the voltage value adjustment is stopped, and the vehicle shading effect is confirmed to be activated.

[0029] According to the TN-LCD-based intelligent dimming method for vehicle sunshades provided in this application, this method can acquire environmental image data of the vehicle's LCD display panel facing the windshield in the driving direction, and determine the center coordinates of each highlight area by combining image recognition technology, thereby locating the interfering light source. By matching the driver's line of sight with the trajectory of the interfering light in real time, only the light path that directly overlaps with the driver's line of sight and causes glare interference is identified as the target shading area on the vehicle's LCD display panel. Then, the voltage value of the target shading area is adjusted so that the light transmittance of the target shading area is reduced to within a preset light transmittance threshold. While ensuring that the glare shading effect meets the standard, it does not affect the light transmittance of other areas, thereby achieving independent control of the light transmittance of the shading area and the unshading area, providing the driver with a driving vision environment that balances safety and comfort.

[0030] It should be noted that the automotive LCD panel in this application can be a TFT (Thin Film Transistor) LCD screen. Through the thin film transistor array integrated on the display panel, a individually adjustable driving voltage can be provided to each independent pixel unit. By precisely controlling the twist angle of the liquid crystal molecules through changes in voltage values, the light transmittance of the corresponding pixel area is changed. This achieves partial opacity control only for the target shading area corresponding to interfering light, while maintaining high light transmittance in the unshaded areas. This solves the problem that traditional sunshade solutions cannot intervene in specific strong light areas without affecting the light transmittance of other areas. The automotive LCD panel in this application can also be a TN-LCD (Twisted Nematic Liquid Crystal Display). A TN-LCD display panel can include an outgoing polarizer, an upper glass substrate, an upper ITO transparent electrode layer, a TN-type liquid crystal molecule layer, a lower ITO transparent electrode layer, a lower glass substrate, and an incoming polarizer. The polarization directions of the incident polarizer and the exit polarizer are perpendicular to each other at 90 degrees. The TN-type nematic liquid crystal molecules sandwiched between the two electrodes will form a continuous 90-degree spiral twisted arrangement along the alignment grooves on the substrate surface in their natural state without an external electric field.

[0031] Furthermore, using a TFT LCD screen as the vehicle's LCD display panel allows for rapid response to dynamic lighting scenarios such as changes in the angle of sunlight, oncoming vehicle high beams, and high road reflectivity during vehicle operation. This enables millisecond-level continuous updates of the shading area, ensuring precise blocking of strong light interference throughout the journey and adapting to the complex and ever-changing lighting environment during driving. The TFT LCD screen is ultra-thin and has high light transmittance, achieving over 80% visible light transmittance in its unshaded state, completely unaffected by the driver's normal observation of the road ahead. It can also be deeply integrated with the vehicle's HUD (Head-Up Display) system, providing intelligent sun shading without affecting the display of critical driving information such as vehicle speed and navigation, thus improving driving safety and comfort.

[0032] The steps of the vehicle-mounted intelligent dimming method for sunshades based on TN-LCD provided in this application are described in detail below:

[0033] In one embodiment of this application, in step S110, environmental image data of the vehicle-mounted LCD display panel facing the vehicle's driving direction is acquired. The vehicle-mounted LCD display panel is located on the vehicle's windshield and faces the driver.

[0034] Specifically, the in-vehicle LCD display panel can be fixedly installed inside the vehicle's windshield, completely covering the windshield area directly in front of the driver's line of sight. The display surface of the LCD panel faces the driver, ensuring that all ambient light entering the driver's field of vision passes through the LCD panel when observing the driving scene through the windshield. This provides a basis for subsequent local light transmittance adjustment and glare blocking. The vehicle's driving direction refers to the forward direction corresponding to the vehicle's longitudinal centerline, matching the driver's primary line of sight under normal driving conditions. The environmental image data directly facing the LCD panel in the vehicle's driving direction refers to the environmental image data of the driving scene ahead, perfectly matching the physical coverage area of ​​the LCD panel during the vehicle's forward movement. This can include information on various strong light sources that may cause glare, such as direct sunlight, oncoming vehicle high beams, and reflected light from highly reflective objects on the road.

[0035] Furthermore, environmental image data can be acquired using an in-vehicle high dynamic range CMOS image sensor, i.e., an in-vehicle camera. The in-vehicle camera can be fixedly installed inside the vehicle's windshield and located at the center of the rearview mirror base. The optical axis of the in-vehicle camera lens is parallel to the vehicle's driving direction, and the field of view of the in-vehicle camera lens is perfectly matched with the coverage area of ​​the in-vehicle LCD display panel to ensure that the area captured by the in-vehicle camera forms a 1:1 spatial mapping relationship with the dimmable area of ​​the in-vehicle LCD display panel.

[0036] In one embodiment of this application, step S120, generating a light intensity distribution feature map based on environmental image data, further includes the following steps: Figure 2 As shown, the specific content is as follows:

[0037] Step S210: Determine grayscale image data based on environmental image data;

[0038] Step S220: Calculate the gray value of each pixel in the grayscale image data, and generate a grayscale histogram based on the gray value;

[0039] Step S230: Obtain the mapping relationship between grayscale values ​​and light intensity values, and determine the light intensity value of each pixel based on the mapping relationship and the grayscale histogram;

[0040] Step S240: Generate a light intensity distribution feature map based on the light intensity value of each pixel.

[0041] Specifically, based on image recognition technology, RGB color environmental image data can be converted into single-channel grayscale image data, retaining only the image's brightness characteristics. The grayscale image data conversion uses a standard grayscale conversion formula in image processing, where R, G, and B are the red, green, and blue channel values ​​of a single pixel in the color image, each ranging from 0 to 255. The converted pixel's grayscale value also ranges from 0 to 255. This formula is used to iterate through all pixels in the environmental image data, completing the grayscale conversion of all pixels to obtain a grayscale image matrix with the same size as the original environmental image. Next, each pixel in the grayscale image matrix is ​​iterated through, and its corresponding grayscale value is read and recorded one by one. Subsequently, using grayscale values ​​as the statistical dimension, all grayscale values ​​within the range of 0-255 are counted, recording the total number of pixels corresponding to each grayscale value. A grayscale histogram is constructed with grayscale values ​​as the horizontal axis and the number of pixels corresponding to each grayscale value as the vertical axis. Grayscale histograms can intuitively and quantitatively present the overall brightness distribution of environmental image data, making it easier to clearly distinguish the pixel distribution ratio of low-brightness normal areas, medium-brightness ordinary areas, and high-brightness highlight areas.

[0042] Furthermore, the mapping relationship between grayscale values ​​and light intensity values ​​is a positively correlated linear mapping relationship, which can include a monotonically increasing correspondence between grayscale values ​​and light intensity values. The higher the grayscale value, the greater the ambient light intensity of the corresponding pixel. The unit of measurement for light intensity is lux. The mapping relationship is: Light Intensity Value = (Grayscale Value / 255) × Maximum Light Intensity Value Set for the Vehicle Scene. For example, a grayscale value of 0 corresponds to an ambient light intensity of 0 lux (completely dark environment), a grayscale value of 200 corresponds to an ambient light intensity of 10000 lux, and a grayscale value of 255 corresponds to an ambient light intensity of 20000 lux. Based on the mapping relationship between grayscale values ​​and light intensity values, the grayscale value of each pixel in the grayscale image data is substituted into this mapping relationship for linear conversion to determine the light intensity value corresponding to each pixel. Finally, the pixel light intensity values ​​are converted into a two-dimensional visualized light intensity distribution feature map.

[0043] In one embodiment of this application, step S120, which determines the center coordinates of each highlight region based on the light intensity distribution feature map, further includes the following steps: Figure 3 As shown, the specific content is as follows:

[0044] Step S310: If the light intensity value of a pixel in the light intensity distribution feature map exceeds the preset light intensity value threshold, then mark the current pixel as a highlight pixel and generate a highlight pixel set based on the highlight pixels.

[0045] Step S320: Based on the highlight pixels, use the connected component analysis algorithm to determine each highlight region, and determine the boundary range of each highlight region according to the highlight region;

[0046] Step S330: Based on the boundary range of each highlight region, calculate the average coordinates of the pixels in each highlight region, and use the average coordinates as the center coordinates of each highlight region.

[0047] Specifically, the preset light intensity threshold is a critical value pre-set based on the human eye's glare perception threshold, the photosensitive characteristics of the vehicle image sensor, and real-world road glare test data. This threshold distinguishes between areas of normal light and areas of strong light that easily cause glare interference to the driver. Pixels with light intensity values ​​higher than this threshold are considered to have strong light interference. Then, a connected component analysis algorithm is used to divide the set of highlight pixels into regions. By identifying spatially adjacent and continuous highlight pixels, interconnected highlight pixels are grouped into the same highlight region, thus distinguishing independent glare interference regions from different sources such as direct sunlight, road reflections, and oncoming headlights. After dividing each independent highlight region, the boundary range of each highlight region is determined through contour extraction and boundary fitting. The boundary range is the smallest closed contour range that encloses all highlight pixels in the corresponding highlight region. This clearly defines the spatial coverage of each independent glare interference region, avoiding boundary confusion between different highlight regions.

[0048] Furthermore, for each highlight region, the two-dimensional planar coordinate information of all highlight pixels within the boundary of that region is extracted. The arithmetic mean of the horizontal and vertical coordinate values ​​of all highlight pixels is calculated separately to obtain the average horizontal and vertical coordinates of the corresponding highlight region. These average coordinates are combined to form the two-dimensional center coordinates, which are the geometric center coordinates of the corresponding highlight region. The center coordinates calculated using the average coordinates can reflect the concentrated location of strong light interference.

[0049] For example, with a preset light intensity threshold of 10,000 lux, all pixels within the light intensity distribution feature map are traversed, and pixels with light intensity values ​​exceeding 10,000 lux are marked as highlight pixels. A total of 86 highlight pixels are identified, forming a highlight pixel set. A connected component analysis algorithm is used to divide the highlight pixels into regions, identifying two independent highlight regions: the first corresponds to direct sunlight from the sky, and the second corresponds to reflections from water on the road surface. Contour extraction is used to determine the boundaries of each highlight region. Next, the coordinates of 45 highlight pixels within the first highlight region are extracted, yielding an average horizontal coordinate of 420 and an average vertical coordinate of 180. The coordinates of 41 highlight pixels within the second highlight region are extracted, yielding an average horizontal coordinate of 680 and an average vertical coordinate of 320. These two sets of average coordinates are used as the center coordinates of the two highlight regions, respectively.

[0050] In one embodiment of this application, step S130, which involves obtaining a light propagation geometry model and determining at least one interfering light trajectory based on the center coordinates of each highlight region and the light propagation geometry model, further includes the following steps: Figure 4 As shown, the specific content is as follows:

[0051] Step S410: Determine the incident direction vector of at least one interfering light source based on the center coordinates of each highlight region and the ray propagation geometry model;

[0052] Step S420: Determine the elevation and azimuth angles of the interfering light source based on the incident direction vector;

[0053] Step S430: Based on the pitch and azimuth angles, determine at least one interference ray trajectory using ray tracing.

[0054] Specifically, the two-dimensional image center coordinates of each highlight area can be substituted into the ray propagation geometry model to obtain the corresponding three-dimensional spatial coordinates of each highlight area center on the plane of the vehicle's LCD display panel. Then, a three-dimensional spatial vector is constructed, starting from the driver's eye position (the origin of the vehicle's three-dimensional coordinate system) and ending at the three-dimensional spatial coordinates corresponding to the highlight area centers. The reverse vector of this three-dimensional spatial vector is determined as the incident direction vector of the corresponding interfering light source. This incident direction vector represents the propagation direction of the interfering light rays from the light source, through the center of the highlight area on the vehicle's LCD display panel, and finally into the driver's eyes. The ray propagation geometry model is based on the vehicle coordinate system, the installation parameters of the vehicle's image sensor, the spatial installation position of the vehicle's LCD display panel, and a pre-defined three-dimensional spatial geometry model of the driver's eye position. The ray propagation geometry model can be a specular reflection model.

[0055] Furthermore, the incident direction vector of the interfering light source is spatially decomposed, extracting its three components along the X, Y, and Z axes of the vehicle's three-dimensional coordinate system. Then, using trigonometric function formulas, the azimuth angle of the interfering light source is calculated based on the X-axis and Y-axis components of the incident direction vector; the pitch angle is calculated based on the Z-axis component of the incident direction vector and the magnitude of the projection vector onto the XY plane. These two angular parameters, azimuth and pitch, determine the spatial incident direction of the interfering light source relative to the vehicle and driver. The azimuth angle is the angle between the projection vector of the incident direction vector onto the XY horizontal plane of the vehicle's three-dimensional coordinate system and the Y-axis (the driving direction directly in front of the vehicle), representing the horizontal offset of the interfering light source relative to the front of the vehicle. A positive azimuth angle indicates the interfering light source is located to the right of the driving direction, while a negative azimuth angle indicates the interfering light source is located to the left of the driving direction. The pitch angle of the interference light source refers to the angle between the incident direction vector of the interference light source and the XY horizontal plane of the vehicle's three-dimensional coordinate system. It is used to reflect the vertical position of the interference light source. A positive pitch angle means that the interference light source is above the horizontal plane, and a negative pitch angle means that the interference light source is below the horizontal plane.

[0056] Furthermore, based on ray tracing, a three-dimensional spatial straight line can be constructed, starting from the driver's eye position (the origin of the vehicle's three-dimensional coordinate system) and using the pitch and azimuth angles as directional references, that perfectly coincides with the incident direction vector of the interfering light source. Then, the intersection point of this three-dimensional spatial straight line and the plane equation of the vehicle's LCD display panel is solved; this intersection point is the three-dimensional spatial coordinate point corresponding to the center of the highlight area. Finally, this three-dimensional spatial straight line is determined as the trajectory of the interfering light ray corresponding to the highlight area. Each independent highlight area corresponds to an independent interfering light ray trajectory, thus completely reconstructing the spatial propagation path of the interfering light. Ray tracing is based on the principle of light propagating in a straight line within a uniform medium in geometric optics, combined with pitch and azimuth angles, to calculate the complete spatial propagation path of the interfering light.

[0057] For example, taking the driver's eye position as the origin of the vehicle's three-dimensional coordinate system, with the vehicle's lateral direction as the X-axis, the driving direction as the Y-axis, and the vertical upward direction as the Z-axis; the plane equation of the vehicle's LCD display panel in the vehicle's three-dimensional coordinate system is set to Y=0.8m, meaning the panel is located 0.8 meters directly in front of the driver's eye point. During daytime driving on urban expressways, there are two highlight areas: the first highlight area corresponding to direct sunlight and the second highlight area corresponding to reflections from road surface water. The two-dimensional center coordinates of the two highlight areas are calculated to be (420, 180) and (680, 320), respectively. Substituting the two-dimensional center coordinates of the two highlight areas into the light propagation geometry model, the three-dimensional coordinates of the center of the first highlight area on the plane of the vehicle's LCD display panel are obtained as (-0.12m, 0.8m, 0.22m), and the three-dimensional coordinates of the center of the second highlight area are (0.15m, 0.8m, -0.08m). Starting from the driver's eye position, two 3D vectors corresponding to the centers of the two highlight regions are constructed: the 3D vector corresponding to the first highlight region is (-0.12, 0.8, 0.22), and the 3D vector corresponding to the second highlight region is (0.15, 0.8, -0.08). Reversing these two 3D vectors yields the incident direction vectors of the first and second interference sources as (0.12, -0.8, -0.22) and (-0.15, -0.8, 0.08), respectively. Subsequently, spatial decomposition is performed on the two incident direction vectors. Trigonometric functions are used to calculate the azimuth angle of the first interference source as -8.53° (located to the left of the driving direction) and the pitch angle as -15.26° (located above the horizontal plane). The azimuth angle of the second interference source is 10.62° (located to the right of the driving direction) and the pitch angle as 5.71° (located below the horizontal plane). Next, taking the driver's eye point as the origin and the pitch and azimuth angles of the two interfering light sources as the directional references, a three-dimensional spatial straight line is constructed to determine two independent interference light trajectories, namely the interference light trajectory corresponding to direct sunlight and the interference light trajectory corresponding to road surface water reflection.

[0058] In one embodiment of this application, step S140 involves obtaining the current driver's gaze direction. If the driver's gaze direction overlaps with the interference light trajectory, the current interference light trajectory is projected onto the vehicle's LCD display panel to form a projection area, and this projection area is defined as the target occlusion area. The method also includes the following steps: Figure 5 As shown, the specific content is as follows:

[0059] Step S510: Determine the driver's visible area based on the driver's line of sight;

[0060] Step S520: If the interference light trajectory is within the driver's visible area, then it is determined that there is an overlapping area between the driver's line of sight and the interference light trajectory.

[0061] Specifically, the driver's gaze direction refers to the three-dimensional spatial vector corresponding to the driver's real-time gaze direction in the driver's eye reference coordinate system under normal driving conditions. The driver's current gaze direction can be acquired in real-time by an onboard eye-tracking module, which is fixedly installed above the vehicle's dashboard, directly in front of the driver. This module consists of an infrared illumination unit, an infrared camera, and a gaze calculation unit. The onboard eye-tracking module uses the infrared camera to acquire real-time infrared images of the driver's eyes, identifies and locates the center position of the driver's pupils and the position of the corneal reflection spot, calculates the driver's real-time three-dimensional coordinates of the eye point and the gaze direction vector, and outputs the three-dimensional gaze direction vector. The driver's visible area refers to the area on the vehicle's windshield that the driver can clearly observe based on the current gaze direction under normal driving posture. Using the driver's eye position as the vertex and the line of sight vector as the central axis, combined with the set field of view angle, a three-dimensional visual cone is constructed. The range of this cone is the driver's current three-dimensional visual space. The intersection line between this three-dimensional visual cone and the plane of the vehicle LCD display panel is solved. The closed two-dimensional area enclosed by the intersection line is the driver's visible area. This area corresponds to the range that the driver can currently see on the vehicle LCD display panel. Pixels within the area are all within the driver's effective field of view, while pixels outside the area will not be observed by the driver.

[0062] Furthermore, the intersection point of the interfering light trajectory and the plane of the vehicle's LCD display panel is extracted, i.e., the position where the interfering light passes through the LCD display panel. It is then determined whether this intersection point falls within the driver's visible area. If the intersection point falls within the driver's visible area, the interfering light trajectory is determined to be within the driver's visible area. Finally, when the interfering light trajectory is within the driver's visible area, it can be determined that there is an overlap between the driver's line of sight and the interfering light trajectory. The interfering light will enter the driver's effective field of vision, directly shining into the driver's eyes and causing glare. If the intersection point of the interfering light trajectory does not fall within the driver's visible area, it is determined that there is no overlap, and the interfering light will not be seen by the driver.

[0063] Furthermore, along the three-dimensional propagation path of the interfering light rays, the entire trajectory of the interfering light rays is orthographically projected onto the three-dimensional plane where the vehicle's LCD display panel is located. The projected area formed by the orthographic projection is the actual two-dimensional pixel area where the interfering light rays pass through the vehicle's LCD display panel, corresponding to the actual incident position of the glare. The projected area formed by the orthographic projection is directly determined as the target occlusion area. To adapt to bumps during vehicle movement, dynamic changes in the driver's head posture, and real-time shifts in the incident angle of the interfering light rays, a safety margin of pixels with a preset width can be added outside the boundary of the projected area. For example, 5 pixels are set for urban road conditions, and 10 pixels are set for highway conditions, forming the final target occlusion area.

[0064] For example, there are two interfering light trajectories: interference light trajectory 1, corresponding to direct sunlight, with pixel coordinates of its intersection with the panel at (420, 180); and interference light trajectory 2, corresponding to reflections from roadside billboards, with pixel coordinates of its intersection with the panel at (1200, 900). The driver's current line of sight vector is (0.08, 0.8, -0.18), and the pixel coordinate range of the driver's visible area is (300, 100) to (800, 400), which is the area of ​​the panel that the driver can clearly observe. Subsequently, the intersection coordinates of the two interfering light trajectories with the display panel are extracted. The intersection point (420, 180) of interference light trajectory 1 falls within the driver's visible area of ​​(300, 100) - (800, 400). Therefore, it is determined that interference light trajectory 1 is within the driver's visible area, and it is confirmed that there is an overlap between the driver's line of sight and interference light trajectory 1. The intersection point (1200, 900) of the interfering light trajectory 2 does not fall within the driver's visible area. Therefore, it is determined that the interfering light trajectory 2 is not located within the driver's visible area and there is no overlapping area. Finally, the complete beam range of the interfering light trajectory 1 is projected onto the vehicle's LCD display panel to obtain a rectangular projection area with pixel coordinates ranging from (400, 150) to (500, 250). This rectangular projection area is the target occlusion area.

[0065] In one embodiment of this application, step S150, which involves obtaining the voltage value of a pixel unit within the vehicle-mounted liquid crystal display panel area corresponding to the current target occlusion area and determining the light transmittance of the current target occlusion area based on the voltage value, further includes the following steps: Figure 6 As shown, the specific content is as follows:

[0066] Step S610: Obtain the voltage value and transmittance of the vehicle-mounted LCD display panel;

[0067] Step S620: Establish a mathematical model of voltage value and light transmittance based on the voltage value and light transmittance of the vehicle LCD display panel;

[0068] Step S630: Based on the mathematical model, determine the transmittance of the current target occlusion area according to the voltage value of the pixel unit in the area of ​​the vehicle LCD panel corresponding to the target occlusion area.

[0069] Specifically, the voltage value of the automotive LCD panel refers to the driving voltage output by the automotive LCD panel driving module to each pixel unit. It is an adjustment parameter that controls the twisting angle of liquid crystal molecules and can be read in real time through the voltage acquisition interface built into the automotive LCD panel driving module. The transmittance of the automotive LCD panel refers to the proportion of visible light transmitted by the automotive LCD panel under the corresponding driving voltage. It is an indicator of the light-blocking effect and is measured in percentage (%). An array-type transmittance sensor can be used, corresponding to the automotive LCD panel, to obtain the actual transmittance of the pixel units.

[0070] Furthermore, the driving voltage and transmittance of a TN-LCD liquid crystal display panel exhibit a non-linear negative correlation. The lower the driving voltage, the smaller the twist angle of the liquid crystal molecules, and the higher the transmittance of the display panel; conversely, the higher the driving voltage, the larger the twist angle of the liquid crystal molecules, and the lower the transmittance of the display panel. Based on these characteristics, this application employs a non-linear polynomial fitting model as the mathematical model for the relationship between voltage and transmittance. Therefore, the mathematical model for the relationship between voltage and transmittance is:

[0071]

[0072] Where T is the transmittance of the pixel unit of the vehicle LCD display panel; U is the driving voltage value of the pixel unit of the vehicle LCD display panel; and a, b, and c are fitting coefficients.

[0073] Furthermore, the current driving voltage value of the pixel units within the corresponding area of ​​the vehicle-mounted LCD display panel is obtained through the voltage acquisition interface of the vehicle-mounted LCD display panel driver module. Next, the real-time driving voltage value of the pixel units within the target occlusion area is substituted into the voltage-transmittance mathematical model to calculate the real-time transmittance of each pixel unit. Finally, the arithmetic mean of the real-time transmittance of all pixel units within the target occlusion area is calculated to obtain the transmittance of the current target occlusion area.

[0074] In one embodiment of this application, in step S160, if the light transmittance exceeds a preset light transmittance threshold, the voltage value is adjusted step by step using a gradient descent algorithm; if the light transmittance does not exceed the preset light transmittance threshold, the voltage value adjustment is stopped, and the vehicle shading effect is confirmed to be activated.

[0075] Specifically, when the transmittance of the target occlusion area exceeds the preset transmittance threshold, it indicates that the current shading effect of the target occlusion area is insufficient and cannot completely eliminate the glare interference from strong light on the driver. Further adjustment of the driving voltage is needed to reduce the transmittance. The preset transmittance threshold is a critical value for achieving the shading effect pre-set based on the physiological characteristics of human glare perception, the critical standard for strong light interference in vehicle driving scenarios, and vehicle driving safety regulations. It can also be dynamically and adaptively adjusted according to the intensity of strong light interference, the driving scenario (urban roads / highways), and the individual visual characteristics of the driver.

[0076] Furthermore, a gradient descent algorithm is employed, using the difference between the transmittance of the target occluded area and a preset transmittance threshold as the loss function. The driving voltage of the pixel unit in the target occluded area is used as the optimization variable, and the negative correlation between driving voltage and transmittance is used as the iteration direction (the higher the driving voltage, the lower the transmittance). By setting a fixed voltage adjustment step size, the driving voltage of the target occluded area is iteratively adjusted step by step. After each voltage adjustment, the adjusted voltage value of the pixel unit in the target occluded area is immediately collected through the driving module. The real-time transmittance is recalculated using a mathematical model of voltage value and transmittance, and compared with the preset transmittance threshold again. If it still exceeds the threshold, the iterative adjustment continues until the transmittance does not exceed the preset transmittance threshold, at which point the loss function converges.

[0077] Furthermore, if the light transmittance does not exceed the preset light transmittance threshold, it means that the shading effect of the current target shading area has met the design requirements for eliminating glare interference, completely blocking strong light from directly entering the driver's eyes without causing excessive shading. Then, the iterative adjustment of the driving voltage of the pixel units in the target shading area is stopped, the driving voltage values ​​of all pixel units in the current target shading area are locked, and a confirmation signal for the activation of the vehicle shading effect is generated. This confirmation signal is simultaneously sent to the vehicle controller, the LCD panel driving module, and the driver status monitoring module.

[0078] For example, the panel driving voltage range is 0V-5V, the preset transmittance threshold is 10%, the voltage adjustment step is set to 0.2V, and after outputting an initial driving voltage of 3.0V to the target occluded area, the transmittance of the target occluded area is calculated to be 32%, which exceeds the preset transmittance threshold of 10%. The gradient descent algorithm is then triggered to adjust the voltage value step by step. In the first iteration, the voltage value is increased by 0.2V to 3.2V, and the calculated real-time transmittance is 28.8%, which still exceeds the preset transmittance threshold. The voltage value is then increased step by step in increments of 0.2V. After each voltage adjustment, the real-time transmittance is recalculated and compared with the threshold. The voltage iterative adjustment is completed sequentially at 3.4V, 3.6V, 3.8V, 4.0V, 4.2V, and 4.4V. When the voltage value is adjusted to 4.4V, the calculated transmittance of the target shading area is 9.6%, which does not exceed the preset transmittance threshold of 10%. The iterative adjustment of the driving voltage is immediately stopped, and the driving voltage value of 4.4V is locked. At the same time, a confirmation signal for the activation of the vehicle shading effect is generated.

[0079] In the above method, the gradient descent algorithm is used to adjust the voltage value of the target occlusion area. This can effectively avoid the problem of excessive shading caused by over-adjustment of voltage while ensuring the voltage adjustment response speed. It can also prevent unnecessary obstruction of the driver's normal driving vision. This ensures that the shading effect of the target occlusion area can completely eliminate the glare interference of strong light on the driver's vision, while preserving the normal light transmittance of the un-obstructed area of ​​the vehicle LCD display panel to the greatest extent.

[0080] In one embodiment of this application, after confirming that the vehicle-mounted sunshade effect is activated, step S160 further includes the following steps, such as... Figure 7 As shown, the specific content is as follows:

[0081] Step S710: Obtain the time series of transmittance of the region adjacent to the target occlusion area;

[0082] Step S720: Based on the transmittance time series, determine the average transmittance fluctuation value using the sliding window averaging method;

[0083] Step S730: If the average transmittance fluctuation value does not exceed the preset fluctuation threshold, then determine that the transmittance of the adjacent area is in a stable state and keep the current voltage value unchanged;

[0084] Step S740: If the average transmittance fluctuation value exceeds the preset fluctuation threshold, adjust the voltage value of the pixel unit in the adjacent vehicle display panel area.

[0085] Specifically, based on the pixel coordinate range of the target occlusion area, the pixel boundaries of adjacent areas are delineated, and the pixel coverage of adjacent areas is determined. Subsequently, the transmittance data of pixel units in adjacent areas are collected by the array-type transmittance sensor built into the vehicle's LCD panel according to a preset sampling frequency. The continuously collected transmittance data are sorted according to the chronological order of the collection timestamps to form a transmittance time series. The area adjacent to the occlusion area refers to the outer pixel area on the vehicle's LCD panel that is directly connected to the boundary of the target occlusion area. This area is not the target occlusion area and needs to maintain high transmittance under normal operating conditions to ensure the driver's normal observation of the surrounding road environment.

[0086] Furthermore, a sliding window averaging method is employed. By setting a fixed-length sliding time window, the transmittance time series data within the window is calculated using a piecewise arithmetic mean. This eliminates the interference of instantaneous ambient light changes and sensor noise on the fluctuation value calculation, reflecting the true trend of transmittance changes in adjacent areas. Next, the sliding window is continuously slid along the time axis of the transmittance time series, and the transmittance data within each sliding window is calculated using an arithmetic mean to obtain the average transmittance of each sliding window. Finally, the difference between the maximum and minimum values ​​of the average transmittance of the windows corresponding to the consecutive sliding windows is calculated; this difference is the final average transmittance fluctuation value.

[0087] Furthermore, the average transmittance fluctuation value is compared with a preset fluctuation threshold. If the average transmittance fluctuation value is less than or equal to the preset fluctuation threshold, it is determined that the transmittance of the adjacent area is stable, the local voltage adjustment of the target occlusion area does not cause perceptible optical interference to the surrounding unoccluded areas, and the high transmittance of the surrounding areas remains stable, without affecting the driver's normal driving vision. The preset fluctuation threshold is a critical transmittance fluctuation value pre-set based on vehicle driving safety regulations and the sensitivity of human vision to changes in brightness.

[0088] Furthermore, when the average transmittance fluctuation value exceeds the preset fluctuation threshold, it is determined that the transmittance of adjacent areas is in an abnormal fluctuation state. The local voltage adjustment of the target occlusion area causes significant optical crosstalk to the surrounding unoccluded areas, resulting in a brightness change in the transmittance of the surrounding areas that is perceptible to the human eye, posing a risk of affecting the driver's normal driving vision. Subsequently, the driving voltage value and transmittance of the pixel units in the adjacent areas are extracted and substituted into the mathematical model of voltage value and transmittance to calculate the target driving voltage value required to restore the transmittance of the adjacent areas to 80% high transmittance. Finally, the driving voltage value of the pixel units in the adjacent areas is finely adjusted through the TFT driving module of the vehicle LCD display panel to the calculated target voltage value, which cancels the transmittance fluctuation caused by optical crosstalk and restores the transmittance of the adjacent areas to a stable high transmittance state. After the adjustment is completed, steps S710 to S720 are executed again to verify whether the average transmittance fluctuation value of the adjacent areas meets the requirements.

[0089] For example, the driving voltage of the target occlusion area is locked at 4.4V, the width of the adjacent area is set to 20 pixels, the transmittance sampling frequency is 5 times per second, the sliding window size is 5 data points, and the preset fluctuation threshold is 2%. Based on the pixel coordinate range of the target occlusion area, the pixel coordinate range of the adjacent area is determined to be (375, 125) to (525, 275). Through the array-type transmittance sensor built into the panel, the transmittance data of the pixel units in the adjacent area is continuously collected at a frequency of 5 times per second. After collecting 10 sets of continuous data, the transmittance time series is formed by sorting according to the timestamp: 79.8%, 80.1%, 79.9%, 80.2%, 79.7%, 78.5%, 77.2%, 76.8%, 77.5%, 78.1%. The transmittance time series was processed using the sliding window averaging method. The window size was 5 data points and the step size was 1 data point. The average transmittance of the 6 sliding windows were calculated as follows: 79.94%, 79.90%, 79.90%, 79.86%, 77.88%, and 77.42%. The difference between the maximum and minimum values ​​of the average transmittance was calculated, and the average transmittance fluctuation value was found to be 2.52%. Next, the average transmittance fluctuation value of 2.52% is compared with the preset fluctuation threshold of 2%. Since 2.52% exceeds the preset fluctuation threshold of 2%, it is determined that the transmittance of the adjacent area is in an abnormal fluctuation state. The real-time driving voltage value of 0V and transmittance of the pixel unit in the adjacent area are extracted, and the target voltage value required to restore the transmittance to the standard value of 80% is calculated to be 0V. The driving voltage value of the pixel unit in the adjacent area is finely adjusted to -0.1V to cancel the optical crosstalk caused by the target occlusion area. After the adjustment is completed, the transmittance data of the adjacent area is re-acquired, and the new average transmittance fluctuation value is calculated to be 1.2%, which does not exceed the preset fluctuation threshold, so that the transmittance of the adjacent area is restored to a stable state.

[0090] In one embodiment of this application, after confirming that the vehicle-mounted sunshade effect is activated, step S160 further includes the following steps, such as... Figure 8 As shown, the specific content is as follows:

[0091] Step S810: Obtain the reference temperature value and ambient temperature value of the vehicle LCD display panel;

[0092] Step S820: If the deviation between the ambient temperature value and the reference temperature value exceeds the preset deviation threshold, the voltage value is optimized and adjusted based on the deviation between the ambient temperature value and the reference temperature value.

[0093] It should be noted that under extreme automotive temperature conditions, the electro-optical properties of liquid crystal molecules in TFT LCD screens change with temperature, leading to decreased transmittance control accuracy, ineffective sunshade, or excessive shading. For example, when the ambient temperature is lower than the reference temperature of the TFT LCD screen, the viscosity of the liquid crystal molecules increases. Under the same driving voltage, the twisting angle of the liquid crystal molecules is less than that at room temperature, resulting in higher actual transmittance of the display panel. This directly leads to insufficient shading and glare interference failure. Conversely, when the ambient temperature is higher than the reference temperature of the TFT LCD screen, the viscosity of the liquid crystal molecules decreases. Under the same driving voltage, the twisting angle of the liquid crystal molecules is greater than that at room temperature, resulting in lower actual transmittance of the display panel. This directly leads to excessive shading and compression of the driver's normal driving vision. Based on these issues, the voltage value needs to be optimized and adjusted according to the deviation between the ambient temperature and the reference temperature to ensure that the automotive sunshade effect is stable and controllable across the entire operating temperature range.

[0094] Furthermore, the reference temperature value for the automotive LCD panel is the temperature at which the TFT LCD screen operates normally, for example, a room temperature of 25°C can be selected as the reference temperature value. The ambient temperature value refers to the real-time ambient temperature of the LCD panel's liquid crystal layer during actual operation, which determines the viscosity and torsional electro-optical properties of TN-type liquid crystal molecules. This temperature can be collected in real-time by a thermistor temperature sensor fixed to the flexible circuit board of the automotive LCD panel.

[0095] Furthermore, when the deviation between the ambient temperature value and the reference temperature value exceeds a preset deviation threshold, the adjusted voltage value is optimized using a linear temperature compensation mathematical model. The linear temperature compensation mathematical model is as follows:

[0096]

[0097] in, To optimize the adjusted voltage value, This is the ambient temperature value. The reference temperature value This is the temperature compensation coefficient. This is the adjusted voltage value.

[0098] In the above steps, if the deviation value does not exceed the preset deviation threshold, it indicates that the impact of temperature changes on the transmittance of the target occluded area is within a controllable range, and no voltage adjustment is required. If the deviation value exceeds the preset deviation threshold, the linear temperature compensation model described above is used to calculate the temperature compensation amount and the optimized target voltage value. The driving voltage of the target occluded area is then updated to the optimized target voltage value through the TFT driving module of the vehicle LCD panel. After adjustment, the transmittance of the target occluded area is re-acquired to ensure it is still lower than the preset transmittance threshold, ensuring the occlusion effect continues to meet the standard and forming a closed-loop temperature compensation control. The setting of the preset deviation threshold needs to conform to the operating temperature range requirements of the vehicle display panel, covering the entire operating temperature range of the vehicle scenario, and also needs to match the transmittance control accuracy requirements.

[0099] For example, the reference temperature of the vehicle's LCD panel is 25℃, the preset deviation threshold is 5℃, and the temperature compensation coefficient α is 0.01. In a low-temperature driving scenario in winter, when the vehicle is driving on outdoor roads in northern winter, the temperature sensor built into the LCD panel collects the ambient temperature and obtains a stable ambient temperature value of -10℃. The temperature deviation between the ambient temperature value and the reference temperature value is then calculated. The temperature of 35℃ far exceeds the preset deviation threshold of 5℃. Substituting this into the linear temperature compensation model, the optimized voltage value is 4.75V. Then, the transmittance of the target shading area was re-collected, and the real-time transmittance under low-temperature conditions was found to be 7.8%, lower than the preset transmittance threshold of 10%. This solves the problem of insufficient shading caused by low temperatures without causing excessive shading, ensuring a stable and effective shading effect.

[0100] For example, in a scenario of high-temperature exposure to direct sunlight in summer, after a vehicle has been exposed to the sun outdoors and is driving on an urban expressway, the ambient temperature value displayed on the screen is 60℃ after being collected and preprocessed by a temperature sensor. The temperature deviation between this ambient temperature value and the reference temperature value is then determined. If the deviation exceeds the preset threshold of 5°C, the optimized voltage value of 4.05V is calculated by substituting it into the temperature compensation model. The driving voltage of the target shading area is updated to 4.05V through the TFT driving module. After adjustment, the transmittance is re-acquired, and the transmittance under high temperature is found to be 8.2%, which is still lower than the preset transmittance threshold of 10%. This avoids the problem of excessive shading caused by high temperature and fully guarantees the glare shading effect. Stable control over the entire temperature range is achieved based on the above steps.

[0101] This application also provides a vehicle-mounted sunshade intelligent dimming system based on TN-LCD, which may include an acquisition module, a first determination module, a second determination module, a third determination module, a fourth determination module, and an adjustment module. The system comprises the following modules: an acquisition module for acquiring environmental image data of the vehicle's LCD display panel facing the driver from the vehicle's driving direction (the LCD display panel is located on the windshield and faces the driver); a first determination module for generating a light intensity distribution feature map based on the environmental image data and determining the center coordinates of each highlight area based on the light intensity distribution feature map; a second determination module for acquiring a light propagation geometry model and determining at least one interfering light trajectory based on the center coordinates of each highlight area and the light propagation geometry model; a third determination module for acquiring the current driver's line of sight; if the driver's line of sight overlaps with the interfering light trajectory, the current interfering light trajectory is projected onto the LCD display panel to form a projection area, which is then defined as the target occlusion area; a fourth determination module for acquiring the voltage value of the pixel unit within the corresponding area of ​​the LCD display panel and determining the transmittance of the target occlusion area based on the voltage value; and an adjustment module for adjusting the voltage value step by step using a gradient descent algorithm if the transmittance exceeds a preset transmittance threshold; and for stopping the voltage adjustment and confirming that the vehicle's sunshade effect is activated if the transmittance does not exceed the preset transmittance threshold.

[0102] It should be noted that the embodiments of the TN-LCD vehicle-mounted sunshade intelligent dimming system provided in this application can be used to execute the processing flow of the embodiments of the TN-LCD vehicle-mounted sunshade intelligent dimming method in the above embodiments. Its functions will not be repeated here, but can be referred to the detailed description of the above method embodiments.

[0103] This application also provides an electronic device, which includes one or more processors and memory resources represented by a memory for storing instructions executable by the processor, such as application programs. The application programs stored in the memory may include one or more modules, each corresponding to a set of instructions. Furthermore, the processor is configured to execute instructions to perform the aforementioned TN-LCD in-vehicle intelligent dimming method for sunshades.

[0104] The electronic device may also include a power supply component configured to perform power management of the electronic device, a wired or wireless network interface configured to connect the electronic device to a network, and an input / output (I / O) interface. The electronic device can be operated based on operating devices stored in memory, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™, or similar.

[0105] In one embodiment, a computer device, which may be a server, is also provided. The computer device includes a processor, memory, input / output interfaces (I / O), and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is connected to the system bus via the I / O interfaces. The processor of the computer device provides computing and control capabilities. The memory of the computer device includes non-volatile storage media and internal memory. The non-volatile storage media stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device stores data. The I / O interfaces of the computer device are used for exchanging information between the processor and external devices. The communication interface of the computer device is used for communicating with external terminals via a network connection. When the computer program is executed by the processor, it implements a TN-LCD vehicle-mounted intelligent dimming method for sunshades.

[0106] In one embodiment, a computer device is provided, which may be a terminal. The computer device includes a processor, memory, input / output interface, communication interface, display unit, and input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interface. The processor of the computer device provides computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The input / output interface of the computer device is used for exchanging information between the processor and external devices. The communication interface of the computer device is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a TN-LCD vehicle-mounted intelligent dimming method for sunshades. The display unit of the computer device is used to form a visually visible image and may be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.

[0107] This application also provides a non-transitory computer-readable storage medium, which, when the instructions in the storage medium are executed by the processor of the electronic device, enables the electronic device to perform a TN-LCD vehicle-mounted intelligent dimming system method for sunshade.

[0108] This application may take the form of a computer program product implemented on one or more storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing program code. Computer-readable storage media include permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information may be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to: phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transfer medium that can be used to store information accessible by a computing device.

[0109] It should be noted that, in this document, the terms "comprising," "including," and any other variations are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Specific examples have been used in this document to illustrate the principles and implementation methods of the technical solutions of this application. The above examples are only for the purpose of helping to understand the methods and core ideas of this application. The above descriptions are merely preferred embodiments of this application. It should be pointed out that, due to the limitations of written expression and the objective existence of infinite specific structures, those skilled in the art can make several improvements, modifications, or changes without departing from the principles of this application, and can also combine the above technical features in an appropriate manner; these improvements, modifications, changes, or combinations, or the direct application of the concept and technical solutions of this application to other situations without modification, should all be considered within the scope of protection of this application.

[0110] It should be noted that although the steps of the TN-LCD vehicle-mounted intelligent dimming method for sunshades in this application are described in a specific order in the accompanying drawings, this does not require or imply that these steps must be performed in that specific order, or that all the steps shown must be performed to achieve the desired result. Additional or alternative steps, such as omitting certain steps, combining multiple steps into one step, and / or breaking down one step into multiple steps, should all be considered part of this application.

[0111] It should be understood that this application is not limited to the detailed structure and arrangement of the modules in the TN-LCD vehicle-mounted intelligent dimming system proposed in this specification. This application can have other embodiments and can be implemented and executed in various ways. The foregoing variations and modifications fall within the scope of this application. It should be understood that the invention and definition of this application extend to all alternative combinations of two or more individual features mentioned or apparent in the text and / or drawings. All these different combinations constitute multiple alternative aspects of this application. The embodiments described in this specification illustrate the best known mode for implementing this application and will enable those skilled in the art to utilize this application.

Claims

1. A vehicle-mounted intelligent dimming method for sunshades based on TN-LCD, characterized in that, include: Acquire environmental image data of the vehicle's in-vehicle LCD display panel, which is located on the vehicle's windshield and faces the driver, in the direction of the vehicle's driving. A light intensity distribution feature map is generated based on the environmental image data, and the center coordinates of each highlight region are determined based on the light intensity distribution feature map. Obtain a ray propagation geometry model, and determine at least one interfering ray trajectory based on the center coordinates of each of the specular regions and the ray propagation geometry model; The driver's current gaze direction is obtained. If the driver's gaze direction overlaps with the interference light trajectory, the current interference light trajectory is projected onto the vehicle LCD display panel to form a projection area, and the projection area is determined as the target occlusion area. Obtain the voltage value of the pixel unit in the area of ​​the vehicle LCD panel corresponding to the current target occlusion area, and determine the light transmittance of the current target occlusion area based on the voltage value; If the light transmittance exceeds a preset light transmittance threshold, the voltage value is adjusted step by step using a gradient descent algorithm; if the light transmittance does not exceed the preset light transmittance threshold, the voltage value is stopped from being adjusted, and the vehicle shading effect is confirmed to be activated.

2. The vehicle-mounted intelligent dimming method for sunshade based on TN-LCD according to claim 1, characterized in that, The step of determining the light intensity distribution feature map based on the environmental image data includes: Determine grayscale image data based on the environmental image data; Calculate the grayscale value of each pixel in the grayscale image data, and generate a grayscale histogram based on the grayscale values; Obtain the mapping relationship between grayscale values ​​and light intensity values, and determine the light intensity value of each pixel based on the grayscale histogram according to the mapping relationship; A light intensity distribution feature map is generated based on the light intensity value of each pixel.

3. The vehicle-mounted intelligent dimming method for sunshade based on TN-LCD according to claim 1, characterized in that, Determining the center coordinates of each highlight region based on the light intensity distribution feature map includes: If the light intensity value of a pixel in the light intensity distribution feature map exceeds a preset light intensity value threshold, the current pixel is marked as a highlight pixel, and a highlight pixel set is generated based on the highlight pixel. Based on the highlighted pixels, a connected component analysis algorithm is used to determine each highlighted region, and the boundary range of each highlighted region is determined according to the highlighted region. Based on the boundary range of each of the said highlight regions, the average coordinates of the pixels within each of the said highlight regions are calculated, and the average coordinates are used as the center coordinates of each highlight region.

4. The vehicle-mounted intelligent dimming method for sunshade based on TN-LCD according to claim 1, characterized in that, Determining at least one interfering ray trajectory based on the center coordinates of each of the specular regions and the ray propagation geometry model includes: Based on the center coordinates of each of the said highlight regions and the light propagation geometry model, determine the incident direction vector of at least one interfering light source; The pitch and azimuth angles of the interfering light source are determined based on the incident direction vector. Based on the pitch angle and the azimuth angle, at least one of the interference light trajectories is determined using ray tracing.

5. The vehicle-mounted intelligent dimming method for sunshade based on TN-LCD according to claim 1, characterized in that, Determining that the driver's line of sight overlaps with the trajectory of the interfering light beam includes: The driver's visible area is determined based on the driver's line of sight. If the trajectory of the interfering light is within the driver's visible area, then it is determined that there is an overlap between the driver's line of sight and the trajectory of the interfering light.

6. The vehicle-mounted intelligent dimming method for sunshade based on TN-LCD according to claim 1, characterized in that, Determining the transmittance of the current target occlusion area based on the voltage value includes: Obtain the voltage value and transmittance of the vehicle-mounted LCD display panel; A mathematical model of voltage and transmittance is established based on the voltage and transmittance of the vehicle-mounted LCD display panel. Based on the mathematical model, the transmittance of the target occlusion area is determined according to the voltage value of the pixel unit in the area of ​​the vehicle-mounted liquid crystal display panel corresponding to the target occlusion area.

7. The vehicle-mounted intelligent dimming method for sunshade based on TN-LCD according to claim 1, characterized in that, After confirming that the vehicle sunshade effect is activated, the following steps are also included: Obtain the time series of light transmittance of the region adjacent to the target occlusion area; Based on the transmittance time series, the average transmittance fluctuation value is determined by the sliding window averaging method. If the average transmittance fluctuation value does not exceed the preset fluctuation threshold, then the transmittance of the adjacent area is determined to be in a stable state, and the current voltage value remains unchanged. If the average transmittance fluctuation value exceeds the preset fluctuation threshold, the voltage value of the pixel unit in the vehicle display panel area corresponding to the adjacent area is adjusted.

8. The vehicle-mounted intelligent dimming method for sunshade based on TN-LCD according to claim 1, characterized in that, After confirming that the vehicle sunshade effect is activated, the following steps are also included: Obtain the reference temperature value and ambient temperature value of the vehicle-mounted LCD display panel; If the deviation between the ambient temperature value and the reference temperature value exceeds a preset deviation threshold, the voltage value is optimized and adjusted based on the deviation between the ambient temperature value and the reference temperature value.

9. A vehicle-mounted intelligent sunshade dimming system based on TN-LCD, characterized in that, include: The acquisition module is used to acquire environmental image data of the vehicle's in-vehicle LCD display panel facing the driver in the direction of vehicle driving. The in-vehicle LCD display panel is located on the vehicle's windshield and faces the driver. The first determining module is used to generate a light intensity distribution feature map based on the environmental image data, and to determine the center coordinates of each highlight region based on the light intensity distribution feature map. The second determining module is used to acquire the light propagation geometry model and determine at least one interfering light trajectory based on the center coordinates of each of the specular regions and the light propagation geometry model. The third determining module is used to obtain the current driver's line of sight. If the driver's line of sight overlaps with the trajectory of the interfering light, the current trajectory of the interfering light is projected onto the vehicle LCD display panel to form a projection area, and the projection area is determined as the target occlusion area. The fourth determining module is used to obtain the voltage value of the pixel unit in the area of ​​the vehicle-mounted liquid crystal display panel corresponding to the current target occlusion area, and determine the light transmittance of the current target occlusion area based on the voltage value; The adjustment module is used to adjust the voltage value step by step using a gradient descent algorithm if the light transmittance exceeds a preset light transmittance threshold; if the light transmittance does not exceed the preset light transmittance threshold, the adjustment of the voltage value is stopped and the vehicle shading effect is confirmed to be activated.