CN117533104A - Method and device for adjusting transmittance of window glass, vehicle and storage medium - Google Patents

Method and device for adjusting transmittance of window glass, vehicle and storage medium Download PDF

Info

Publication number
CN117533104A
CN117533104A CN202311766972.7A CN202311766972A CN117533104A CN 117533104 A CN117533104 A CN 117533104A CN 202311766972 A CN202311766972 A CN 202311766972A CN 117533104 A CN117533104 A CN 117533104A
Authority
CN
China
Prior art keywords
transmittance
front windshield
average value
intensity interval
preset intensity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311766972.7A
Other languages
Chinese (zh)
Inventor
许志
蒋亚飞
任飞
郭同刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chery Intelligent Automotive Technology Hefei Co ltd
Original Assignee
Chery Intelligent Automotive Technology Hefei Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chery Intelligent Automotive Technology Hefei Co ltd filed Critical Chery Intelligent Automotive Technology Hefei Co ltd
Priority to CN202311766972.7A priority Critical patent/CN117533104A/en
Publication of CN117533104A publication Critical patent/CN117533104A/en
Pending legal-status Critical Current

Links

Abstract

The application relates to the technical field of vehicles, in particular to a method and a device for adjusting transmittance of window glass, a vehicle and a storage medium, wherein the method comprises the following steps: and acquiring first illumination intensities of four corners of the front windshield, calculating an average value of the first illumination intensities, calculating the target transmittance of the front windshield according to the maximum value of the preset intensity interval, the minimum value of the preset intensity interval and the average value when the average value is not in the preset intensity interval, and adjusting the current transmittance of the front windshield to the target transmittance. Therefore, the problems that the sight of a user can be influenced when the light is too strong or too weak in the driving process, the driving potential safety hazard is increased and the like are solved, the target transmittance of the front windshield is obtained based on the average value of the illumination intensity of the front windshield and the maximum value and the minimum value of the preset intensity interval, so that the current transmittance of the front windshield can be automatically adjusted to the target transmittance when the light is too strong or too weak, the driving safety is improved, and the driving experience of the user is improved.

Description

