Dimming method and device for vehicle sunscreen glass, electronic equipment and storage medium

By dividing the vehicle's skylight glass into independently controllable transmittance areas and combining light sensing elements and deep learning models, the problem of personalized adjustment of lighting requirements in different locations in the car is solved, precise lighting adjustment is achieved, and the lighting comfort in the car is improved.

CN120802529APending Publication Date: 2025-10-17ZHEJIANG ZEEKR INTELLIGENT TECH CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510840372.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-23
Publication Date
2025-10-17

AI Technical Summary

Technical Problem

The transmittance adjustment of existing vehicle skylight glass cannot meet the personalized needs of people in different positions in the vehicle for light intensity, resulting in poor adjustment accuracy.

Method used

By dividing the skylight glass into areas with independently controllable light transmittance, combining an array of light sensing elements and a deep learning model, the direction and intensity of the light source are determined, and the light transmittance of each area is precisely adjusted based on the distribution of people in the car.

Benefits of technology

It achieves precise adjustment of the light transmittance of each area of ​​the skylight glass according to the lighting needs of people in different positions in the car, thereby improving the lighting comfort in the car.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120802529A_ABST
    Figure CN120802529A_ABST
Patent Text Reader

Abstract

The invention provides a dimming method and device for vehicle sunscreen glass, electronic equipment and a storage medium, and relates to the technical field of vehicles, and the dimming method comprises the steps: determining the light source direction and illumination intensity of a light source outside a vehicle relative to the sunscreen glass, obtaining the personnel distribution information in the vehicle, the light transmittance of each area of the sunscreen glass is adjusted according to the light source direction and the illumination intensity of the light source relative to the sunscreen glass and the personnel distribution information in the vehicle, and according to the light source direction and the illumination intensity of the light source relative to the sunscreen glass, the light transmittance of each area of the sunscreen glass is adjusted. And meanwhile, by combining the distribution condition of people in the vehicle, the dimming requirements of all the areas of the sunscreen glass are more accurately obtained, so that the light transmittance of all the areas of the sunscreen glass is more accurately adjusted according to the dimming requirements of all the areas of the sunscreen glass, and the requirements of people at different positions in the vehicle for the illumination intensity are met.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of vehicles, in particular to a light adjusting method and device for a vehicle sunroof glass, an electronic device and a storage medium. BACKGROUND

[0002] The vehicle sunroof glass is installed on the roof of a vehicle, and light from outside the vehicle can be projected into the vehicle through the sunroof glass. The light intensity projected into the vehicle through the sunroof glass can be adjusted by adjusting the light transmittance of the sunroof glass, so as to make the people in the vehicle more comfortable.

[0003] In the related art, the light transmittance of the vehicle sunroof glass is mostly adjusted according to the external ambient light intensity. However, the distribution of people in the vehicle is not fixed except for the driver, and the influence of different light source directions on people at different positions in the vehicle is also different. Therefore, the adjustment accuracy is poor when only considering the external ambient light intensity and uniformly adjusting the light transmittance of the entire sunroof glass, and the requirements of people at different positions in the vehicle for light intensity cannot be met. SUMMARY

[0004] The problem solved by the present application is how to more accurately adjust the light transmittance of the sunroof glass to meet the requirements of people at different positions in the vehicle for light intensity.

[0005] To solve the above problems, the present application provides a light adjusting method and device for a vehicle sunroof glass, an electronic device and a storage medium.

[0006] In a first aspect, the present application provides a light adjusting method for a vehicle sunroof glass, wherein the sunroof glass is divided into a plurality of regions with independently controllable light transmittance, and the light adjusting method comprises: determining the light source direction and light intensity of a light source outside the vehicle relative to the sunroof glass; obtaining personnel distribution information in the vehicle; adjusting the light transmittance of each region of the sunroof glass according to the light source direction and light intensity of the light source relative to the sunroof glass and the personnel distribution information in the vehicle.

[0007] Optionally, an array of light sensing elements is distributed on the sunroof glass according to a predetermined rule, and the determination of the light source direction and light intensity of the light source outside the vehicle comprises: obtaining signal values corresponding to electrical signals output by each light sensing element in the array of light sensing elements, wherein the electrical signals are converted from light signals emitted by the light source and received by the light sensing elements; obtaining position information of each light sensing element in the array of light sensing elements relative to the sunroof glass. determine the light source direction of the light source relative to the dome glass according to the signal values corresponding to the electrical signals output by the individual light sensing elements in the light sensing element array and the position information of the individual light sensing elements relative to the dome glass; and determine the light intensity of the light source relative to the dome glass according to at least the signal values corresponding to the electrical signals output by the individual light sensing elements in the light sensing element array.

[0008] Optionally, the determining the light source direction of the light source relative to the dome glass according to the signal values corresponding to the electrical signals output by the individual light sensing elements in the light sensing element array and the position information of the individual light sensing elements relative to the dome glass comprises: determine a weighted average position of the light sensing element array according to the signal values corresponding to the electrical signals of the individual light sensing elements in the light sensing element array and the position information of the individual light sensing elements relative to the dome glass; determine the light source direction of the light source relative to the dome glass according to the weighted average position of the light sensing element array; wherein the weighted average position of the light sensing element array is the spatial center of gravity of the light intensity distribution of the range in which the light sensing element array is located; or determine the gradient change trend of the individual light sensing elements in the light sensing element array according to the difference in signal values between the adjacent two light sensing elements in the light sensing element array; determine the light source direction of the light source relative to the dome glass according to the gradient change trend of the individual light sensing elements in the light sensing element array; or input the signal values corresponding to the electrical signals of the individual light sensing elements in the light sensing element array and the position information of the individual light sensing elements relative to the dome glass into a pre-constructed deep learning model to obtain the change trend between the corresponding signal values of the individual light sensing elements in the light sensing element array output by the deep learning model; determine the light source direction of the light source relative to the dome glass according to the change trend between the corresponding signal values of the individual light sensing elements in the light sensing element array.

[0009] Optionally, the determining the light intensity of the light source relative to the dome glass according to at least the signal values corresponding to the electrical signals output by the individual light sensing elements in the light sensing element array comprises: perform weighted processing on the signal values corresponding to the electrical signals output by the individual light sensing elements in the light sensing element array to obtain the light intensity of the light source relative to the dome glass; or According to the position information of each light sensing element relative to the sky screen glass, a light sensing element corresponding to each region of the sky screen glass is determined; and according to the signal value corresponding to the light sensing element corresponding to each region of the sky screen glass, the light intensity of the light source relative to each region of the sky screen glass is determined.

[0010] Optionally, a plurality of light sensing elements in the light sensing element array are regularly distributed on the sky screen glass in a ring array, a matrix array or a cross array.

[0011] Optionally, the adjusting the light transmittance of each region of the sky screen glass according to the light source direction and the light intensity of the light source relative to the sky screen glass and the personnel distribution information in the vehicle comprises: determining the light flux of each region of the sky screen glass according to the light source direction and the light intensity of the light source relative to the sky screen glass and the material parameters of the sky screen glass; determining the light intensity received by each person in the vehicle according to the personnel distribution information in the vehicle, the light flux of each region of the sky screen glass and the preset effective projection area of light received by each person in the vehicle; adjusting the light transmittance of each region of the sky screen glass according to the light intensity received by each person in the vehicle.

[0012] Optionally, the adjusting the light transmittance of each region of the sky screen glass according to the light intensity received by each person in the vehicle comprises: determining the positional relationship between the position of each person in the vehicle and each region of the sky screen glass; judging whether the light intensity received by each person in the vehicle is in the preset range; for the person in the vehicle receiving light intensity not in the preset range, determining the light transmittance adjustment amount of each region of the sky screen glass according to the positional relationship between the position of the person and each region of the sky screen glass and the size relationship between the light intensity received by the person and the preset range, and adjusting the light transmittance of each region of the sky screen glass according to the corresponding light transmittance adjustment amount.

[0013] In a second aspect, the present application provides a light adjusting device for a sky screen glass of a vehicle, wherein the sky screen glass is divided into a plurality of regions with independently controllable light transmittance, and the light adjusting device comprises: a light source direction determining module, configured to determine the light source direction and the light intensity of a light source outside the vehicle relative to the sky screen glass; a personnel distribution obtaining module, configured to obtain personnel distribution information in the vehicle; The dimming module is used to adjust the light transmittance of each area of the dome glass according to the light source direction and the light intensity of the light source relative to the dome glass and the personnel distribution information in the vehicle.

[0014] In a third aspect, the present application provides an electronic device comprising a memory and a processor; The memory is configured to store a computer program; The processor is configured to implement the dimming method of the vehicle dome glass according to the first aspect when executing the computer program.

[0015] In a fourth aspect, the present application provides a computer readable storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the dimming method of the vehicle dome glass according to the first aspect is implemented.

[0016] The dimming method of the vehicle dome glass, the device, the electronic device and the storage medium have the following advantages: the light source direction and the light intensity of the light source outside the vehicle relative to the dome glass are determined to determine the source direction of the light received by the dome glass and the light intensity of the light received by the dome glass, thereby providing accurate light data for subsequent accurate dimming. The personnel distribution information in the vehicle is obtained to provide the distribution of the personnel in the vehicle for subsequent accurate dimming. According to the light source direction and the light intensity of the light source relative to the dome glass and the personnel distribution information in the vehicle, the light transmittance of each area of the dome glass is adjusted. By determining the source direction of the light received by the dome glass and the light intensity of the light received by the dome glass, and combining the distribution of the personnel in the vehicle, the dimming requirements of each area of the dome glass are more accurately obtained, so that the light transmittance of each area of the dome glass is more accurately adjusted according to the dimming requirements of each area of the dome glass, thereby meeting the requirements of the personnel at different positions in the vehicle for the light intensity. BRIEF DESCRIPTION OF DRAWINGS

[0017] Figure 1 FIG. 1 is a schematic view of a vehicle dome glass according to an embodiment; Figure 2 FIG. 2 is a flowchart of a dimming method of a vehicle dome glass according to an embodiment; Figure 3 FIG. 3 is a schematic view of a light source angle according to an embodiment; FIG. 4 is a schematic view of a distribution rule of a light sensing element array according to an embodiment, wherein FIG. 4(a) is a light sensing element array distributed in a ring shape, FIG. 4(b) is a light sensing element array distributed in a cross shape, and FIG. 4(c) is a light sensing element array distributed in a 3x3 matrix shape; Figure 5 FIG. 5 is a flowchart of determining the light source direction and the light intensity of the light source outside the vehicle according to an embodiment; Figure 6 A flow chart for adjusting the light transmittance of each region of the sky glass according to an embodiment; Figure 7 A flow chart for adjusting the light transmittance of each region of the sky glass according to the light intensity received by each person in the vehicle according to an embodiment; Figure 8 A structural schematic diagram of a light adjusting device of a vehicle sky glass according to an embodiment of the present application; Figure 9 A structural schematic diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0018] In order to make the above objectives, features and advantages of the present application more apparent, specific embodiments of the present application will be described in detail below with reference to the accompanying drawings. Although some embodiments of the present application are shown in the drawings, it should be understood that the present application can be implemented in various forms, and should not be interpreted as being limited to the embodiments set forth herein, but rather, these embodiments are provided so as to more thoroughly and completely understand the present application. It should be understood that the drawings and embodiments of the present application are for exemplary purposes only, and are not intended to limit the scope of protection of the present application.

[0019] It should be understood that each step described in the method embodiments of the present application can be performed in different orders, and / or in parallel. In addition, the method embodiments can include additional steps and / or omit the steps shown. The scope of the present application is not limited in this respect.

[0020] The term "comprising" and variations thereof as used herein are open-ended, that is, "comprising but not limited to"; the term "based on" is "based at least in part on"; the term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments"; the term "optionally" means "optional embodiments". Related definitions are given throughout the description. It should be noted that the concepts mentioned in the present application are merely used to distinguish different devices, modules or units, and are not intended to limit the functions performed by these devices, modules or units, or the order or interdependence of these functions.

[0021] It should be noted that the modification of "one" or "multiple" mentioned in the present application is illustrative rather than limiting, and those skilled in the art should understand that, unless otherwise explicitly indicated in the context, it should be understood as "one or more".

[0022] Names of messages or information exchanged between multiple devices in the embodiments of the present application are only for illustrative purposes, and are not used to limit the scope of the messages or information.

[0023] In the related art, the roof curtain structure is a glass layered structure, which has a glass outer panel and a glass inner panel, and a shading assembly arranged between the double-layer glass, the composition of the shading assembly includes two plastic films, a polymer dispersed liquid crystal layer between the two plastic films; at least one of the plastic film and / or the polymer dispersed liquid crystal layer is provided with black coloring, so that the layered structure has a transmittance of less than 30% for visible light in the transmittance state of the polymer dispersed liquid crystal (PDLC), and a transmittance of a maximum of 8% for visible light in the blocking state.

[0024] In the related art, an intelligent adjusting system for an automobile dimming glass includes an automatic control module for automatically adjusting the light transmittance of the dimming glass and for controlling the dimming glass according to a target signal.

[0025] In the related art, a vehicle-mounted curtain control method includes: obtaining a current trigger signal of a vehicle-mounted curtain; wherein the current trigger signal includes any one of a welcome signal, a farewell signal, a start charging signal, an end charging signal, a start discharging signal, and an end discharging signal; adjusting the light transmittance of the vehicle-mounted curtain according to the current trigger signal, and controlling the vehicle-mounted curtain to maintain the state after the light transmittance is adjusted for a preset time length; wherein the vehicle-mounted curtain after the light transmittance is adjusted displays a target icon corresponding to the current trigger signal. The vehicle-mounted curtain control method increases the experience of science and technology, ritual, and luxury in the interaction scenarios of welcome, farewell, charging, discharging, and the like.

[0026] In the related art, a curtain with an editing display shading and light transmission graphical user interface is used to display a program, and the interface content of the graphical user interface of the display information is used to edit the shading and light transmission of the curtain. After one of the curtain glasses is clicked, the current glass state is changed.

[0027] In the above related art, the light transmittance of the curtain glass of the vehicle is uniformly adjusted in a manual or automatic manner, the adjustment strategy relies on user experience or ambient light intensity, and the curtain glass is uniformly adjusted in terms of light transmittance, which cannot meet the requirements of personnel at different positions in the vehicle for light intensity.

[0028] To solve the problems in the above related art, the present embodiment provides a dimming method and device for a vehicle curtain glass, an electronic device, and a storage medium.

[0029] As Figure 1As shown, the top of the vehicle is provided with a sky screen glass 110, the sky screen glass 110 is divided into a plurality of independently controllable regions, the plurality of regions can be distributed in a grid, can be arranged in rows, or can be arranged in a triangular shape, each region corresponds to a light transmittance control unit, and the light transmittance of each region can be adjusted independently.

[0030] As shown in the embodiment of the present application, a light adjusting method of a vehicle sky screen glass is provided, which comprises the following steps of: Figure 2 S210: determining the light source direction and the light intensity of the light source outside the vehicle relative to the sky screen glass 110.

[0031] Specifically, the light source outside the vehicle is the sun.

[0032] Specifically, as shown in the embodiment of the present application, the light source direction of the light source 310 relative to the sky screen glass 110 is the incident angle θ of the light ray 320 emitted by the light source 310 into the sky screen glass 110, and the incident angle θ is the included angle between the light ray emitted by the light source 310 and the surface normal 110-a of the sky screen glass 110. The light intensity of the light source 310 relative to the sky screen glass 110 is the light intensity of the light ray 320 emitted by the light source 310 into the sky screen glass 110. Figure 3

[0033] S220: obtaining the personnel distribution information in the vehicle.

[0034] In some embodiments, the pressure value of the seat in the vehicle can be collected by the pressure sensor arranged at the seat in the vehicle, and whether the seat has personnel is determined according to the pressure value. Since the position of the seat in the vehicle is known, the personnel distribution information in the vehicle can be determined. In other embodiments, the position of the personnel (for example, the head position) in the vehicle can also be recognized by the infrared thermal imaging device in the vehicle, and the personnel distribution information in the vehicle can be determined. The wearing situation of the safety belt can also be detected by the safety belt sensor to determine the personnel distribution information in the vehicle.

[0035] S230: adjusting the light transmittance of each region of the sky screen glass 110 according to the light source direction and the light intensity of the light source relative to the sky screen glass 110 and the personnel distribution information in the vehicle.

[0036] ​​Specifically, on one hand, the light source direction and the light intensity of the different light sources relative to the sky dome glass 110 are different, so that the light intensity of the light emitted by the light sources and then irradiated to the seats in the vehicle is also different; on the other hand, if there is no person on the seat in the vehicle, it is not necessary to consider whether the light intensity at the seat position is appropriate, so it is only necessary to consider whether the light intensity at the position of the seat with a person is appropriate; thus, according to the light source direction and the light intensity of the light sources relative to the sky dome glass 110 and the personnel distribution information in the vehicle, the light transmittance of each region of the sky dome glass 110 is adjusted, wherein the interlayer of the sky dome glass 110 is integrated with a dimming film, and taking a polymer dispersed liquid crystal (PDLC) film as an example, the light transmittance can be adjusted by adjusting the voltage amplitude or frequency applied to the dimming film.

[0037] In the embodiment, the light source direction and the light intensity of the light sources outside the vehicle relative to the sky dome glass are determined to determine the source direction of the light received by the sky dome glass and the light intensity of the light received by the sky dome glass, so as to provide accurate light data for subsequent precise dimming. The personnel distribution information in the vehicle is obtained to provide the distribution of the persons in the vehicle for subsequent precise dimming. According to the light source direction and the light intensity of the light sources relative to the sky dome glass and the personnel distribution information in the vehicle, the light transmittance of each region of the sky dome glass is adjusted, so that the dimming requirements of each region of the sky dome glass are more accurately obtained by determining the source direction of the light received by the sky dome glass and the light intensity of the light received by the sky dome glass and combining the distribution of the persons in the vehicle, so as to more accurately adjust the light transmittance of each region of the sky dome glass according to the dimming requirements of each region of the sky dome glass, and meet the requirements of the persons at different positions in the vehicle for the light intensity.

[0038] Optionally, the sky dome glass 110 is provided with an array of light sensing elements distributed according to a predetermined rule.

[0039] Specifically, the multiple light sensing elements in the light sensing element array are distributed on the skylight glass 110 in a circular array, a matrix array, or a cross array. In some embodiments, the distribution pattern of the multiple light sensing elements in the light sensing element array is related to the shape and area division of the skylight glass 110. For example, when the skylight glass 110 is circular, the multiple light sensing elements in the light sensing element array are distributed in a circular array. When the skylight glass 110 is rectangular and the areas are divided into a cross shape, the multiple light sensing elements in the light sensing element array can be distributed in a cross array to ensure that at least one light sensing element is provided on each area of ​​the skylight glass 110. As shown in Figure 4, Figure 4 (a) shows multiple light sensing elements 410 distributed in a circular array, Figure 4 (b) shows multiple light sensing elements 410 distributed in a cross array, and Figure 4 (c) shows multiple light sensing elements 410 distributed in a 3×3 matrix array.

[0040] In some embodiments, the light sensing element may be a photoresistor element, whose resistance is inversely proportional to the light intensity it receives. In other embodiments, the light sensing element may be a photodiode or other sensor element capable of converting light signals into electrical signals.

[0041] like Figure 5 As shown, determining the light source direction and light intensity of the vehicle's external light source in S210 includes the following steps: S510: Acquire a signal value corresponding to an electrical signal output by each light sensor element in the light sensor element array, where the electrical signal is obtained by converting a light signal emitted by a light source received by the light sensor element.

[0042] In some embodiments, when the light sensing element is a photoresistor, the electrical signal can be a voltage signal or a current signal, and the corresponding signal value is the light intensity signal value. For example, a series voltage divider circuit can be used to convert the resistance change of the photoresistor element into a voltage signal. The voltage value can then be read by an ADC (analog-to-digital converter) module, and the corresponding light intensity signal value can be determined based on the voltage value, reflecting the light intensity received by the light sensing element.

[0043] S520: Acquire position information of each light sensor element in the light sensor element array relative to the skylight glass 110 .

[0044] In some embodiments, a coordinate system of the sunroof glass 110 is constructed with the geometric center of the sunroof glass 110 as the origin, the horizontal axis (X-axis) along the left-right direction of the vehicle (driver side -> co-pilot side), and the vertical axis (Y-axis) along the front-rear direction of the vehicle (front windshield -> rear window direction). The position information of each light sensing element relative to the sunroof glass 110 is the coordinate (xi, yi) of each light sensing element in the coordinate system of the sunroof glass, xi is the horizontal axis coordinate of the i-th light sensing element, yi is the vertical axis coordinate of the i-th light sensing element, and i is the serial number of the light sensing element.

[0045] S530: determining the light source direction of the light source relative to the sunroof glass 110 according to the signal value corresponding to the electrical signal output by each light sensing element in the light sensing element array and the position information of each light sensing element relative to the sunroof glass 110.

[0046] Specifically, the light source direction is different, and the light intensity of the light emitted by the light source on each light sensing element on the sunroof glass 110 is different, so according to the light intensity of the light emitted by the light source on each light sensing element on the sunroof glass 110 and the position information of each light sensing element relative to the sunroof glass 110, the light intensity of the light sensing element at different positions on the sunroof glass 110 can be determined, and then the light source direction of the light source relative to the sunroof glass 110 can be determined.

[0047] S540: determining the light intensity of the light source relative to the sunroof glass 110 according to at least the signal value corresponding to the electrical signal output by each light sensing element in the light sensing element array.

[0048] Specifically, each light sensing element corresponds to a signal value, which can represent the light intensity, and based on the signal value corresponding to each light sensing element, the light intensity of the light emitted by the light source on the sunroof glass 110 can be determined, that is, the light intensity of the light source relative to the sunroof glass 110 can be determined.

[0049] In this optional embodiment, through the position information and corresponding signal value of each light sensing element regularly distributed on the sunroof glass 110, the light source direction and light intensity of the light source relative to the sunroof glass 110 can be accurately determined.

[0050] Optionally, the determination of the light source direction of the light source relative to the sunroof glass in S530 according to the signal value corresponding to the electrical signal output by each light sensing element in the light sensing element array and the position information of each light sensing element relative to the sunroof glass can be realized by the following way: In some embodiments, a weighted average position of the light sensing element array is determined according to the signal values corresponding to the electrical signals of each light sensing element in the light sensing element array and the position information of each light sensing element relative to the dome glass; a light source direction of the light source relative to the dome glass is determined according to the weighted average position of the light sensing element array; wherein the weighted average position of the light sensing element array is the spatial center of gravity of the light intensity distribution of the range in which the light sensing element array is located.

[0051] Specifically, the weighted average position of the light sensing element array is determined according to the signal values corresponding to the electrical signals of each light sensing element in the light sensing element array and the position information of each light sensing element relative to the dome glass as follows: the signal value corresponding to each light sensing element in the light sensing element array is multiplied by the coordinate of the corresponding light sensing element in the dome glass coordinate system respectively to obtain a weighted position, and the weighted position is divided by the sum of the signal values corresponding to all light sensing elements in the light sensing element array to obtain the weighted average position of the light sensing element array.

[0052] Specifically, the light source direction of the light source relative to the dome glass is determined according to the weighted average position of the light sensing element array as follows: according to the weighted average position of the light sensing element array, the angle between the line connecting the weighted average position and the origin of the dome glass coordinate system and the horizontal coordinate of the dome glass coordinate system is determined, and the angle is the incident angle of the light ray of the light source into the dome glass.

[0053] For example, taking four light-dependent resistance elements in a cross-shaped array as an example, the coordinates (xi, yi) of the four light-dependent resistance elements (LDR1, LDR2, LDR3, LDR4) in the dome glass coordinate system and the corresponding signal values Si are as follows:

[0054] The weighted average position of the light sensing element array composed of the above four light-dependent resistance elements has a coordinate of: ; ; wherein, X is the horizontal coordinate value of the weighted average position in the dome glass coordinate system, Y is the vertical coordinate value of the weighted average position in the dome glass coordinate system.

[0055] From the coordinate (0.1, 0.3) of the weighted average position, it can be deduced that the incident angle of the light ray of the light source into the dome glass is .

[0056] In some embodiments, the difference between the signal values of two adjacent light sensing elements in the array of light sensing elements is determined according to the signal values corresponding to the electrical signals of the light sensing elements and the position information of the light sensing elements relative to the dome glass; the gradient change trend of each light sensing element in the array of light sensing elements is determined according to the difference between the signal values of two adjacent light sensing elements in the array of light sensing elements; and the light source direction of the light source relative to the dome glass 110 is determined according to the gradient change trend of each light sensing element in the array of light sensing elements.

[0057] Specifically, the difference between the signal values of two adjacent elements in the array of light sensitive resistors forms a gradient, and the direction of the gradient points to the direction in which the light intensity increases most quickly (i.e., the reverse direction of the light source direction), so the reverse direction of the direction in which the light intensity increases most quickly in the gradient change trend of each light sensing element in the array of light sensing elements is taken as the light source direction.

[0058] In some other embodiments, the signal values corresponding to the electrical signals of each light sensing element in the array of light sensing elements and the position information of each light sensing element relative to the dome glass 110 are input into a pre-constructed deep learning model to obtain the change trend between the signal values corresponding to each light sensing element in the array of light sensing elements output by the deep learning model; and the light source direction of the light source relative to the dome glass 110 is determined according to the change trend between the signal values corresponding to each light sensing element in the array of light sensing elements.

[0059] Specifically, the deep learning model can be a model constructed by a structure such as a neural network, which can output a relatively accurate direction vector of the change of the signal values corresponding to each light sensing element after being trained.

[0060] Specifically, the light source direction can be determined according to the direction vector of the change of the signal values corresponding to each light sensing element.

[0061] In the optional embodiments, the light source can be effectively located according to the change of the signal values corresponding to each light sensing element in the array of light sensing elements under different light source directions, so as to accurately determine the light source direction.

[0062] Optionally, the determination of the illumination intensity of the light source relative to the dome glass according to at least the signal values corresponding to the electrical signals output by each light sensing element in the array of light sensing elements in S540 comprises: In some embodiments, the signal values corresponding to the electrical signals output by each light sensing element in the array of light sensing elements are weighted and averaged to obtain the illumination intensity of the light source relative to the dome glass 110.

[0063] Specifically, the signal values corresponding to the light sensing elements can be weighted according to predetermined weights, and the weighted signal values are the illumination intensity of the sky dome 110. That is, assuming that the illumination intensity of each region of the sky dome 110 is the same, the illumination intensity of each region of the sky dome 110 is the weighted value of the signal value corresponding to each light sensing element.

[0064] In some other embodiments, the light sensing elements corresponding to each region of the sky dome 110 are determined according to the position information of each light sensing element relative to the sky dome 110, and the illumination intensity of each region of the sky dome 110 relative to the light source is determined according to the signal value corresponding to the light sensing element corresponding to each region of the sky dome 110.

[0065] Specifically, the signal value corresponding to the light sensing element of each region of the sky dome 110 is associated with the region, so that the illumination intensity of each region of the sky dome 110 is determined by the signal value corresponding to the light sensing element associated with the region. If there is only one light sensing element associated with a region, the signal value corresponding to the light sensing element is determined as the illumination intensity of the region. If there are multiple light sensing elements associated with a region, the signal values corresponding to the associated light sensing elements are weighted or processed to obtain the illumination intensity of the region.

[0066] In this optional embodiment, the signal value corresponding to each light sensing element in the light sensing element array arranged on the sky dome 110 can be used to accurately determine the illumination intensity of the light source relative to the sky dome 110.

[0067] Optionally, as shown in FIG. 6, the light transmittance of each region of the sky dome 110 is adjusted according to the light source direction and illumination intensity of the light source relative to the sky dome 110 and the personnel distribution information in the vehicle, including the following steps: Figure 6 S610: determining the luminous flux of each region of the sky dome 110 according to the light source direction and illumination intensity of the light source relative to the sky dome 110 and the material parameters of the sky dome 110.

[0068] Specifically, the material parameters of the sky dome 110 include the refractive index (n) of the sky dome 110 and the material parameters of other materials in the sky dome 110. The other materials are, for example, the light shielding components used for intelligent dimming in the sky dome 110, and the material parameters are, for example, absorption coefficient, reflection coefficient, etc.

[0069] Specifically, the luminous flux of each region of the sky dome 110 also needs to consider actual factors such as glass temperature and glass geometry, so that the calculated luminous flux value is closer to the actual value.

[0070] ​S620: Determine the light intensity received by each person in the vehicle based on the distribution information of people in the vehicle, the luminous flux of each area of ​​the skylight glass 110 and the preset effective projection area for each person in the vehicle to receive light.

[0071] Specifically, based on the distribution information of people in the vehicle, it can be determined which seats in the vehicle have people. For the seat positions with people, the preset effective projection area for the people at the seat positions to receive light is obtained, and based on the luminous flux of each area of ​​the skylight glass 110, the light intensity received by the people at the seat positions is calculated.

[0072] The light intensity received by each person in the vehicle is calculated according to the following expression: E=Φ / A; Wherein, Φ is the luminous flux of each area of ​​the skylight glass 110, A is the preset effective projection area for each person in the vehicle to receive light, and E is the light intensity received by each person in the vehicle.

[0073] Specifically, the preset effective projection area for each person in the vehicle to receive light can be determined based on experience. For example, the maximum projection area of ​​0.15 m² is used as the effective projection area for each person in the vehicle to receive light.

[0074] S630: Adjust the light transmittance of each area of ​​the skylight glass 110 according to the light intensity received by each person in the vehicle.

[0075] Specifically, for the people in the vehicle, the light intensity they receive needs to be consistent with the light intensity that is comfortable for the human body. Excessive light may cause glare to the people in the vehicle, and too weak light may cause visual fatigue to the people in the vehicle (such as the driver). Therefore, it can be judged whether the light intensity received by each person in the vehicle is consistent with the light intensity that is comfortable for the human body. If it is consistent, there is no need to adjust the transmittance of the skylight glass 110. If it is not consistent, the transmittance of each area of ​​the skylight glass 110 needs to be adjusted to make the light intensity received by each person in the vehicle consistent with the light intensity that is comfortable for the human body.

[0076] Specifically, when adjusting the transmittance of each area of ​​the skylight glass 110, the adjustment amount of the transmittance of each area of ​​the skylight glass 110 can be determined based on the positional relationship between the position of each person in the vehicle and the each area of ​​the skylight glass 110, as well as the light intensity received by each person in the vehicle, so as to adjust the transmittance of each area of ​​the skylight glass 110 separately.

[0077] Specifically, if Figure 7 As shown, adjusting the light transmittance of each area of ​​the skylight glass 110 according to the light intensity received by each person in the vehicle may include the following steps: S710: Determine the positional relationship between the positions of the persons in the vehicle and the positions of the regions of the sunroof glass 110.

[0078] Specifically, according to the distribution information of the persons in the vehicle, the seat positions of the persons in the vehicle can be determined, and then the positions of the persons in the vehicle can be determined. According to the positions of the regions of the sunroof glass 110 in the plane of the sunroof glass 110 and the spatial positional relationship between the seat positions of the vehicle and the sunroof glass 110, the positional relationship between the positions of the persons in the vehicle and the positions of the regions of the sunroof glass 110 can be determined.

[0079] S720: Determine whether the light intensity received by the persons in the vehicle is within a preset range.

[0080] In some embodiments, the preset range is the light intensity that meets the human comfort. According to experience, the preset range can be 200-500 lux.

[0081] S730: For the persons in the vehicle whose received light intensity is not within the preset range, according to the positional relationship between the positions of the persons and the positions of the regions of the sunroof glass and the magnitude relationship between the received light intensity of the persons and the preset range, the adjustment amount of the light transmittance of the corresponding regions of the sunroof glass 110 is determined, and the light transmittance of the corresponding regions of the sunroof glass 110 is adjusted according to the adjustment amount.

[0082] Specifically, when the magnitude relationship between the light intensity and the preset range is that the light intensity is less than the preset range, the corresponding light transmittance of the corresponding regions of the sunroof glass 110 needs to be controlled to increase. When the magnitude relationship between the light intensity and the preset range is that the light intensity is greater than the preset range, the corresponding light transmittance of the corresponding regions of the sunroof glass 110 needs to be controlled to decrease.

[0083] Specifically, the adjustment amount of the light transmittance of each region of the sunroof glass 110 can be determined according to the positional relationship between the positions of the persons and the positions of the regions of the sunroof glass 110. In an embodiment, the adjustment amount of each region can be determined by calculating the line-of-sight vector of the person through the position of the person and the center coordinates of the regions of the sunroof glass 110, and determining the adjustment amount of each region according to the included angle between the normal vector of each region of the sunroof glass 110 and the line-of-sight vector, wherein the smaller the included angle, the greater the adjustment amount.

[0084] Specifically, since the light transmittance of each region of the sunroof glass 110 is independently controlled, the light transmittance of each region is adjusted according to different adjustment amounts to meet the light demand of all persons in the vehicle.

[0085] In this optional embodiment, by using the light source direction and light intensity relative to the skylight glass 110, as well as the occupant distribution information in the vehicle, “on-demand dimming” can be accurately achieved while taking into account the comfort of each person in the vehicle.

[0086] like Figure 8 As shown, an embodiment of the present invention provides a dimming device 800 for a vehicle sunroof glass, wherein the sunroof glass is divided into a plurality of regions with independently controllable light transmittance, wherein the dimming device 800 for the vehicle sunroof glass includes: A light source direction determination module 810 is used to determine the light source direction and light intensity of the light source outside the vehicle relative to the skylight glass; A personnel distribution acquisition module 820 is used to obtain personnel distribution information in the vehicle; The dimming module 830 is used to adjust the light transmittance of each area of ​​the skylight glass according to the light source direction and light intensity of the light source relative to the skylight glass, and the occupant distribution information in the vehicle.

[0087] Optionally, an array of light sensing elements is distributed on the skylight glass according to a predetermined pattern; and determining the light source direction and light intensity of the vehicle's external light source includes: Obtaining a signal value corresponding to an electrical signal output by each light sensing element in the light sensing element array, wherein the electrical signal is obtained by converting a light signal emitted by the light source received by the light sensing element; Acquiring position information of each light sensing element in the light sensing element array relative to the skylight glass; Determining the light source direction of the light source relative to the skylight glass based on the signal value corresponding to the electrical signal output by each light sensor element in the light sensor element array and the position information of each light sensor element relative to the skylight glass; and The illumination intensity of the light source relative to the skylight glass is determined at least according to a signal value corresponding to an electrical signal output by each light sensing element in the light sensing element array.

[0088] Optionally, determining the light source direction of the light source relative to the skylight glass according to a signal value corresponding to an electrical signal output by each light sensor element in the light sensor element array and position information of each light sensor element relative to the skylight glass includes: determining a weighted average position of the light-sensing element array according to the signal values corresponding to the electrical signals of each light-sensing element in the light-sensing element array and the position information of each light-sensing element relative to the dome glass; determining the light source direction of the light source relative to the dome glass according to the weighted average position of the light-sensing element array; wherein the weighted average position of the light-sensing element array is the spatial center of gravity of the light intensity distribution of the range where the light-sensing element array is located; or, determining the difference in signal values between two adjacent light-sensing elements in the light-sensing element array according to the signal values corresponding to the electrical signals of each light-sensing element in the light-sensing element array and the position information of each light-sensing element relative to the dome glass; determining the gradient change trend of each light-sensing element in the light-sensing element array according to the difference in signal values between two adjacent light-sensing elements in the light-sensing element array; determining the light source direction of the light source relative to the dome glass according to the gradient change trend of each light-sensing element in the light-sensing element array; or, inputting the signal values corresponding to the electrical signals of each light-sensing element in the light-sensing element array and the position information of each light-sensing element relative to the dome glass into a pre-constructed deep learning model to obtain the change trend between the corresponding signal values of each light-sensing element in the light-sensing element array output by the deep learning model; determining the light source direction of the light source relative to the dome glass according to the change trend between the corresponding signal values of each light-sensing element in the light-sensing element array.

[0089] Optionally, the determining of the illumination intensity of the light source relative to the dome glass according to at least the signal values corresponding to the electrical signals output by each light-sensing element in the light-sensing element array comprises: performing weighted processing on the signal values corresponding to the electrical signals output by each light-sensing element in the light-sensing element array to obtain the illumination intensity of the light source relative to the dome glass; or, determining the light-sensing elements corresponding to each region of the dome glass according to the position information of each light-sensing element relative to the dome glass; determining the illumination intensity of the light source relative to each region in the dome glass according to the signal values corresponding to the light-sensing elements corresponding to each region of the dome glass.

[0090] Optionally, a plurality of light-sensing elements in the light-sensing element array are distributed on the dome glass in a regular pattern of a ring array, a matrix array, or a cross-shaped array.

[0091] Optionally, the adjusting the light transmittance of each region of the skydome glass according to the light source direction and the light intensity of the light source relative to the skydome glass and the personnel distribution information in the vehicle comprises: determining the light flux of each region of the skydome glass according to the light source direction and the light intensity of the light source relative to the skydome glass and the material parameters of the skydome glass; determining the light intensity received by each person in the vehicle according to the personnel distribution information in the vehicle, the light flux of each region of the skydome glass and the preset effective projection area of light received by each person in the vehicle; adjusting the light transmittance of each region of the skydome glass according to the light intensity received by each person in the vehicle.

[0092] Optionally, the adjusting the light transmittance of each region of the skydome glass according to the light intensity received by each person in the vehicle comprises: determining the positional relationship between the position of each person in the vehicle and each region of the skydome glass; judging whether the light intensity received by each person in the vehicle is in the preset range; for the person in the vehicle whose received light intensity is not in the preset range, determining the light transmittance adjustment amount of each region of the skydome glass according to the positional relationship between the position of the person and each region of the skydome glass and the size relationship between the received light intensity of the person and the preset range; adjusting the light transmittance of each region of the skydome glass according to the corresponding light transmittance adjustment amount.

[0093] As shown in Figure 9 The embodiment of the present application provides an electronic device 900, which comprises a memory 910 and a processor 920; the memory 910 is used for storing a computer program; and the processor 920 is used for realizing the light adjusting method of the skydome glass of the vehicle when the computer program is executed.

[0094] Alternatively, an electronic device 900 comprises a memory 910 and a processor 920 coupled to the memory 910; the memory 910 is configured to store a computer program; and the processor 920 is configured to execute the following operations when the computer program is executed: determining the light source direction and the light intensity of the light source outside the vehicle relative to the skydome glass; obtaining personnel distribution information in the vehicle; According to the light source direction and the light intensity of the light source relative to the skydome glass and the personnel distribution information in the vehicle, the light transmittance of each region of the skydome glass is adjusted.

[0095] The embodiment of the present application provides a computer readable storage medium, and the storage medium stores a computer program. When the computer program is executed by a processor, the light adjusting method of the skydome glass of the vehicle is realized.

[0096] Alternatively, a non-volatile computer readable storage medium stores a computer program. When the computer program is executed by a processor, the processor executes the following operations: determining the light source direction and the light intensity of a light source outside the vehicle relative to the skydome glass; obtaining personnel distribution information in the vehicle; adjusting the light transmittance of each region of the skydome glass according to the light source direction and the light intensity of the light source relative to the skydome glass and the personnel distribution information in the vehicle.

[0097] An electronic device 900 that can be a server or a client of the present application will now be described, which is an example of a hardware device that can be applied to various aspects of the present application. The electronic device 900 is intended to represent various forms of digital electronic computer devices such as laptops, desktops, tablets, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device 900 can also represent various forms of mobile devices such as personal digital processors, cellular telephones, smart phones, wearable devices, and other similar computing devices. The components shown here, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application described and / or claimed in this document.

[0098] The electronic device 900 includes a computing unit that can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) or a computer program loaded from a storage unit into a random access memory (RAM). In the RAM, various programs and data required for device operation can also be stored. The computing unit, the ROM, and the RAM are connected to each other through a bus. An input / output (I / O) interface is also connected to the bus.

[0099] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by a computer program instructing relevant hardware, and the program can be stored in a computer readable storage medium. When the program is executed, the program can include the processes of the above-mentioned embodiment methods. The storage medium can be a magnetic disc, an optical disc, a read-only memory (ROM), a random access memory (RAM), or the like. In this application, the units described as separate components can or can not be physically separated, and the components shown as units can or can not be physical units, that is, they can be located in one place, or they can be distributed on multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment of the present application. In addition, the functional units in each embodiment of the present application can be integrated in one processing unit, or each unit can exist physically independently, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.

[0100] Although the present application is disclosed as above, the protection scope of the present application is not limited to this. Those skilled in the art can make various changes and modifications without departing from the spirit and scope of the present application, and these changes and modifications will fall within the protection scope of the present application.

Claims

1. A dimming method for vehicle skylight glass, characterized in that: The skylight glass is divided into a plurality of areas with independently controllable light transmittance, wherein the dimming method includes: Determining the direction and intensity of a light source outside the vehicle relative to the skylight glass; Obtaining personnel distribution information in the vehicle; The light transmittance of each area of ​​the skylight glass is adjusted according to the light source direction and light intensity of the light source relative to the skylight glass, and the occupant distribution information in the vehicle.

2. The dimming method for vehicle skylight glass according to claim 1, characterized in that: An array of light sensing elements is distributed on the skylight glass according to a predetermined pattern; Determining the light source direction and light intensity of the vehicle's external light source includes: Obtaining a signal value corresponding to an electrical signal output by each light sensing element in the light sensing element array, wherein the electrical signal is obtained by converting a light signal emitted by the light source received by the light sensing element; Acquiring position information of each light sensing element in the light sensing element array relative to the skylight glass; determining the light source direction of the light source relative to the skylight glass according to the signal value corresponding to the electrical signal output by each light sensor element in the light sensor element array and the position information of each light sensor element relative to the skylight glass; and, The illumination intensity of the light source relative to the skylight glass is determined according to a signal value corresponding to an electrical signal output by each light sensor element in the light sensor element array.

3. The dimming method for vehicle skylight glass according to claim 2, characterized in that: Determining the light source direction of the light source relative to the skylight glass according to the signal value corresponding to the electrical signal output by each light sensor element in the light sensor element array and the position information of each light sensor element relative to the skylight glass includes: Determine the weighted average position of the light sensor array based on the signal value corresponding to the electrical signal of each light sensor element in the light sensor array and the position information of each light sensor element relative to the skylight glass; determine the light source direction of the light source relative to the skylight glass based on the weighted average position of the light sensor array; wherein the weighted average position of the light sensor array is the spatial center of gravity of the light intensity distribution within the range of the light sensor array; or Determine the difference in signal values ​​between every two adjacent light sensor elements in the light sensor array based on the signal values ​​corresponding to the electrical signals of each light sensor element in the light sensor array and the position information of each light sensor element relative to the skylight glass; determine the gradient change trend of each light sensor element in the light sensor array based on the difference in signal values ​​between every two adjacent light sensor elements in the light sensor array; determine the light source direction of the light source relative to the skylight glass based on the gradient change trend of each light sensor element in the light sensor array; or The signal value corresponding to the electrical signal of each light sensor element in the light sensor element array and the position information of each light sensor element relative to the skylight glass are input into a pre-built deep learning model to obtain the change trend between the corresponding signal values ​​of each light sensor element in the light sensor element array output by the deep learning model; based on the change trend between the corresponding signal values ​​of each light sensor element in the light sensor element array, the light source direction of the light source relative to the skylight glass is determined.

4. The dimming method for vehicle skylight glass according to claim 2, characterized in that: Determining the illumination intensity of the light source relative to the skylight glass according to the signal value corresponding to the electrical signal output by each light sensor element in the light sensor element array includes: Performing weighted processing on the signal values ​​corresponding to the electrical signals output by the respective light sensing elements in the light sensing element array to obtain the illumination intensity of the light source relative to the skylight glass; or According to the position information of each light sensing element relative to the skylight glass, the light sensing elements corresponding to each area of ​​the skylight glass are determined; according to the signal values ​​corresponding to the light sensing elements corresponding to each area of ​​the skylight glass, the light intensity of the light source relative to each area of ​​the skylight glass is determined.

5. The dimming method for vehicle skylight glass according to claim 2, characterized in that: The plurality of light sensing elements in the light sensing element array are distributed on the skylight glass in a ring array, a matrix array or a cross array.

6. The dimming method for vehicle skylight glass according to claim 1, characterized in that: The adjusting the light transmittance of each area of ​​the skylight glass according to the light source direction and light intensity of the light source relative to the skylight glass and the occupant distribution information in the vehicle includes: Determining the luminous flux of each area of ​​the skylight glass according to the light source direction and light intensity of the light source relative to the skylight glass, and the material parameters of the skylight glass; Determining the light intensity received by each person in the vehicle based on the distribution information of people in the vehicle, the luminous flux of each area of ​​the skylight glass, and the preset effective projection area of ​​each person in the vehicle receiving light; The light transmittance of each area of ​​the skylight glass is adjusted according to the light intensity received by each person in the vehicle.

7. The dimming method for vehicle skylight glass according to claim 6, characterized in that: The adjusting the light transmittance of each area of ​​the skylight glass according to the light intensity received by each person in the vehicle includes: Determining the positional relationship between the positions of each person in the vehicle and each area of ​​the skylight glass; Determining whether the light intensity received by each person in the vehicle is within the preset range; For a person in the vehicle whose received light intensity is not within the preset range, determining an area in the various areas of the skylight glass that corresponds to the position of the person based on a positional relationship between the position of the person and the various areas of the skylight glass; According to the relationship between the light intensity received by the person and the preset range, the transmittance adjustment amount corresponding to the corresponding area on the skylight glass is determined, and the transmittance of the corresponding area of ​​the skylight glass is adjusted according to the corresponding transmittance adjustment amount.

8. A dimming device for a vehicle skylight glass, characterized in that: The skylight glass is divided into a plurality of areas with independently controllable light transmittance, wherein the dimming device includes: A light source direction determination module, configured to determine the light source direction and light intensity of a light source outside the vehicle relative to the skylight glass; A personnel distribution acquisition module is used to obtain the personnel distribution information in the vehicle; A dimming module is used to adjust the light transmittance of each area of ​​the skylight glass according to the light source direction and light intensity of the light source relative to the skylight glass, and the occupant distribution information in the vehicle.

9. An electronic device, characterized in that: including memory and processor; The memory is used to store computer programs; The processor is configured to implement the dimming method for the vehicle skylight glass according to any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, characterized in that The storage medium stores a computer program, and when the computer program is executed by the processor, the dimming method for the vehicle skylight glass according to any one of claims 1 to 7 is implemented.