Method and related device for controlling light transmittance based on strong light glare state recognition of vehicle
By implementing a transmittance control method based on the recognition of strong light glare state in the vehicle body domain control system, the light transmittance of the electrochromic windshield is dynamically adjusted, and the problems of complex algorithms and low processing efficiency in the prior art are solved, and the stability of the vehicle control system and the strong light reduction effect are improved.
Patent Information
- Application Number
- CN202211654908.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-22
- Publication Date
- 2025-05-27
- Estimated Expiration
- 2042-12-22
AI Technical Summary
The algorithm used in the prior art to reduce strong light glare is too complex and the processing efficiency is not high, resulting in excessive workload of the vehicle terminal, affecting the stability of the overall control system.
By implementing a transmittance control method based on the recognition of strong light glare state in the vehicle body domain control system, the sensor module is used to detect the driver's driving attitude and light environment, determine the transmittance of the target area of the electrochromic windshield, and dynamically adjust to reduce the impact of strong light on the human eye.
The algorithm is simplified, processing efficiency is improved, the workload of the body domain controller is reduced, the stability of the overall control system of the vehicle is enhanced, and the impact of strong light and glare on the human eye is effectively reduced.
Smart Images

Figure CN115817128B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the general data processing technical field of the Internet industry, and specifically relates to a light transmittance control method and related device for a vehicle based on strong light glare state recognition. Background Art
[0002] During the driving process, a driver is usually dazzled by strong light irradiation. Specifically, the strong light irradiation includes strong sunlight irradiation, high beam irradiation from oncoming vehicles, etc., resulting in potential safety hazards during driving. In the prior art, the solution to this problem is to calculate and estimate the intersection area of the line connecting the light and the human eye's line of sight on the electrochromic windshield through a complex algorithm, so as to control the light transmittance of this intersection area to reduce the impact of light on the human eye. However, the algorithm of this solution is too complex, the processing efficiency is not high, and the in-vehicle terminal needs to bear a large workload. In the case where important functions such as autonomous driving assistance control are running simultaneously on the in-vehicle terminal, if a large workload is shared due to this sub-function, it is easy to cause excessive wear of the in-vehicle terminal. Summary of the Invention
[0003] This application provides a light transmittance control method and related device for a vehicle based on strong light glare state recognition, aiming to solve the above technical problems, improve the processing efficiency, relieve the workload of the body domain controller at the same time, and improve the stability of the overall vehicle control system.
[0004] In a first aspect, an embodiment of this application provides a light transmittance control method for a vehicle based on strong light glare state recognition, which is applied to a body domain controller of a body domain control system of a target vehicle. The body domain control system includes the body domain controller, an electrochromic windshield, and a sensor module disposed on the body of the target vehicle. The body domain controller is respectively connected to the electrochromic windshield and the sensor module. The method includes:
[0005] When it is detected by the sensor module that the target vehicle is in a driving state, detect the driving posture of the driver during the current driving process, where the driving posture includes the state of the driver's head and the positions of both eyes;
[0006] Determine a plurality of reference gaze directions of the driver during the current driving process according to the driving posture, where the reference gaze direction refers to the gaze direction of the driver when controlling the vehicle to go straight or turn during the current driving process;
[0007] Determine a plurality of reference gaze points on the electrochromic windshield according to the plurality of reference gaze directions;
[0008] Connect at least three outermost reference fixation points among the multiple reference fixation points to obtain a target area of the electrochromic windshield. The light transmittance of the target area is the reference light transmittance, and the target area is used to indicate the driver's line of sight range;
[0009] Detect the light environment of the target vehicle during the current driving process. The light environment includes a strong light environment and a weak light environment;
[0010] If the target vehicle is in the strong light environment, control the light transmittance of the target area to decrease from the reference light transmittance to the target light transmittance;
[0011] If the target vehicle is in the weak light environment, determine whether the light in the target area belongs to glare light;
[0012] If so, control the light transmittance of the target area to decrease from the reference light transmittance to the target light transmittance;
[0013] If not, keep the light transmittance of the target area as the reference light transmittance.
[0014] Second aspect, an embodiment of the present application provides a transmittance control device for a vehicle based on glare state recognition, which is applied to a body domain controller of a body domain control system of a target vehicle. The body domain control system includes the body domain controller, an electrochromic windshield, and a sensor module disposed on the body of the target vehicle. The body domain controller is respectively connected to the electrochromic windshield and the sensor module. The device includes: a first detection unit, configured to detect a driving posture of a driver during a current driving process when it is detected by the sensor module that the target vehicle is in a driving state, where the driving posture includes the state of the driver's head and the positions of both eyes; a first determination unit, configured to determine a plurality of reference gaze directions of the driver during the current driving process according to the driving posture, where the reference gaze direction refers to the gaze direction of the driver when controlling the vehicle to go straight or turn during the current driving process; a second determination unit, configured to determine a plurality of reference gaze points on the electrochromic windshield according to the plurality of reference gaze directions; a connection unit, configured to connect at least three outermost reference gaze points among the plurality of reference gaze points to obtain a target area of the electrochromic windshield, where the transmittance of the target area is a reference transmittance, and the target area is used to indicate the line-of-sight range of the driver; a second detection unit, configured to detect a light environment of the target vehicle during the current driving process, where the light environment includes a strong light environment and a weak light environment; a control unit, configured to, if the target vehicle is in the strong light environment, control the transmittance of the target area to be reduced from the reference transmittance to a target transmittance; a judgment unit, configured to, if the target vehicle is in the weak light environment, judge whether the light in the target area belongs to glare light; if so, control the transmittance of the target area to be reduced from the reference transmittance to the target transmittance; if not, keep the transmittance of the target area as the reference transmittance.
[0015] Third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, and one or more programs. The one or more programs are stored in the memory and are configured to be executed by the processor. The programs include instructions for performing the steps in the first aspect of the embodiments of the present application.
[0016] Fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program / instructions are stored. When the computer program / instructions are executed by a processor, the steps in the first aspect of the embodiments of the present application are implemented.
[0017] Fifth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute some or all of the steps described in the first aspect of the embodiment of the present application.
[0018] It can be seen that in the embodiment of the present application, the body domain controller first detects through the sensor module that the target vehicle is in a driving state. At this time, the driving posture of the driver is detected, and then multiple reference gaze directions of the driver during the current driving process are determined according to the driving posture. Then, multiple reference gaze points on the electrochromic windshield are determined according to the multiple reference gaze directions, so as to determine the target area on the electrochromic windshield; then the light environment of the target vehicle during the current driving process is detected. If the target vehicle is in a strong light environment, the light transmittance of the target area is controlled to decrease from the reference light transmittance to the target light transmittance to weaken the influence of light on the human eye; if it is detected that the target vehicle is in a weak light environment, it is determined whether the light in the target area belongs to glare light. If so, the light transmittance of the target area is controlled to decrease from the reference light transmittance to the target light transmittance, and if not, the light transmittance of the target area is maintained at the reference light transmittance. In this way, the redundant and complex algorithms in the prior art are abandoned. By a simpler and more effective algorithm, while reducing the influence of strong light and glare light on the human eye, the processing efficiency of the body domain controller is improved, the working load of the body domain controller is reduced, so that it can allocate more computing power to other functions, and the stability of the overall vehicle control system is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the following drawings are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0020] Figure 1 is a structural block diagram of a body domain control system provided by an embodiment of the present application;
[0021] Figure 2 is a schematic flowchart of a light transmittance control method for a vehicle based on strong light glare state recognition provided by an embodiment of the present application;
[0022] Figure 3 is a schematic diagram of an example of a target area provided by an embodiment of the present application;
[0023] Figure 4a is a functional unit composition block diagram of a light transmittance control device for a vehicle based on strong light glare state recognition provided by an embodiment of the present application;
[0024] Figure 4b It is a functional unit composition block diagram of another light transmittance control device for a vehicle based on strong light dazzling state provided by an embodiment of the present application;
[0025] Figure 5 It is a structural block diagram of an electronic device provided by an embodiment of the present application. Detailed implementation manners
[0026] In order to enable those skilled in the art to better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without making creative efforts belong to the scope of protection of the present application.
[0027] The terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally further includes steps or units not listed, or optionally further includes other steps or units inherent to these processes, methods, products or devices.
[0028] Referring to "embodiment" herein means that a specific feature, structure or characteristic described in conjunction with the embodiment can be included in at least one embodiment of the present application. The phrase appears in various places in the specification and does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art explicitly and implicitly understand that the embodiments described herein can be combined with other embodiments.
[0029] Please refer to Figure 1 , Figure 1 It is a structural block diagram of a body domain control system provided by an embodiment of the present application. As Figure 1 shown, the body domain control system 10 includes the body domain controller 11, the electrochromic windshield 12, and the sensor module 13 disposed on the body of the target vehicle. The body domain controller 11 is respectively connected to the electrochromic windshield 12 and the sensor module 13.
[0030] Among them, the vehicle body domain controller 11 is used to receive various data collected by the sensor module 13, and process and analyze the collected data. After meeting certain trigger conditions, the vehicle body domain controller 11 can change the light transmittance of the target area of the electrochromic windshield 12 by adjusting the voltage of the color-changing control end of the electrochromic windshield 12, so as to weaken the influence of strong glare light on the human eye.
[0031] Among them, the sensor module 13 includes an external sensor for real-time detection of information about the surrounding environment of the target vehicle and an internal sensor for detecting the driving posture of the driver. The external sensors include at least one on-vehicle camera device, a speed measurement sensor, an ambient light sensor, and a global positioning system (GPS) receiver mounted on the front side, side, and rear side of the vehicle, etc.
[0032] The following introduces a light transmittance control method for a vehicle based on the recognition of strong glare states provided by an embodiment of the present application.
[0033] Please refer to Figure 2 , Figure 2 which is a schematic flowchart of a light transmittance control method for a vehicle based on the recognition of strong glare states provided by an embodiment of the present application. The method is applied to the vehicle body domain controller 11 in the vehicle body domain control system 10 as shown in Figure 1 and the method includes:
[0034] Step 201, when it is detected by the sensor module that the target vehicle is in a driving state, detect the driving posture of the driver during the current driving process.
[0035] Among them, the driving posture includes the state of the driver's head and the positions of both eyes. Specifically, the sensor module includes a speed measurement sensor, and the driving speed of the target vehicle can be detected by the speed measurement sensor to determine whether it is in a driving state; and the state of the driver's head can be detected by an in-vehicle camera device. For example, by analyzing the image collected by the in-vehicle camera device, with the driver facing directly forward as the reference point, the angle of the driver's head twist is detected, and then the state of the driver's head is determined; and the distance calculation and pupil position detection can be performed by shooting the picture with the in-vehicle camera device, and the Purkinje spot of the driver's eyes reflecting near-infrared light is photographed by a near-infrared camera and a near-infrared light source.
[0036] Step 202, determine multiple reference gaze directions of the driver during the current driving process according to the driving posture.
[0037] Wherein, the reference gaze direction refers to the gaze direction of the driver when controlling the vehicle to go straight or turn during the current driving process. Specifically, the reference gaze direction can be calculated by the method of pupil corneal reflection gaze tracking according to the eye position, pupil position and Purkinje spot position.
[0038] Step 203: Determine a plurality of reference gaze points on the electrochromic windshield according to the plurality of reference gaze directions.
[0039] Wherein, from a geometric dimension, the reference gaze point is the intersection point of the ray formed by the reference gaze direction and the electrochromic windshield, that is, the reference gaze direction corresponds to the reference gaze point one by one. Since there are multiple reference gaze directions of the driver during driving, there are also multiple corresponding reference gaze points.
[0040] Step 204: Connect at least three outermost reference gaze points among the plurality of reference gaze points to obtain the target area of the electrochromic windshield, and the light transmittance of the target area is the reference light transmittance.
[0041] Wherein, the target area is used to indicate the driver's line of sight range. Please refer to Figure 3 , Figure 3 which is a schematic diagram of an example of a target area provided by an embodiment of the present application. As shown in Figure 3 , the electrochromic windshield 30 includes a plurality of reference gaze points, such as gaze point 301, gaze point 302, gaze point 303, gaze point 304, gaze point 305, gaze point 306, gaze point 307 ( Figure 3 only 7 reference gaze points are shown in the figure for auxiliary explanation, and there may be more or fewer reference gaze points in the actual scenario). Among them, gaze point 301, gaze point 302, gaze point 303, gaze point 304 and gaze point 305 are the outermost reference gaze points among the plurality of reference gaze points, and connecting the above five outermost reference gaze points obtains the target area 31. It can be understood that the electrochromic windshield 30 is the electrochromic windshield 12 in the foregoing embodiment.
[0042] Step 205: Detect the light environment of the target vehicle during the current driving process, where the light environment includes a strong light environment and a weak light environment.
[0043] If the target vehicle is in the strong light environment, execute step 206; if the target vehicle is in the weak light environment, execute step 207.
[0044] Wherein, the light in the strong light environment is likely to cause glare to the human eye after irradiating the human eye, such as a sunny day.
[0045] Step 206: Control the light transmittance of the target area to decrease from the reference light transmittance to the target light transmittance;
[0046] Among them, the higher the light transmittance, the brighter the field of view. The reference light transmittance refers to the initial light transmittance of the electrochromic windshield, which is the most suitable light transmittance for the human eye when driving in a normal environment. When the driver's eyes are irradiated by strong light, the light transmittance of the target area is reduced so that the light passing through the windshield is weakened, thereby reducing the impact of strong light on the human eye. Among them, the target light transmittance can be the most suitable light transmittance for strong light irradiation obtained according to experimental data. The most suitable light transmittance for strong light irradiation means that it can not only reduce the impact of strong light on the human eye to avoid glare, but also not overly block the road view so that the driver can still clearly see the road conditions ahead. Optionally, the target light transmittance can also be a value set differently according to the different tolerances of different drivers' eyes to light stimulation.
[0047] Step 207: Determine whether the light in the target area belongs to glare light.
[0048] If so, execute Step 206; if not, execute Step 208.
[0049] Among them, the glare light refers to the light that will cause glare to the driver in a low-light environment. For example, when oncoming vehicles illegally turn on high beams (glare light) at dusk (low-light environment).
[0050] Step 208: Keep the light transmittance of the target area as the reference light transmittance.
[0051] It can be seen that in the embodiment of the present application, the body domain controller first detects that the target vehicle is in a driving state through the sensor module. At this time, the driving posture of the driver is detected, and then multiple reference gaze directions of the driver during the current driving process are determined according to the driving posture. Then, multiple reference gaze points on the electrochromic windshield are determined according to the multiple reference gaze directions, so as to determine the target area on the electrochromic windshield. Then, the light environment of the target vehicle during the current driving process is detected. If the target vehicle is in a strong light environment, the transmittance of the target area is controlled to decrease from the reference transmittance to the target transmittance to weaken the influence of light on the human eye. If it is detected that the target vehicle is in a low light environment, it is determined whether the light in the target area is glare light. If so, the transmittance of the target area is controlled to decrease from the reference transmittance to the target transmittance, and if not, the transmittance of the target area is maintained at the reference transmittance. In this way, the redundant and complex algorithms in the prior art are abandoned. By a simpler and more effective algorithm, while reducing the influence of strong light and glare light on the human eye, the processing efficiency of the body domain controller is improved, the working load of the body domain controller is reduced, so that it can allocate more computing power to other functions, and the stability of the overall vehicle control system is improved.
[0052] In a possible example, the sensor module includes an ambient light sensor. The detecting the light environment of the target vehicle during the current driving process includes: detecting an ambient light data group of the current driving environment through the ambient light sensor, where the ambient light data group includes ambient light color and ambient light brightness; determining the light environment of the target vehicle during the current driving process according to the ambient light data group.
[0053] Exemplarily, it is assumed that noon and dusk correspond to a strong light environment and a low light environment respectively. The ambient light color and ambient light brightness collected by the ambient light sensor at noon and dusk are different, that is, strong light and low light have different ambient light colors and ambient light brightness, and the ambient light color can be represented by RGB values.
[0054] It can be seen that in this example, the body domain controller collects the ambient light data group of the current driving environment through the ambient light sensor, and thus determines the light environment during the current driving process according to the ambient light data group, improving the accuracy of light environment recognition, and the steps are simple, which can effectively improve the processing efficiency of the body domain controller and reduce the working load.
[0055] In other possible examples, the image of the vehicle ahead can also be collected by the in-vehicle camera device in the sensor module, and the light environment can be judged based on the state of the light and shadow of the vehicle ahead in the image. For example, under the sunlight on a sunny day, the color of the shadow of the vehicle ahead on the ground will be darker. That is, the light environment can be judged as a strong light environment or a weak light environment based on the light and dark color of the light and shadow. At the same time, the offset position of the light and shadow relative to the vehicle ahead itself can also be combined to improve the judgment accuracy.
[0056] In a possible example, determining the light environment of the target vehicle during the current driving process according to the ambient light data group includes: querying a pre-stored light intensity mapping relationship table according to the ambient light color and ambient light brightness of the current driving environment to obtain the light intensity of the current driving environment, where the pre-stored light intensity mapping relationship table includes the mapping relationships between multiple ambient light data groups and multiple light intensities; if the light intensity of the current driving environment is greater than or equal to a first preset light intensity, it is determined that the target vehicle is in the strong light environment; if the light intensity of the current driving environment is less than the first preset light intensity, it is determined that the target vehicle is in the weak light environment.
[0057] Among them, the pre-stored light intensity mapping relationship table can be obtained by analyzing historical experimental data. Each ambient light data group, that is, a value of ambient light color and a value of ambient light brightness, corresponds to a value of light intensity. In this example, the light intensity is one of the manifestations of whether the current light environment is a strong light environment or a weak light environment. The critical situation when the human eye has a dazzling feeling is determined according to historical data analysis, and the light intensity in this situation, that is, the first preset light intensity, is determined. At this time, when the light intensity of the light is greater than or equal to the first preset light intensity, the human eye has a dazzling feeling, that is, a strong light environment, and when the light intensity of the light is less than the first preset light intensity, the human eye does not have a dazzling feeling, that is, a weak light environment.
[0058] It can be seen that in this example, the body domain controller determines the light intensity of the current driving environment by querying the pre-stored light intensity mapping relationship table, and then compares it with the first preset light intensity corresponding to the critical situation when the human eye has a dazzling feeling, so as to determine the light environment in which the target vehicle is currently located, improving the accuracy of light environment recognition, and the steps are simple, which can effectively improve the processing efficiency of the body domain controller and reduce the workload.
[0059] In a possible example, if the target vehicle is in the low-light environment, determining whether the light in the target area belongs to glare light includes: if the target vehicle is in the low-light environment, detecting the road section type of the road section where the target vehicle is currently located, the road section type including a tunnel road section and a non-tunnel road section, the tunnel road section including a first tunnel road section and a second tunnel road section, the first tunnel road section referring to a tunnel road section without a lighting function, and the second tunnel road section referring to a tunnel road section with a lighting function; if it is detected that the road section type of the road section where the target vehicle is currently located is the first tunnel road section, detecting whether the light in the target area comes from the brake indicator light of the vehicle ahead in the driving direction of the target vehicle; if so, determining that the light in the target area does not belong to glare light; if not, detecting whether the illumination intensity of the light in the target area is greater than or equal to a second preset illumination intensity, the second preset illumination intensity being less than the first preset illumination intensity, the second preset illumination intensity referring to the critical illumination intensity at which human eyes have a glare sensation in the first tunnel road section; if so, determining that the light in the target area belongs to glare light; if not, determining that the light in the target area does not belong to glare light.
[0060] Among them, the low-light environment includes multiple specific low-light scenarios, such as a low-light tunnel road section and a low-light non-tunnel road section. The low-light tunnel road section includes a first tunnel road section without a lighting function and a second tunnel road section with a lighting function. Among them, when the vehicle is driving on a low-light non-tunnel road section or on the second tunnel road section, the driving environment at this time has a certain intensity of light to illuminate the road, but the illumination intensity does not reach the level that causes glare to human eyes. However, when the vehicle is driving on the first tunnel road section, the driving environment is darker at this time, and the acceptable ability of human eyes to light is much lower than that in other bright scenes, that is, the preset illumination intensity that can cause glare to human eyes will be relatively low in this scene, that is, the second preset illumination intensity is less than the first preset illumination intensity. At this time, if the illumination intensity of the brake indicator light of the vehicle ahead is greater than the second preset illumination intensity, it will be misidentified as glare light, thereby reducing the light transmittance of the target area, and may cause the driver not to notice the braking of the vehicle ahead, easily leading to traffic accidents. Therefore, before determining whether the light belongs to glare light according to the illumination intensity of the light, it is necessary to first determine whether the light in the target area comes from the brake indicator light of the vehicle ahead. If so, it is determined that the light does not belong to glare light. If not, then it is determined whether the light belongs to glare light according to the magnitude relationship between the illumination intensity of the light in the target area and the second preset illumination intensity.
[0061] It can be seen that in this example, when the target vehicle is driving on a tunnel section without light, the body domain controller will first detect whether the light in the target area comes from the brake indicator light of the vehicle in front. If so, it is determined that it does not belong to the glare light. If not, it will further determine whether it belongs to the glare light according to the light intensity, thereby improving the accuracy of glare light recognition in low-light scenarios.
[0062] In a possible example, the detecting whether the light in the target area comes from the brake indicator light of the vehicle in front in the driving direction of the target vehicle includes: collecting a reference image of the vehicle in front; determining the vehicle characteristics of the vehicle in front according to the reference image; querying a pre-stored brake light data mapping relationship table according to the vehicle characteristics of the vehicle in front to obtain a reference ambient light data group of the brake light of the vehicle in front, and the pre-stored brake light data mapping relationship table includes the mapping relationship between multiple vehicle characteristics and multiple reference ambient light data groups of the brake light; detecting whether the ambient light data group of the light in the target area is the same as the reference ambient light data group of the brake light of the vehicle in front; if so, it is determined that the light in the target area comes from the brake indicator light of the vehicle in front in the driving direction of the target vehicle; if not, it is determined that the light in the target area does not come from the brake indicator light of the vehicle in front in the driving direction of the target vehicle.
[0063] Among them, the vehicle characteristics of the vehicle in front may include multiple sub-characteristics, such as the vehicle contour, brand, and series of the vehicle in front. Each sub-characteristic combination forms the vehicle characteristics of the vehicle. The pre-stored brake light data mapping relationship table can be obtained according to historical data statistics. For example, vehicle A has vehicle characteristics B. In the historical data obtained, the ambient light data group of the brake light of vehicle A is data group C. Then it is determined that vehicle characteristics B correspond to data group C and enter it into the pre-stored brake light data mapping relationship table, so that the body domain controller can query the pre-stored brake light data mapping relationship table according to the vehicle characteristics of the vehicle in front to obtain the reference ambient light data group of the brake light of the vehicle in front, and then determine whether the light in the target area comes from the brake indicator light of the vehicle in front by obtaining whether the ambient light data group of the light in the target area is the same as the reference ambient light data group.
[0064] It can be seen that in this example, the body domain controller collects and analyzes the image of the vehicle in front, extracts the vehicle characteristics of the vehicle in front based on the image, queries the reference ambient light data group of the brake light of the vehicle in front according to the vehicle characteristics, thereby determining whether the light in the target area comes from the brake indicator light of the vehicle in front, improving the accuracy of brake indicator light recognition and also improving the accuracy of glare light recognition.
[0065] In a possible example, determining the vehicle features of the vehicle ahead according to the reference image includes: extracting the vehicle logo and vehicle contour of the vehicle ahead from the reference image; determining the vehicle brand of the vehicle ahead according to the vehicle logo; and determining the vehicle features of the vehicle ahead according to the vehicle brand and the vehicle contour.
[0066] Among them, the vehicle logo corresponds to the vehicle brand, and different types / series of vehicles under the same vehicle brand also have different vehicle contours. Therefore, the vehicle features of the vehicle can be determined according to the vehicle brand and vehicle contour of the vehicle ahead. Optionally, the vehicle features of the vehicle can also be determined by other detailed features. It can be understood that the more detailed features are extracted from the reference image, the more accurate the determined vehicle features are, and the more accurate the obtained reference ambient light data set of the brake light is.
[0067] It can be seen that in this example, the body domain controller extracts the vehicle logo and vehicle contour of the vehicle ahead from the reference image, determines the vehicle brand according to the vehicle logo, and then determines the vehicle features according to the vehicle brand and vehicle contour, improving the accuracy of vehicle feature extraction, thereby improving the accuracy of brake indicator recognition and the accuracy of glare light recognition.
[0068] In a possible example, if the target vehicle is in the low-light environment, determining whether the light in the target area belongs to glare light further includes: if it is detected that the road segment type where the target vehicle is currently located is the non-tunnel road segment or the second tunnel road segment, detecting whether the illumination intensity of the light in the target area is greater than or equal to the first preset illumination intensity; if so, determining that the light in the target area belongs to glare light; if not, determining that the light in the target area does not belong to glare light.
[0069] Among them, when the target vehicle is driving on a non-tunnel road segment or a second tunnel road segment with a lighting function, since there is light with a certain illumination intensity for road lighting, the acceptable ability of the human eye to light stimulation is at a normal level, that is, the critical illumination intensity causing eye glare is the first preset illumination intensity. Therefore, it is possible to determine whether the light in the target area belongs to glare light by comparing the illumination intensity of the light in the target area with the first preset illumination intensity.
[0070] It can be seen that in this example, when the target vehicle is driving on a non-tunnel road segment or a second tunnel road segment, the body domain controller determines whether the light in the target area belongs to glare light by comparing the illumination intensity of the light in the target area with the first preset illumination intensity, improving the accuracy of glare light recognition.
[0071] Consistent with the embodiments described above, please refer to Figure 4a , Figure 4a which is a functional unit composition block diagram of a light transmittance control device for a vehicle based on glare state recognition provided by an embodiment of the present application. The device is applied to a body domain controller 11 as shown in Figure 1 . The light transmittance control device 40 for a vehicle based on glare state recognition includes: a first detection unit 401, configured to detect a driving posture of a driver during a current driving process when it is detected by the sensor module that the target vehicle is in a driving state, where the driving posture includes a state of the driver's head and positions of both eyes; a first determination unit 402, configured to determine a plurality of reference gaze directions of the driver during the current driving process according to the driving posture, where the reference gaze direction refers to a gaze direction of the driver when controlling the vehicle to go straight or turn during the current driving process; a second determination unit 403, configured to determine a plurality of reference gaze points on the electrochromic windshield according to the plurality of reference gaze directions; a connection unit 404, configured to connect at least three outermost reference gaze points among the plurality of reference gaze points to obtain a target area of the electrochromic windshield, where a light transmittance of the target area is a reference light transmittance, and the target area is used to indicate a line-of-sight range of the driver; a second detection unit 405, configured to detect a light environment of the target vehicle during the current driving process, where the light environment includes a strong light environment and a weak light environment; a control unit 406, configured to control the light transmittance of the target area to be reduced from the reference light transmittance to a target light transmittance if the target vehicle is in the strong light environment; a judgment unit 407, configured to judge whether light in the target area belongs to glare light if the target vehicle is in the weak light environment; if so, control the light transmittance of the target area to be reduced from the reference light transmittance to the target light transmittance; if not, keep the light transmittance of the target area as the reference light transmittance.
[0072] In a possible example, the sensor module includes an ambient light sensor. In terms of detecting the light environment of the target vehicle during the current driving process, the second detection unit 405 is specifically configured to: detect an ambient light data group of the current driving environment through the ambient light sensor, where the ambient light data group includes ambient light color and ambient light brightness; and determine the light environment of the target vehicle during the current driving process according to the ambient light data group.
[0073] In a possible example, in terms of determining the light environment of the target vehicle during the current driving process according to the ambient light data group, the second detection unit 405 is specifically configured to: query the pre-stored light intensity mapping relation table according to the ambient light color and ambient light brightness of the current driving environment to obtain the light intensity of the current driving environment, where the pre-stored light intensity mapping relation table includes the mapping relations between multiple ambient light data groups and multiple light intensities; if the light intensity of the current driving environment is greater than or equal to a first preset light intensity, it is determined that the target vehicle is in the strong light environment; if the light intensity of the current driving environment is less than the first preset light intensity, it is determined that the target vehicle is in the weak light environment.
[0074] In a possible example, in terms of determining whether the light in the target area is glare light if the target vehicle is in the weak light environment, the judgment unit 407 is specifically configured to: if the target vehicle is in the weak light environment, detect the road section type of the road section where the target vehicle is currently located, where the road section type includes a tunnel section and a non-tunnel section, the tunnel section includes a first tunnel section and a second tunnel section, the first tunnel section refers to a tunnel section without a lighting function, and the second tunnel section refers to a tunnel section with a lighting function; if it is detected that the road section type of the road section where the target vehicle is currently located is the first tunnel section, detect whether the light in the target area comes from the brake indicator light of the vehicle in front in the driving direction of the target vehicle; if so, it is determined that the light in the target area does not belong to glare light; if not, detect whether the light intensity of the light in the target area is greater than or equal to a second preset light intensity, where the second preset light intensity is less than the first preset light intensity, and the second preset light intensity refers to the critical light intensity at which the human eye produces a glare feeling in the first tunnel section; if so, it is determined that the light in the target area belongs to glare light; if not, it is determined that the light in the target area does not belong to glare light.
[0075] In a possible example, when determining whether the light in the target area comes from the brake indicator light of the vehicle ahead in the driving direction of the target vehicle, the determination unit 407 is specifically configured to: collect a reference image of the vehicle ahead; determine the vehicle features of the vehicle ahead according to the reference image; query a pre-stored brake light data mapping relationship table according to the vehicle features of the vehicle ahead to obtain a reference ambient light data group of the brake light of the vehicle ahead, where the pre-stored brake light data mapping relationship table includes the mapping relationship between multiple vehicle features and multiple reference ambient light data groups of the brake light; detect whether the ambient light data group of the light in the target area is the same as the reference ambient light data group of the brake light of the vehicle ahead; if so, determine that the light in the target area comes from the brake indicator light of the vehicle ahead in the driving direction of the target vehicle; if not, determine that the light in the target area does not come from the brake indicator light of the vehicle ahead in the driving direction of the target vehicle.
[0076] In a possible example, when determining the vehicle features of the vehicle ahead according to the reference image, the determination unit 407 is specifically configured to: extract the vehicle logo and vehicle contour of the vehicle ahead from the reference image; determine the vehicle brand of the vehicle ahead according to the vehicle logo; and determine the vehicle features of the vehicle ahead according to the vehicle brand and the vehicle contour.
[0077] In a possible example, when the target vehicle is in the low-light environment and it is determined whether the light in the target area is glare light, the determination unit 407 is further configured to: if it is detected that the road section type of the road section where the target vehicle is currently located is the non-tunnel road section or the second tunnel road section, detect whether the illumination intensity of the light in the target area is greater than or equal to the first preset illumination intensity; if so, determine that the light in the target area is glare light; if not, determine that the light in the target area is not glare light.
[0078] It can be understood that since the method embodiment and the device embodiment are different presentation forms of the same technical concept, the content of the method embodiment part in this application should be synchronously adapted to the device embodiment part, and will not be elaborated here.
[0079] In the case of adopting an integrated unit, as Figure 4b shown, Figure 4b is a functional unit composition block diagram of another transmittance control device for vehicle based on strong light glare state recognition provided by an embodiment of the present application. In Figure 4bIn this case, the light transmittance control device 41 for vehicle based on strong light glare state recognition includes: a processing module 412 and a communication module 411. The processing module 412 is used to control and manage the actions of the light transmittance control device for vehicle based on strong light glare state recognition. For example, it executes the steps of the first detection unit 401, the first determination unit 402, the second determination unit 403, the connection unit 404, the second detection unit 405, the control unit 406, and the judgment unit 407, and / or is used to execute other processes of the technologies described herein. The communication module 411 is used to support the interaction between the light transmittance control device for vehicle based on strong light glare state recognition and other devices. As Figure 4b shown, the light transmittance control device for vehicle based on strong light glare state recognition may further include a storage module 413, and the storage module 413 is used to store the program codes and data of the light transmittance control device for vehicle based on strong light glare state recognition.
[0080] Among them, the processing module 412 can be a processor or a controller. For example, it can be a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), an ASIC, an FPGA, or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute various exemplary logic blocks, modules, and circuits described in combination with the disclosure of this application. The processor can also be a combination that realizes computing functions, such as a combination including one or more microprocessors, a combination of DSP and microprocessors, and so on. The communication module 411 can be a transceiver, an RF circuit, or a communication interface, etc. The storage module 413 can be a memory.
[0081] Among them, all relevant contents of each scenario involved in the above method embodiments can be cited in the function descriptions of the corresponding functional modules, and will not be elaborated here. The above light transmittance control device 41 for vehicle based on strong light glare state recognition can all execute the above Figure 2 shown light transmittance control method for vehicle based on strong light glare state recognition.
[0082] The above embodiments can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center in a wired or wireless manner. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more collections of available media. The available media can be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., DVDs), or semiconductor media. The semiconductor media can be a solid-state drive.
[0083] Figure 5 is a structural block diagram of an electronic device provided by an embodiment of the present application. As Figure 5 shown, the electronic device 500 may include one or more of the following components: a processor 501 and a memory 502 coupled to the processor 501, where the memory 502 may store one or more computer programs, and the one or more computer programs may be configured to implement the methods described in the above embodiments when executed by the one or more processors 501. The electronic device 500 may be the vehicle body domain controller 11 in the above embodiments.
[0084] The processor 501 may include one or more processing cores. The processor 501 connects various parts within the entire electronic device 500 using various interfaces and lines. By running or executing instructions, programs, code sets, or instruction sets stored in the memory 502, and by invoking data stored in the memory 502, it performs various functions of the electronic device 500 and processes data. Optionally, the processor 501 may be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), or programmable logic array (PLA). The processor 501 may integrate a combination of one or several of a central processing unit (CPU), a graphics processing unit (GPU), and a modem, etc. Among them, the CPU mainly processes the operating system, user interface, application programs, etc.; the GPU is responsible for rendering and drawing display content; the modem is used to process wireless communication. It can be understood that the above modem may not be integrated into the processor 501 and may be implemented separately through a communication chip.
[0085] The memory 502 may include random access memory (RAM) and may also include read-only memory (ROM). The memory 502 can be used to store instructions, programs, code, code sets, or instruction sets. The memory 502 may include a program storage area and a data storage area. Among them, the program storage area may store instructions for implementing the operating system, instructions for implementing at least one function (such as touch function, sound playback function, image playback function, etc.), instructions for implementing the above various method embodiments, etc. The data storage area may also store data created during the use of the electronic device 500.
[0086] It can be understood that the electronic device 500 may include more or fewer structural elements than those shown in the above structural block diagram, which is not limited herein.
[0087] The embodiments of the present application further provide a computer storage medium, on which computer programs / instructions are stored. When the computer programs / instructions are executed by a processor, they implement part or all of the steps of any one of the methods described in the above method embodiments.
[0088] The embodiments of the present application also provide a computer program product. The computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute some or all of the steps of any of the methods described in the foregoing method embodiments.
[0089] It should be understood that in various embodiments of the present application, the sequence numbers of the foregoing processes do not mean the order of execution. The execution order of each process should be determined according to its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
[0090] In several embodiments provided by the present application, it should be understood that the disclosed methods, devices, and systems can be implemented in other ways. For example, the device embodiments described above are merely illustrative; for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation; for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point, the displayed or discussed mutual coupling, direct coupling, or communication connection may be through some interfaces, and the indirect coupling or communication connection of the devices or units may be in electrical, mechanical, or other forms.
[0091] The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0092] In addition, in each embodiment of the present invention, the functional units can be integrated in a processing unit, or each unit can be physically included separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware, or in the form of a combination of hardware and software functional units.
[0093] The integrated unit implemented in the form of software functional units can be stored in a computer-readable storage medium. The above-mentioned software functional units stored in a storage medium include several instructions for causing a computer device (which may be a personal computer, an electronic device, or a network device, etc.) to execute some steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: USB flash drive, mobile hard disk, magnetic disk, optical disc, volatile memory, or non-volatile memory. Among them, the non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory may be random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of random access memory (RAM) are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus random access memory (DR RAM), etc., and various media that can store program code.
[0094] Although the present invention is disclosed as above, the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions without departing from the spirit and scope of the present invention, and various modifications and alterations can be made, including combinations of the above different functions and implementation steps, including software and hardware implementation manners, all within the protection scope of the present invention.
Claims
1. A method for controlling the light transmittance based on the recognition of the strong light dazzling state of a vehicle, characterized in that, it is applied to a body domain controller of a body domain control system of a target vehicle. The body domain control system includes the body domain controller, an electrochromic windshield, and a sensor module arranged on the body of the target vehicle. The body domain controller is respectively connected to the electrochromic windshield and the sensor module. The method includes: When it is detected by the sensor module that the target vehicle is in a driving state, detect the driving posture of the driver during the current driving process. The driving posture includes the state of the driver's head and the positions of both eyes; Determine a plurality of reference gaze directions of the driver during the current driving process according to the driving posture. The reference gaze direction refers to the gaze direction when the driver controls the vehicle to go straight or turn during the current driving process; Determine a plurality of reference gaze points on the electrochromic windshield according to the plurality of reference gaze directions; Connect at least three of the outermost reference gaze points among the plurality of reference gaze points to obtain a target area of the electrochromic windshield. The light transmittance of the target area is the reference light transmittance, and the target area is used to indicate the line of sight range of the driver; Detect the light environment of the target vehicle during the current driving process. The light environment includes a strong light environment and a weak light environment; If the target vehicle is in the strong light environment, control the light transmittance of the target area to be reduced from the reference light transmittance to the target light transmittance; If the target vehicle is in the weak light environment, determine whether the light in the target area belongs to dazzling light; If so, control the light transmittance of the target area to be reduced from the reference light transmittance to the target light transmittance; If not, keep the light transmittance of the target area as the reference light transmittance.
2. The method according to claim 1, characterized in that, the sensor module includes an ambient light sensor. The detecting the light environment of the target vehicle during the current driving process includes: Detect the ambient light data group of the current driving environment through the ambient light sensor. The ambient light data group includes ambient light color and ambient light brightness; Determine the light environment of the target vehicle during the current driving process according to the ambient light data group.
3. The method according to claim 2, characterized in that, the determining the light environment of the target vehicle during the current driving process according to the ambient light data group includes: Query a pre-stored light intensity mapping relationship table according to the ambient light color and ambient light brightness of the current driving environment to obtain the light intensity of the current driving environment. The pre-stored light intensity mapping relationship table includes the mapping relationship between a plurality of ambient light data groups and a plurality of light intensities; If the light intensity of the current driving environment is greater than or equal to a first preset light intensity, determine that the target vehicle is in the strong light environment; If the light intensity of the current driving environment is less than the first preset light intensity, determine that the target vehicle is in the weak light environment.
4. The method according to claim 3, characterized in that, If the target vehicle is in the low - light environment, determining whether the light in the target area belongs to glare light includes: If the target vehicle is in the low - light environment, detecting the road section type of the road section where the target vehicle is currently located. The road section type includes a tunnel section and a non - tunnel section. The tunnel section includes a first tunnel section and a second tunnel section. The first tunnel section refers to a tunnel section without a lighting function, and the second tunnel section refers to a tunnel section with a lighting function; If it is detected that the road section type of the road section where the target vehicle is currently located is the first tunnel section, detecting whether the light in the target area comes from the brake indicator light of the vehicle in front in the driving direction of the target vehicle; If so, determining that the light in the target area does not belong to glare light; If not, detecting whether the illumination intensity of the light in the target area is greater than or equal to a second preset illumination intensity. The second preset illumination intensity is less than the first preset illumination intensity, and the second preset illumination intensity refers to the critical illumination intensity at which the human eye has a glare sensation in the first tunnel section; If so, determining that the light in the target area belongs to glare light; If not, determining that the light in the target area does not belong to glare light.
5. The method according to claim 4, wherein, the detecting whether the light in the target area comes from the brake indicator light of the vehicle in front in the driving direction of the target vehicle includes: Collecting a reference image of the vehicle in front; Determining the vehicle characteristics of the vehicle in front according to the reference image; Querying a pre - stored brake light data mapping relationship table according to the vehicle characteristics of the vehicle in front to obtain a reference ambient light data group of the brake light of the vehicle in front. The pre - stored brake light data mapping relationship table includes the mapping relationships between multiple vehicle characteristics and multiple reference ambient light data groups of brake lights; Detecting whether the ambient light data group of the light in the target area is the same as the reference ambient light data group of the brake light of the vehicle in front; If so, determining that the light in the target area comes from the brake indicator light of the vehicle in front in the driving direction of the target vehicle; If not, determining that the light in the target area does not come from the brake indicator light of the vehicle in front in the driving direction of the target vehicle.
6. The method according to claim 5, wherein, the determining the vehicle characteristics of the vehicle in front according to the reference image includes: Extracting the vehicle logo and vehicle contour of the vehicle in front from the reference image; Determining the vehicle brand of the vehicle in front according to the vehicle logo; Determining the vehicle characteristics of the vehicle in front according to the vehicle brand and the vehicle contour.
7. The method according to claim 4, wherein, if the target vehicle is in the low - light environment, determining whether the light in the target area belongs to glare light further includes: If it is detected that the road section type of the road section where the target vehicle is currently located is the non - tunnel section or the second tunnel section, detecting whether the illumination intensity of the light in the target area is greater than or equal to the first preset illumination intensity; If so, it is determined that the light in the target area belongs to glare light; If not, it is determined that the light in the target area does not belong to glare light.
8. A light transmittance control device for a vehicle based on glare state recognition, characterized in that, it is applied to a body domain controller of a body domain control system of a target vehicle, the body domain control system includes the body domain controller, an electrochromic windshield and a sensor module arranged on the body of the target vehicle, the body domain controller is respectively connected to the electrochromic windshield and the sensor module, and the device includes: A first detection unit, configured to detect the driving posture of the driver during the current driving process when it is detected by the sensor module that the target vehicle is in a driving state, where the driving posture includes the state of the driver's head and the positions of both eyes; A first determination unit, configured to determine a plurality of reference gaze directions of the driver during the current driving process according to the driving posture, where the reference gaze direction refers to the gaze direction of the driver when controlling the vehicle to go straight or turn during the current driving process; A second determination unit, configured to determine a plurality of reference gaze points on the electrochromic windshield according to the plurality of reference gaze directions; A connection unit, configured to connect at least three outermost reference gaze points among the plurality of reference gaze points to obtain a target area of the electrochromic windshield, the light transmittance of the target area is a reference light transmittance, and the target area is used to indicate the line-of-sight range of the driver; A second detection unit, configured to detect the light environment of the target vehicle during the current driving process, where the light environment includes a strong light environment and a weak light environment; A control unit, configured to control the light transmittance of the target area to be reduced from the reference light transmittance to a target light transmittance if the target vehicle is in the strong light environment; A judgment unit, configured to judge whether the light in the target area belongs to glare light if the target vehicle is in the weak light environment; if so, control the light transmittance of the target area to be reduced from the reference light transmittance to the target light transmittance; if not, keep the light transmittance of the target area as the reference light transmittance.
9. An electronic device, characterized in that, it includes a processor, a memory, and one or more programs, the one or more programs are stored in the memory and are configured to be executed by the processor, and the programs include instructions for executing the steps in the method according to any one of claims 1-7.
10. A computer-readable storage medium, on which a computer program / instructions is stored, characterized in that, when the computer program / instructions are executed by a processor, the steps of the method according to any one of claims 1-7 are implemented.
Citation Information
Patent Citations
Vehicle sunshade device
CN110475685A
Visibility adjusting method and apparatus of vehicle
US20050046222A1