Method and device for adjusting transmittance of window glass, vehicle and storage medium
Technical Field
The application relates to the technical field of vehicles, in particular to a method and a device for adjusting transmittance of window glass, a vehicle and a storage medium.
Background
With the rapid development of sensor technology, information processing technology, computer technology and new materials, users are increasingly focusing on the safety, comfort and privacy of vehicle driving, and thus, various safety driving systems, such as an anti-lock system, a body stabilization system, a lane changing auxiliary system, etc., have been developed to improve the safety of user driving, but due to the complexity of vehicle road conditions, the field of view of users is seriously affected during strong light in daytime and meeting at night, thereby increasing potential safety hazards.
In the related art, a user is generally required to manually adjust the angle of the sun visor to block sunlight, so as to prevent the user from being influenced by too strong light.
However, the manual adjustment can be used for dispersing the attention of the user, potential safety hazards are easy to increase in the driving process, and the driving privacy of the user cannot be guaranteed, so that the driving experience of the user is reduced, and improvement is needed.
Disclosure of Invention
The application provides a method, a device, a vehicle and a storage medium for adjusting the transmittance of window glass, so as to solve the problems that the sight of a user can be influenced when the light is too strong or too weak in the driving process, and the potential safety hazard of driving is increased.
An embodiment of a first aspect of the present application provides a method for adjusting transmittance of a vehicle window glass, including the following steps:
acquiring first illumination intensities of four corners of a front windshield;
calculating an average value of the first illumination intensities of the four corners, and judging whether the average value is in a preset intensity interval or not; and
if the average value is not in the preset intensity interval, calculating the target transmittance of the front windshield according to the maximum value of the preset intensity interval, the minimum value of the preset intensity interval and the average value, and adjusting the current transmittance of the front windshield to the target transmittance.
According to one embodiment of the present application, the calculating the target transmittance of the front windshield according to the maximum value of the preset intensity interval, the minimum value of the preset intensity interval, and the average value includes:
when the average value is larger than the maximum value of the preset intensity interval, calculating a first target transmittance of the front windshield according to the difference value between the maximum value of the preset intensity interval and the average value;
and when the average value is smaller than the minimum value of the preset intensity interval, calculating the second target transmittance of the front windshield according to the difference value between the minimum value of the preset intensity interval and the average value.
According to one embodiment of the present application, the adjusting the current transmittance of the front windshield to the target transmittance includes:
matching a first voltage signal corresponding to the target transmittance of the front windshield based on a target transmittance-voltage signal mapping table;
and adjusting the current transmittance of the front windshield to the target transmittance according to the first voltage signal.
According to an embodiment of the present application, if the average value is not in the preset intensity interval, the preset intensity interval includes:
generating an illumination alarm instruction based on the average value of the first illumination intensity;
and controlling a preset mobile terminal to give an alarm to a user according to the illumination alarm instruction.
According to an embodiment of the present application, the method for adjusting transmittance of a vehicle window glass further includes:
judging whether the vehicle is in an unlocking state or not;
and when the vehicle is in an unlocking state, acquiring user information in the vehicle, and acquiring second illumination intensity of glass at a preset position of the vehicle when the user information is acquired.
According to one embodiment of the present application, after obtaining the second illumination intensity of the glass at the preset position of the vehicle, the method further includes:
matching a second voltage signal corresponding to the target transmittance of the glass at the preset position of the vehicle based on the target transmittance-voltage signal mapping table;
and adjusting the current transmittance of the glass at the preset position of the vehicle to the target transmittance according to the second voltage signal.
According to the method for adjusting the transmittance of the vehicle window glass, the first illumination intensities of the four corners of the front windshield are obtained, the average value of the first illumination intensities is calculated, when the average value is not in the preset intensity interval, the target transmittance of the front windshield is calculated according to the maximum value of the preset intensity interval, the minimum value of the preset intensity interval and the average value, and the current transmittance of the front windshield is adjusted to the target transmittance. Therefore, the problems that the sight of a user can be influenced when the light is too strong or too weak in the driving process, the driving potential safety hazard is increased and the like are solved, the target transmittance of the front windshield is obtained based on the average value of the illumination intensity of the front windshield and the maximum value and the minimum value of the preset intensity interval, so that the current transmittance of the front windshield can be automatically adjusted to the target transmittance when the light is too strong or too weak, the driving safety is improved, and the driving experience of the user is improved.
An embodiment of a second aspect of the present application provides an adjusting device for transmittance of a window glass, including:
the acquisition module is used for acquiring first illumination intensities of four corners of the front windshield;
the judging module is used for calculating the average value of the first illumination intensities of the four corners and judging whether the average value is in a preset intensity interval or not; and
and the adjusting module is used for calculating the target transmittance of the front windshield according to the maximum value of the preset intensity interval, the minimum value of the preset intensity interval and the average value if the average value is not in the preset intensity interval, and adjusting the current transmittance of the front windshield to the target transmittance.
According to one embodiment of the application, the adjusting module is specifically configured to:
when the average value is larger than the maximum value of the preset intensity interval, calculating a first target transmittance of the front windshield according to the difference value between the maximum value of the preset intensity interval and the average value;
and when the average value is smaller than the minimum value of the preset intensity interval, calculating the second target transmittance of the front windshield according to the difference value between the minimum value of the preset intensity interval and the average value.
According to one embodiment of the application, the adjusting module is specifically configured to:
matching a first voltage signal corresponding to the target transmittance of the front windshield based on a target transmittance-voltage signal mapping table;
and adjusting the current transmittance of the front windshield to the target transmittance according to the first voltage signal.
According to one embodiment of the application, the adjusting module is specifically configured to:
generating an illumination alarm instruction based on the average value of the first illumination intensity;
and controlling a preset mobile terminal to give an alarm to a user according to the illumination alarm instruction.
According to an embodiment of the present application, the above-mentioned adjusting device for transmittance of glass for vehicle window is further configured to:
judging whether the vehicle is in an unlocking state or not;
and when the vehicle is in an unlocking state, acquiring user information in the vehicle, and acquiring second illumination intensity of glass at a preset position of the vehicle when the user information is acquired.
According to an embodiment of the present application, after obtaining the second illumination intensity of the glass at the preset position of the vehicle, the above-mentioned adjusting device for transmittance of the glass for vehicle window is further used for:
matching a second voltage signal corresponding to the target transmittance of the glass at the preset position of the vehicle based on the target transmittance-voltage signal mapping table;
and adjusting the current transmittance of the glass at the preset position of the vehicle to the target transmittance according to the second voltage signal.
According to the adjusting device for the transmittance of the vehicle window glass, the first illumination intensities of the four corners of the front windshield are obtained, the average value of the first illumination intensities is calculated, when the average value is not in the preset intensity interval, the target transmittance of the front windshield is calculated according to the maximum value of the preset intensity interval, the minimum value of the preset intensity interval and the average value, and the current transmittance of the front windshield is adjusted to the target transmittance. Therefore, the problems that the sight of a user can be influenced when the light is too strong or too weak in the driving process, the driving potential safety hazard is increased and the like are solved, the target transmittance of the front windshield is obtained based on the average value of the illumination intensity of the front windshield and the maximum value and the minimum value of the preset intensity interval, so that the current transmittance of the front windshield can be automatically adjusted to the target transmittance when the light is too strong or too weak, the driving safety is improved, and the driving experience of the user is improved.
An embodiment of a third aspect of the present application provides a vehicle, including: the device comprises a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the processor executes the program to realize the method for adjusting the transmittance of the window glass according to the embodiment.
An embodiment of a fourth aspect of the present application provides a computer-readable storage medium storing computer instructions for causing the computer to execute the method for adjusting the transmittance of a window glass according to the above embodiment.
Additional aspects and advantages of the application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the application.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings, in which:
fig. 1 is a flowchart of a method for adjusting transmittance of a vehicle window glass according to an embodiment of the present application;
FIG. 2 is a schematic illustration of the adjustment of the transmittance of a window glass according to one embodiment of the present application;
fig. 3 is a schematic view of the working principle of protecting privacy of a window glass according to an embodiment of the present application;
fig. 4 is a block schematic diagram of an adjusting device for transmittance of a window glass according to an embodiment of the present application;
fig. 5 is a schematic structural view of a vehicle according to an embodiment of the present application.
Detailed Description
Embodiments of the present application are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are exemplary and intended for the purpose of explaining the present application and are not to be construed as limiting the present application.
The following describes a method, an apparatus, a vehicle, and a storage medium for adjusting transmittance of a window glass according to an embodiment of the present application with reference to the accompanying drawings. Aiming at the problem that the sight of a user can be influenced when the light is too strong or too weak in the driving process so as to increase the hidden danger of driving safety in the prior art, the application provides a method for adjusting the transmittance of vehicle window glass. Therefore, the problems that the sight of a user can be influenced when the light is too strong or too weak in the driving process, the driving potential safety hazard is increased and the like are solved, the target transmittance of the front windshield is obtained based on the average value of the illumination intensity of the front windshield and the maximum value and the minimum value of the preset intensity interval, so that the current transmittance of the front windshield can be automatically adjusted to the target transmittance when the light is too strong or too weak, the driving safety is improved, and the driving experience of the user is improved.
Specifically, before describing the embodiments of the present application, related system components related to the present application, namely, a vehicle APP (application, mobile phone software), a vehicle system, a CMOS (Complementary Metal Oxide Semiconductor ) sensor, and a dimming glass, will be described first.
The vehicle-mounted APP is a factory-matched mobile phone APP, and a user can receive the calculation data of the active layer based on the APP and send a command to control the electric control switch to send an electric signal
The vehicle-mounted computer system is used as a kernel and a base stone of a computer system, is mainly used for managing programs of vehicle-mounted computer hardware and software resources and controlling all message transmission in the whole vehicle, and mainly comprises five management functions, namely process and processor management, operation management, storage management, equipment management and file management; the sending path is mainly used for APP sending instruction to the cabin area, and the cabin area sends the instruction to MCU, and MCU notifies the CAN bus again, and finally the CAN bus CAN send the instruction to automatically controlled switch, releases electric signal by automatically controlled switch, control dimming glass.
The CMOS sensor is a photosensitive device capable of converting optical signals into digital signals, and can sample and convert light rays in a pixel mode to realize high-precision light ray measurement.
The dimming glass is special glass, the transmittance of the glass can be regulated in different time and occasions in an electric signal or physical and mechanical mode, and the privacy protection of the window can be realized by regulating the transmittance. According to the embodiment of the application, the dimming glass with proper materials is required to be selected, for example, the dimming glass has the advantages of high hardness, good light transmittance, high transmittance change rate of glass, repeated adjustment of the transmittance, long-term non-fading maintenance, no abrupt feeling is caused to a user when the front windshield is adjusted, and driving experience of the user is improved.
Specifically, fig. 1 is a schematic flow chart of a method for adjusting transmittance of a vehicle window glass according to an embodiment of the present application.
As shown in fig. 1, the method for adjusting the transmittance of the vehicle window glass comprises the following steps:
in step S101, first illumination intensities of four corners of a front windshield are acquired.
Specifically, in order to avoid the user to influence the sight because of light is too strong or weak in driving to increase driving potential safety hazard, this application embodiment needs based on illumination intensity's monitoring, automatically regulated front windshield's transmittance to the illumination intensity in the user acceptable range, thereby make the user can not receive the sight interference in driving, reduce the emergence of traffic accident.
Therefore, in the embodiment of the application, first, CMOS sensors are installed at four corners of a front windshield of a vehicle, first illumination intensities of the four corners of the front windshield are respectively collected through the CMOS sensors, and then the collected first illumination intensities are sent to a vehicle system for corresponding calculation.
Specifically, before a car runs, a user starts an automatic front windshield light transmittance adjusting function in a mobile phone APP, and sets an illumination intensity range acceptable to the user, wherein the illumination intensity range can be manually set by the user, and as the maximum visible light bright point value acceptable to eyes is about 106cd/m2, the illumination intensity range can be divided into 10 gears, the maximum gear is 106cd/m2, the user can manually input according to the situation of the user, and meanwhile, the user can also automatically set according to the maximum visible light bright point value acceptable to eyes, and the method is not particularly limited.
Secondly, after a user starts an automatic front windshield light transmittance adjusting function in a mobile phone APP, the CMOS sensor sends the first illumination intensity of the four corners of the collected front windshield to a vehicle-mounted system through a CAN bus, a native layer of the vehicle-mounted system calculates, and a result obtained after calculation is transmitted to an upper layer application.
In step S102, an average value of the first illumination intensities of the four corners is calculated, and it is determined whether the average value is in a preset intensity interval.
The preset intensity interval may be an illumination intensity interval set by a user according to the self situation, or may be an illumination intensity interval automatically set according to a maximum visible light brightness value acceptable to eyes, which is not limited herein specifically.
Specifically, in the embodiment of the application, after the vehicle-mounted system receives the first illumination intensities of the four corners of the front windshield, the native layer calculates an average value of the first illumination intensities of the four corners of the front windshield according to one time per second, and then compares the calculated average value of the first illumination intensity with an illumination intensity range (i.e., a preset intensity interval) set by a user, and determines whether the average value is in the preset intensity interval.
In step S103, if the average value is not in the preset intensity interval, calculating the target transmittance of the front windshield according to the maximum value of the preset intensity interval, the minimum value of the preset intensity interval, and the average value, and adjusting the current transmittance of the front windshield to the target transmittance.
According to one embodiment of the present application, if the average value is not in the preset intensity interval, the method includes: generating an illumination alarm instruction based on the average value of the first illumination intensity; and controlling the preset mobile terminal to alarm the user according to the illumination alarm instruction.
The preset mobile terminal may be a mobile terminal selected by a user according to a use requirement, for example, a mobile phone, a vehicle-mounted computer, and the like, which is not limited herein.
Specifically, in this embodiment of the present application, if the average value of the first illumination intensities of the four corners of the front windshield is not in the preset intensity interval, it is indicated that the first illumination intensity is too strong or too weak at this time, and the driving sight of the user is affected, so that an illumination alarm instruction needs to be generated based on the average value of the first illumination intensity, and the active layer controls the preset mobile terminal to alarm the user according to the illumination alarm instruction, for example, controls the mobile phone to vibrate, ring or controls the mobile phone display screen to flash to alarm the user based on the illumination alarm instruction.
According to one embodiment of the present application, calculating the target transmittance of the front windshield according to the maximum value of the preset intensity interval, the minimum value of the preset intensity interval, and the average value includes: when the average value is larger than the maximum value of the preset intensity interval, calculating the first target transmittance of the front windshield according to the difference value between the maximum value of the preset intensity interval and the average value; and when the average value is smaller than the minimum value of the preset intensity interval, calculating the second target transmittance of the front windshield according to the difference value between the minimum value of the preset intensity interval and the average value.
The first target transmittance and the second target transmittance are both illumination intensities within a user acceptable range.
Specifically, in the embodiment of the application, after receiving the alarm instruction of the first illumination intensity being too strong or too weak, the transmittance of the front windshield needs to be adjusted based on the alarm instruction, so that the front windshield is suitable for the driving vision of a user.
Specifically, as shown in fig. 2, if the average value of the first illumination intensities at the four corners of the front windshield is greater than the maximum value of the preset intensity interval, it is indicated that the first illumination intensity is too strong and exceeds the acceptable illumination intensity range of the user, that is, exceeds the maximum illumination intensity set by the user or exceeds the automatically generated maximum illumination intensity, and at this time, the first illumination intensity at the four corners of the front windshield needs to be reduced to meet the driving requirement of the user, so the first target transmittance of the front windshield needs to be calculated according to the difference value between the maximum value and the average value of the preset intensity interval.
Further, when the average value is smaller than the minimum value of the preset intensity interval, it is indicated that the first illumination intensity is too weak at this time and does not reach the illumination intensity range acceptable to the user, so that the user has an unclear line of sight in the driving process, and at this time, the first illumination intensities of the four corners of the front windshield need to be increased to meet the driving requirement of the user, so that the second target transmittance of the front windshield needs to be calculated according to the difference value between the minimum value and the average value of the preset intensity interval.
According to one embodiment of the present application, adjusting the current transmittance of the front windshield to a target transmittance includes: matching a first voltage signal corresponding to the target transmittance of the front windshield based on the target transmittance-voltage signal mapping table; and adjusting the current transmittance of the front windshield to the target transmittance according to the first voltage signal.
Specifically, as shown in fig. 2, after the target transmittance of the front windshield obtained by calculating the maximum value of the preset intensity interval, the minimum value of the preset intensity interval and the average value, the embodiment of the application matches the first voltage signal corresponding to the target transmittance of the front windshield based on the target transmittance-voltage signal mapping table, and adjusts the current transmittance of the front windshield to the transmittance of the illumination intensity range required by the user, that is, the target transmittance based on the first voltage signal.
According to an embodiment of the present application, the method for adjusting transmittance of a vehicle window glass further includes: judging whether the vehicle is in an unlocking state or not; and when the vehicle is in an unlocking state, acquiring user information in the vehicle, and acquiring second illumination intensity of glass at a preset position of the vehicle when the user information is acquired.
According to one embodiment of the present application, after obtaining the second illumination intensity of the glass at the preset position of the vehicle, the method further includes: matching a second voltage signal corresponding to the target transmittance of the glass at the preset position of the vehicle based on the target transmittance-voltage signal mapping table; and adjusting the current transmittance of the glass at the preset position of the vehicle to the target transmittance according to the second voltage signal.
The glass at the preset position can be a front windshield, a side glass and a rear windshield of the vehicle.
Specifically, in order to ensure the comfort of a user in parking and resting, the privacy of the user can be protected when the user parks and rests, so that the privacy space of the user is met.
Specifically, the embodiment of the application firstly judges whether the vehicle is in an unlocking state, and if the vehicle is in the unlocking state, the user client is in a parking state; secondly, user information in the vehicle is acquired when the vehicle is in an unlocking state, if the user information is acquired, the user is in the vehicle when parking, and the vehicle belongs to a private space of the user at the moment, so that the privacy of the user during resting is protected, the second illumination intensities of the front windshield, the side glass and the rear windshield of the vehicle at the moment can be acquired, second voltage signals corresponding to target transmittances of the front windshield, the side glass and the rear windshield of the vehicle are matched based on a target transmittance-voltage signal mapping table, and the current transmittances of the front windshield, the side glass and the rear windshield of the vehicle are adjusted to the target transmittances required by the user according to the second voltage signals, so that the privacy of the user is protected, and the resting experience of the user is improved.
Further, as shown in fig. 3, the protection principle of the embodiment of the present application is that when the target transmittance of the front windshield, the side glass and the rear windshield of the vehicle is adjusted to protect privacy of a user during a stop and rest, a layer of liquid crystal dimming film layer is sandwiched between two pieces of dimming glass, and when the two pieces of dimming glass are electrified, a high-quality liquid crystal dimming glass film is formed, that is, liquid crystal cells with the size of several micrometers are dispersed on the glass collectively, and sandwiched between transparent conductive films, so that a special sandwich structure is formed, and when light irradiates the front windshield, the side glass and the rear windshield of the vehicle, the light is subjected to a strong scattering effect, so that the transparency of the glass disappears; when a voltage signal is applied between the two transparent conductive films, the liquid crystal molecules are aligned to the glass surface, and light can directly pass through the transparent conductive films to show transparency, so that privacy protection of users is realized based on the characteristics.
For example, if a user is in a meeting condition during driving at night, a high beam is turned on for the opposite vehicle, and the illumination intensity of the high beam exceeds the illumination intensity acceptable by the user, namely exceeds the maximum value of a preset intensity interval, and the driving sight of the user is blocked at the moment, so when the illumination intensity of the high beam is monitored to exceed the illumination intensity acceptable by the user, the active layer controls the mobile phone APP page to give an alarm to the user, and the user is reminded that the illumination intensity of the front windshield is about to be adjusted when the current illumination intensity is too strong; secondly, the active layer calculates the required target transmittance of the front windshield by using a fixed algorithm according to the difference value of the preset intensity interval set by a user and the average value of the first illumination intensity, and matches the first voltage signal corresponding to the target transmittance of the front windshield based on the target transmittance-voltage signal mapping table, and adjusts the current transmittance of the front windshield to the transmittance of the illumination intensity range required by the user based on the first voltage signal.
It should be noted that the above embodiments are only exemplary, and the embodiments of the present application may be applied to related scenes with too strong or too weak illumination intensity, such as meeting at night and driving in daytime, so as to enable a user to normally drive when the illumination intensity is too strong or too weak, without using auxiliary devices, such as sunshading boards, so as to improve the driving experience of the user.
According to the method for adjusting the transmittance of the vehicle window glass, the first illumination intensities of the four corners of the front windshield are obtained, the average value of the first illumination intensities is calculated, when the average value is not in the preset intensity interval, the target transmittance of the front windshield is calculated according to the maximum value of the preset intensity interval, the minimum value of the preset intensity interval and the average value, and the current transmittance of the front windshield is adjusted to the target transmittance. Therefore, the problems that the sight of a user can be influenced when the light is too strong or too weak in the driving process, the driving potential safety hazard is increased and the like are solved, the target transmittance of the front windshield is obtained based on the average value of the illumination intensity of the front windshield and the maximum value and the minimum value of the preset intensity interval, so that the current transmittance of the front windshield can be automatically adjusted to the target transmittance when the light is too strong or too weak, the driving safety is improved, and the driving experience of the user is improved.
Next, a device for adjusting transmittance of a window glass according to an embodiment of the present application will be described with reference to the accompanying drawings.
Fig. 4 is a block schematic diagram of an adjusting device of the transmittance of the window glass according to the embodiment of the present application.
As shown in fig. 4, the device 10 for adjusting the transmittance of a window glass includes: an acquisition module 100, a judgment module 200 and an adjustment module 300.
The acquiring module 100 is configured to acquire first illumination intensities of four corners of the front windshield;
the judging module 200 is used for calculating the average value of the first illumination intensities of the four corners and judging whether the average value is in a preset intensity interval or not; and
and the adjusting module 300 is configured to calculate the target transmittance of the front windshield according to the maximum value of the preset intensity interval, the minimum value of the preset intensity interval, and the average value if the average value is not in the preset intensity interval, and adjust the current transmittance of the front windshield to the target transmittance.
According to one embodiment of the present application, the adjustment module 300 is specifically configured to:
when the average value is larger than the maximum value of the preset intensity interval, calculating the first target transmittance of the front windshield according to the difference value between the maximum value of the preset intensity interval and the average value;
and when the average value is smaller than the minimum value of the preset intensity interval, calculating the second target transmittance of the front windshield according to the difference value between the minimum value of the preset intensity interval and the average value.
According to one embodiment of the present application, the adjustment module 300 is specifically configured to:
matching a first voltage signal corresponding to the target transmittance of the front windshield based on the target transmittance-voltage signal mapping table;
and adjusting the current transmittance of the front windshield to the target transmittance according to the first voltage signal.
According to one embodiment of the present application, the adjustment module 300 is specifically configured to:
generating an illumination alarm instruction based on the average value of the first illumination intensity;
and controlling the preset mobile terminal to alarm the user according to the illumination alarm instruction.
According to an embodiment of the present application, the above-mentioned adjusting device 10 for transmittance of a vehicle window glass is further used for:
judging whether the vehicle is in an unlocking state or not;
and when the vehicle is in an unlocking state, acquiring user information in the vehicle, and acquiring second illumination intensity of glass at a preset position of the vehicle when the user information is acquired.
According to an embodiment of the present application, after obtaining the second illumination intensity of the glass at the preset position of the vehicle, the above-mentioned adjusting device 10 for transmittance of the glass for vehicle window is further used for:
matching a second voltage signal corresponding to the target transmittance of the glass at the preset position of the vehicle based on the target transmittance-voltage signal mapping table;
and adjusting the current transmittance of the glass at the preset position of the vehicle to the target transmittance according to the second voltage signal.
According to the adjusting device for the transmittance of the vehicle window glass, the first illumination intensities of the four corners of the front windshield are obtained, the average value of the first illumination intensities is calculated, when the average value is not in the preset intensity interval, the target transmittance of the front windshield is calculated according to the maximum value of the preset intensity interval, the minimum value of the preset intensity interval and the average value, and the current transmittance of the front windshield is adjusted to the target transmittance. Therefore, the problems that the sight of a user can be influenced when the light is too strong or too weak in the driving process, the driving potential safety hazard is increased and the like are solved, the target transmittance of the front windshield is obtained based on the average value of the illumination intensity of the front windshield and the maximum value and the minimum value of the preset intensity interval, so that the current transmittance of the front windshield can be automatically adjusted to the target transmittance when the light is too strong or too weak, the driving safety is improved, and the driving experience of the user is improved.
Fig. 5 is a schematic structural diagram of a vehicle according to an embodiment of the present application. The vehicle may include:
memory 501, processor 502, and a computer program stored on memory 501 and executable on processor 502.
The processor 502 implements the method for adjusting the transmittance of the window glass provided in the above embodiment when executing the program.
Further, the vehicle further includes:
a communication interface 503 for communication between the memory 501 and the processor 502.
Memory 501 for storing a computer program executable on processor 502.
The memory 501 may include high-speed RAM memory and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
If the memory 501, the processor 502, and the communication interface 503 are implemented independently, the communication interface 503, the memory 501, and the processor 502 may be connected to each other via a bus and perform communication with each other. The bus may be an industry standard architecture (Industry Standard Architecture, abbreviated ISA) bus, an external device interconnect (Peripheral Component Interconnect, abbreviated PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, abbreviated EISA) bus, among others. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, only one thick line is shown in fig. 5, but not only one bus or one type of bus.
Alternatively, in a specific implementation, if the memory 501, the processor 502, and the communication interface 503 are integrated on a chip, the memory 501, the processor 502, and the communication interface 503 may perform communication with each other through internal interfaces.
The processor 502 may be a central processing unit (Central Processing Unit, abbreviated as CPU), or an application specific integrated circuit (Application Specific Integrated Circuit, abbreviated as ASIC), or one or more integrated circuits configured to implement embodiments of the present application.
The present embodiment also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of adjusting the transmittance of a window glass as above.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or N embodiments or examples. Furthermore, the different embodiments or examples described in this specification and the features of the different embodiments or examples may be combined and combined by those skilled in the art without contradiction.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In the description of the present application, the meaning of "N" is at least two, such as two, three, etc., unless explicitly defined otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more N executable instructions for implementing specific logical functions or steps of the process, and further implementations are included within the scope of the preferred embodiment of the present application in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the embodiments of the present application.
Logic and/or steps represented in the flowcharts or otherwise described herein, e.g., a ordered listing of executable instructions for implementing logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or N wires, a portable computer cartridge (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium may even be paper or other suitable medium upon which the program is printed, as the program may be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory.
It is to be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the N steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. As with the other embodiments, if implemented in hardware, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits having suitable combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
Those of ordinary skill in the art will appreciate that all or part of the steps carried out in the method of the above-described embodiments may be implemented by a program to instruct related hardware, and the program may be stored in a computer readable storage medium, where the program when executed includes one or a combination of the steps of the method embodiments.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing module, or each unit may exist alone physically, or two or more units may be integrated in one module. The integrated modules may be implemented in hardware or in software functional modules. The integrated modules may also be stored in a computer readable storage medium if implemented as software functional modules and sold or used as a stand-alone product.
The above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, or the like. Although embodiments of the present application have been shown and described above, it will be understood that the above embodiments are illustrative and not to be construed as limiting the application, and that variations, modifications, alternatives, and variations may be made to the above embodiments by one of ordinary skill in the art within the scope of the application.

Claims (10)

1. The method for adjusting the transmittance of the vehicle window glass is characterized by comprising the following steps of:
acquiring first illumination intensities of four corners of a front windshield;
calculating an average value of the first illumination intensities of the four corners, and judging whether the average value is in a preset intensity interval or not; and
if the average value is not in the preset intensity interval, calculating the target transmittance of the front windshield according to the maximum value of the preset intensity interval, the minimum value of the preset intensity interval and the average value, and adjusting the current transmittance of the front windshield to the target transmittance.
2. The method according to claim 1, wherein the calculating the target transmittance of the front windshield from the maximum value of the preset intensity interval, the minimum value of the preset intensity interval, and the average value comprises:
when the average value is larger than the maximum value of the preset intensity interval, calculating a first target transmittance of the front windshield according to the difference value between the maximum value of the preset intensity interval and the average value;
and when the average value is smaller than the minimum value of the preset intensity interval, calculating the second target transmittance of the front windshield according to the difference value between the minimum value of the preset intensity interval and the average value.
3. The method of claim 1, wherein said adjusting the current transmittance of the front windshield to the target transmittance comprises:
matching a first voltage signal corresponding to the target transmittance of the front windshield based on a target transmittance-voltage signal mapping table;
and adjusting the current transmittance of the front windshield to the target transmittance according to the first voltage signal.
4. The method of claim 1, wherein the determining if the average value is not within the preset intensity interval comprises:
generating an illumination alarm instruction based on the average value of the first illumination intensity;
and controlling a preset mobile terminal to give an alarm to a user according to the illumination alarm instruction.
5. The method as recited in claim 1, further comprising:
judging whether the vehicle is in an unlocking state or not;
and when the vehicle is in an unlocking state, acquiring user information in the vehicle, and acquiring second illumination intensity of glass at a preset position of the vehicle when the user information is acquired.
6. The method of claim 5, further comprising, after obtaining the second illumination intensity of the glass at the predetermined position of the vehicle:
matching a second voltage signal corresponding to the target transmittance of the glass at the preset position of the vehicle based on the target transmittance-voltage signal mapping table;
and adjusting the current transmittance of the glass at the preset position of the vehicle to the target transmittance according to the second voltage signal.
7. An adjusting device for transmittance of window glass, comprising:
the acquisition module is used for acquiring first illumination intensities of four corners of the front windshield;
the judging module is used for calculating the average value of the first illumination intensities of the four corners and judging whether the average value is in a preset intensity interval or not; and
and the adjusting module is used for calculating the target transmittance of the front windshield according to the maximum value of the preset intensity interval, the minimum value of the preset intensity interval and the average value if the average value is not in the preset intensity interval, and adjusting the current transmittance of the front windshield to the target transmittance.
8. The device according to claim 7, characterized in that said adjustment module is in particular adapted to:
when the average value is larger than the maximum value of the preset intensity interval, calculating a first target transmittance of the front windshield according to the difference value between the maximum value of the preset intensity interval and the average value;
and when the average value is smaller than the minimum value of the preset intensity interval, calculating the second target transmittance of the front windshield according to the difference value between the minimum value of the preset intensity interval and the average value.
9. A vehicle, characterized by comprising: a memory, a processor and a computer program stored on the memory and executable on the processor, the processor executing the program to implement the method of adjusting the transparency of a glazing as claimed in any one of claims 1 to 6.
10. A computer-readable storage medium having stored thereon a computer program, characterized in that the program is executed by a processor for realizing the method of adjusting the transmittance of a window glass according to any one of claims 1 to 6.
CN202311766972.7A 2023-12-20 2023-12-20 Method and device for adjusting transmittance of window glass, vehicle and storage medium Pending CN117533104A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311766972.7A CN117533104A (en) 2023-12-20 2023-12-20 Method and device for adjusting transmittance of window glass, vehicle and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311766972.7A CN117533104A (en) 2023-12-20 2023-12-20 Method and device for adjusting transmittance of window glass, vehicle and storage medium

Publications (1)

Publication Number Publication Date
CN117533104A true CN117533104A (en) 2024-02-09

Family

ID=89790124

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311766972.7A Pending CN117533104A (en) 2023-12-20 2023-12-20 Method and device for adjusting transmittance of window glass, vehicle and storage medium

Country Status (1)

Country Link
CN (1) CN117533104A (en)

Similar Documents

Publication Publication Date Title
US8339526B2 (en) Vehicle rearview mirror assembly including a high intensity display
EP1683668B1 (en) Variable transmissivity window system
CN108995511B (en) Vehicle driving shading device, vehicle and vehicle driving shading method
DE102011105689B4 (en) Display device with a liquid crystal display and method for protecting a liquid crystal display
US20120019891A1 (en) Window Having A Selective Light Modulation System
US10688915B1 (en) Virtual driver display for autonomous vehicle
CN112829584B (en) Brightness adjusting method and system for vehicle display device
US9505290B2 (en) Method and device for daytime motor vehicle driving assistance
JP2004168279A (en) Antiglaring mirror device and its controlling method
JP4246806B2 (en) LCD sun visor
CN114312253A (en) Control method of vehicle shade device, vehicle and storage medium
US20190322219A1 (en) Anti-glare rearview mirror and use method thereof
CN116758875A (en) Brightness adjusting method of vehicle display device and related equipment
CN117533104A (en) Method and device for adjusting transmittance of window glass, vehicle and storage medium
CN107512222B (en) vehicle rearview auxiliary system and control method thereof
CN111746237A (en) Vehicle control method, device and system and vehicle
US11945369B2 (en) Display device and control circuit
CN114253016A (en) Intelligent windshield control method, device, equipment and storage medium
GB2562248A (en) Driver anti-blinding system
JP7243379B2 (en) Dimming control device, dimming system, dimming control method, and control program
CN107161083B (en) Automobile rearview display system, image display method and automobile
CN115723528A (en) Sunshade device for automobile
CN109747417B (en) Vehicle-mounted anti-dazzle display, display system, automobile and anti-dazzle method
JPH069933B2 (en) Anti-glare device for vehicle
CN116476728B (en) Vehicle lamp adjusting method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination