Method and apparatus for controlling variable transmittance glass

The method and apparatus for controlling variable transmittance glass address the limitations of conventional light-blocking technologies by dynamically adjusting glass transparency based on light source angles and object positions, enhancing safety and comfort in vehicles.

JP7702565B2Active Publication Date: 2025-07-03YINWANG INTELLIGENT TECHNOLOGIES CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
JP2024503799
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-07-21
Publication Date
2025-07-03
Estimated Expiration
2041-07-21

AI Technical Summary

Technical Problem

Conventional solutions for blocking strong light in vehicles, such as rotatable sunshades and sun-screen films, fail to effectively address glare from various directions and compromise the spacious experience of glass roofs or panoramic sunroofs, posing safety and comfort issues for drivers and passengers.

Method used

A method and apparatus for controlling variable transmittance glass that adjusts its transparency based on the elevation and yaw angles of light sources and the position of objects within the vehicle, using sensors and cameras to determine the projection area of light and adjust transmittance accordingly.

Benefits of technology

Accurately blocks strong light from different directions, enhancing driving safety and passenger comfort by dynamically controlling the transmittance of glass surfaces, thereby improving the overall vehicle experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007702565000008
    Figure 0007702565000008
  • Figure 0007702565000009
    Figure 0007702565000009
  • Figure 0007702565000010
    Figure 0007702565000010
Patent Text Reader

Abstract

An embodiment of the present application provides a method for controlling a variable transmittance glass. The variable transmittance glass is disposed in a target vehicle. The method includes the steps of: acquiring an elevation angle and a yaw angle of a light source, where the elevation angle indicates an included angle between a direction in which the light of the light source is emitted to the target vehicle and a horizontal plane, and the yaw angle indicates an included angle between a connection line between a projection of the light source on the horizontal plane and the center of gravity of the target vehicle and a running direction of the target vehicle; acquiring position information of a target object; acquiring a projection area projected by the target object on the variable transmittance glass based on the position information of the target object and the elevation angle and the yaw angle of the light source, where the target object is located in the target vehicle; and adjusting the transmittance of the projection area on the variable transmittance glass. According to the method for controlling a variable transmittance glass provided in the embodiment of the present application, the transmittance of a part of the variable transmittance glass can be more accurately controlled based on the elevation angle and yaw angle of the light source and the position information of the object that needs shading.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle control, and in particular, to a method and apparatus for controlling variable transmittance glass.

Background Art

[0002] Light pollution has been attracting increasing attention from society, especially in the transportation field. Strong light hinders the driver's vision and poses a significant security risk. For example, the high beams of oncoming vehicles, common gantry lights on highways, or roadside advertising electronic screens can give drivers varying degrees of glare at night, potentially causing traffic accidents. Similarly, sunlight hitting the driver's eyes can also cause glare to the driver. To solve this problem, conventional solutions use a rotatable sunshade installed in front of the driver and adjust the sunshade to block the interference to the driver caused by strong light. However, in the blocking range formed by rotating and adjusting the sunshade, it is actually difficult to fully address the interference of strong light from different directions and may block the driver's vision.

[0003] In addition to the above-mentioned driving security risks, strong light also causes discomfort to passengers. For example, passengers in the passenger seat also feel glare. In particular, since glass roofs or panoramic sunroofs are becoming a design trend, sunshading is essential. The conventional solution to this problem is to attach a sun-screen film to the glass of the glass roof or panoramic sunroof. However, although this blocks sunlight, it impairs the spacious spatial experience provided by the sunroof or glass roof.

Summary of the Invention

[0004] In response to the problem of insufficient blocking of strong light in the prior art, embodiments of the present application provide a technical solution for realizing light shielding by controlling variable transmittance glass.

[0005] According to a first aspect, an embodiment of the present application provides a method for controlling a variable transmittance glass. The variable transmittance glass is disposed on a target vehicle. The method includes: obtaining an elevation angle and a yaw angle of a light source, where the elevation angle represents an included angle between a direction in which light of the light source is radiated onto the target vehicle and a horizontal plane, and the yaw angle represents an included angle between a connection line between a projection of the light source onto the horizontal plane and the center of gravity of the target vehicle and a traveling direction of the target vehicle; obtaining position information of a target object, where the target object is located inside the target vehicle; obtaining a projection area projected onto the variable transmittance glass by the target object based on the position information of the target object, the elevation angle, and the yaw angle of the light source; and adjusting a transmittance of the projection area on the variable transmittance glass.

[0006] In a possible implementation, the method further includes obtaining orientation information of the light source with respect to the target vehicle.

[0007] In a possible implementation, the step of obtaining the elevation angle and the yaw angle of the light source includes obtaining the elevation angle and the yaw angle of the light source based on a first illuminance value and a second illuminance value. The first illuminance value is an illuminance value detected by an upper illuminance sensor disposed on an upper portion of the target vehicle, and the second illuminance value includes an illuminance value detected by an illuminance sensor disposed on the target vehicle and corresponding to the orientation information.

[0008] In a possible implementation, the step of obtaining the elevation angle and the yaw angle of the light source is captured by a camera and includes an image a source including the image and the intrinsic parameters of the cameraBased on this, steps of obtaining a first elevation angle and a first yaw angle of the light source, and steps of obtaining a second elevation angle and a second yaw angle of the light source based on a third illuminance value and a fourth illuminance value, where the third illuminance value is the illuminance value detected by an upper illuminance sensor disposed on the upper part of the target vehicle, and the fourth illuminance value includes the illuminance value detected by an illuminance sensor disposed on the target vehicle and corresponding to the orientation information, and steps of obtaining an elevation angle and a yaw angle of the light source based on the first elevation angle, the second elevation angle, the first yaw angle, and the second yaw angle.

[0009] In a possible implementation form, the steps of obtaining an elevation angle and a yaw angle of the light source based on the first elevation angle, the second elevation angle, the first yaw angle, and the second yaw angle include steps of obtaining the elevation angle of the light source based on the first elevation angle and the second elevation angle based on the difference between the first elevation angle and the second elevation angle and the difference between the first yaw angle and the second yaw angle, and obtaining the yaw angle of the light source based on the first yaw angle and the second yaw angle.

[0010] In a possible implementation form, the steps of obtaining orientation information of the light source with respect to the target vehicle include steps of obtaining the orientation information based on the illuminance value detected by an illuminance sensor disposed on the target vehicle.

[0011] In a possible implementation form, the steps of obtaining a projection area projected onto the variable transmittance glass by the target object based on the position information of the target object, the elevation angle, and the yaw angle of the light source include steps of obtaining a mapping area of the target object on a vertical plane based on the position information of the target object, the elevation angle, and the yaw angle of the light source, where the vertical plane is perpendicular to the plane where the chassis of the target vehicle is located and represents a plane passing through the upper edge of the variable transmittance glass, and steps of obtaining a mapping area of the target object on the variable transmittance glass based on the included angle between the vertical plane and the variable transmittance glass and the mapping area of the target object on the vertical plane.

[0012] According to a second aspect, an embodiment of the present application provides an apparatus for controlling a variable transmittance glass, including a processor and a memory. The memory stores instructions, and when the instructions stored in the memory are called by the processor, the instructions are used to execute the method described in any one of the first aspect or possible implementation forms of the first aspect.

[0013] According to a third aspect, an embodiment of the present application provides a computer-readable storage medium including a program. When the program is executed on a computer, the computer can execute the method described in any one of the first aspect or possible implementation forms of the first aspect.

[0014] The present application provides a method for controlling a variable transmittance glass, whereby the transmittance of a partial region of the variable glass can be controlled more accurately based on the elevation angle and azimuth angle of a light source and the position information of an object requiring light shielding.

Brief Description of the Drawings

[0015] To more clearly explain the technical solutions in the embodiments of the present application, the attached drawings used in the embodiments of the present application will be described below.

Figure 1

Figure 2

Figure 3

Figure 4

Figure 5

Figure 6

Figure 7

Figure 8

Figure 9

Figure 10

Embodiments for Carrying Out the Invention

[0016] To make the objectives, technical solutions, and advantages of the present application more clear, hereinafter, with reference to the accompanying drawings, the technical solutions in the embodiments of the present application will be further described in detail. It is obvious that the described embodiments are only a part of the embodiments of the present application, not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of the present application without creative efforts shall fall within the protection scope of the present application.

[0017] FIG. 1 is a schematic diagram of the system architecture of a vehicle 100 according to an embodiment of the present application. The vehicle 100 includes a plurality of vehicle integration units (VIUs) 11, a telematic box (T-BOX) 12, a cockpit domain controller (CDC) 13, a mobile data center (MDC) 14, and a vehicle domain controller (VDC) 15.

[0018] In addition, the vehicle 100 includes a plurality of types of sensors arranged on the vehicle body, including the rider 21, millimeter-wave radar 22, ultrasonic radar 23, and camera device 24. Each type of sensor may include a plurality of sensors. FIG. 1 shows the position layout of different sensors on the vehicle 100, but it should be understood that the quantity and position layout of the sensors in FIG. 1 are only examples. A person skilled in the art can appropriately select the type, quantity, and position layout of the sensors based on requirements.

[0019] FIG. 1 shows four VIUs. It should be understood that the quantity and position of the VIUs in FIG. 1 are only examples, and a person skilled in the art can select the appropriate quantity and position of the VIUs based on actual requirements.

[0020] The vehicle integration unit (VIU) 11 provides some or all of the data processing functions or control functions required by vehicle components to a plurality of vehicle parts. The VIU may have one or more of the following functions.

[0021] 1. Electronic control function: The VIU is configured to implement the electronic control functions provided by the electronic control units (ECUs) inside some or all vehicle components, for example, the control functions required by vehicle components, and in another example, the data processing functions required by vehicle components.

[0022] 2. Functions similar to a gateway: The VIU may further have some or all of the same functions as a gateway, for example, protocol conversion functions, protocol encapsulation and transfer functions, and data format conversion functions.

[0023] 3. Data processing functions across vehicle components: Processing, calculation, etc. for data obtained from the executors of a plurality of vehicle components.

[0024] It should be noted that the data involved in the foregoing functions may include the running data of the executors within the vehicle components, for example, the motion parameters of the executors and the working status of the executors. Alternatively, the data involved in the foregoing functions may be the data collected through the data collection unit (for example, the sensing element) of the vehicle component, for example, the road information of the road on which the vehicle travels, or the weather information collected by the sensing element of the vehicle. This is not particularly limited in the embodiments of the present application.

[0025] In the example of the vehicle 100 in FIG. 1, the vehicle 100 may be divided into a plurality of domains, and each domain has an independent domain controller. Specifically, FIG. 1 shows two types of domain controllers, namely, the cockpit domain controller (CDC) 13 and the vehicle domain controller (VDC) 15.

[0026] The cockpit domain controller (CDC) 13 may be configured to implement the function control of the cockpit area of the vehicle 100. The vehicle components within the cockpit area may include a head up display (HUD) device, a dashboard, a radio, a central control screen, navigation, a camera, etc.

[0027] The vehicle domain controller (VDC) 15 may be configured to perform cooperative control on the vehicle's power battery and the engine 141 in order to improve the power performance of the vehicle 100.

[0028] FIG. 1 further shows the vehicle Internet device T - BOX12 and the Mobile Data Center (MDC) 14. The T - BOX12 can be configured to implement a communication connection between the vehicle 100 and the internal and external devices of the vehicle. The T - BOX may obtain in - vehicle device data via the bus of the vehicle 100, or may be communicatively connected to the user's mobile phone via a wireless network. The Mobile Data Center (MDC) 14 is configured to output execution control commands, such as driving, transmitting, steering, and braking, based on core control algorithms, such as environmental perception and positioning, intelligent planning and decision - making, and vehicle motion control, for implementing the automatic control of the vehicle 100. Further, it can implement human - computer interaction of vehicle driving information via a human - computer interaction interface.

[0029] The four VIUs 11 in FIG. 1 form a ring - type topology connection network. Each VIU11 is communicatively connected to sensors in the vicinity. The T - BOX12, CDC13, MDC14, and VDC15 are communicatively connected to the ring - type topology connection network of the VIUs. The VIU11 can obtain information from each sensor and report the obtained information to the CDC13, MDC14, and VDC15. Mutual communication can also be implemented among the T - BOX12, CDC13, MDC14, and VDC15 via the ring - type topology network.

[0030] It should be understood that the ring - type topology network connection is only an example, and those skilled in the art can select another appropriate VIU connection method based on requirements.

[0031] The VIU can be connected, for example, via Ethernet (registered trademark). The VIU, the T-Box 12, the CDC 13, the MDC 14, and the VDC 15 can be connected, for example, via Ethernet (registered trademark) or peripheral component interconnect express (PCIe) technology. The VIU and the sensors can be connected, for example, via controller area network (CAN), local interconnect network (LIN), FlexRay, or media oriented system transport (MOST).

[0032] As shown in FIG. 2, the vehicle 100 in the embodiment of the present application may further include illuminance sensors arranged at different positions of the vehicle, that is, a front illuminance sensor 31, a left illuminance sensor 32, an upper illuminance sensor 33, a right illuminance sensor 34, and a rear illuminance sensor 35. The illuminance sensor is configured to detect the illuminance of the area where the illuminance sensor is arranged. Illuminance is the intensity of light, which means the luminous flux of visible light received per unit area, and can indicate the intensity of light and the degree of illumination of the object surface area. The unit of illuminance is the amount of lumens (lm) per square meter, and the unit is lux (lux or lx), that is, 1 lux = 1 lm / m 2 is. The illuminance sensor is a device that converts an optical signal into an electrical signal based on the photoelectric effect. The photosensitive element of the illuminance sensor can be a photoresistor or a photodiode.

[0033] Optionally, the vehicle 100 further includes a front windshield 200, a vehicle sunroof glass 300, a rear windshield 400, a front view camera 500, and vehicle window glass 600. Optionally, the front windshield 200 includes at least two regions, namely region 201 and region 202. Region 201 can implement the functions of the front windshield of a conventional vehicle, and the material can be, for example, tempered glass, laminated glass, etc. Region 202 can adjust the transmittance based on a control signal. The adjustable range of the transmittance of region 202 varies according to the hardware parameters and functional requirements of region 202. Optionally, the transmittance of region 202 may be adjusted at intervals of 0% to 100%. The larger the transmittance, the better the transparency. However, no transparent material can reach a transmittance of 100%, and the highest transmittance is about 95%. Two values can be set for the transmittance of region 202. One value indicates that region 202 is in a transparent state, and the other value indicates that region 202 is in an opaque state. Optionally, the transmittance of region 202 may be adjusted to the same / near transparency of region 201, that is, the obvious boundary between region 201 and region 202 cannot be visually seen by a person. Optionally, region 202 may be realized by embedding a light-shielding layer with adjustable transmittance in the glass laminate layer of a part of the region of the front windshield 200. The light-shielding layer is a concept in general terms and is only for ease of expression. The light-shielding layer can adjust the transmittance under the control of a control signal. Correspondingly, another region of the front windshield 200 is region 201. For example, the front windshield 200 has a structure of laminated glass. In a part of the region of the front windshield, a composite of a polymer and liquid crystal is laminated between two layers of glass, and the front windshield 200 including region 201 and region 202 can be obtained using an integral molding technique. The composite of the polymer and liquid crystal may sometimes be called a light-shielding layer, and the region of the front windshield where the composite of the polymer and liquid crystal is added between two layers of glass is region 202.Common components that can be used as the light-shielding layer include polymer dispersed liquid crystal (PDLC) or inverse PDLC. Alternatively, the front windshield 200 including regions 201 and 202 may be realized using other prior arts.

[0034] For ease of the following description, the glass of region 202 and the glass of regions similar to region 202 in the embodiments of the present application are referred to as variable transmittance glass, and transparency (in this specification, it indicates that the transmittance is very high and basically does not block the view of the driver or passengers) can be realized by adjusting the transmittance, and the transmittance can be adjusted to block the influence of external light sources on the driver or passengers in the vehicle, such as PDLC glass. Optionally, the vehicle sunroof glass 300, the rear windshield 400, and the vehicle window glass 600 may also include variable transmittance glass, or the vehicle sunroof glass 300, the rear windshield 400, and the vehicle window glass 600 may be variable transmittance glass as a whole. The variable transmittance glass disposed on the front windshield 200 can avoid glare of the driver caused by external light sources (such as the high beam of an oncoming vehicle or sunlight irradiated into the cockpit), and can provide light shielding for the driver or passengers in the passenger seat. In particular, the new energy front-stop integrated glass, that is, the front-stop glass extends to the head to form a panoramic sunroof, has become popular. By making some regions of the glass variable transmittance glass, a light-shielding function of blocking external light sources, especially strong light, can be provided in the cockpit of the vehicle. The variable transmittance glass is disposed on the vehicle sunroof glass 300, the rear windshield 400, and the vehicle window glass 600. In actual applications, the sunlight light-shielding function can be implemented by controlling the transmittance of the transmissive glass, thereby improving the ride experience.

[0035] Furthermore, the vehicle 100 shown in FIGS. 1 and 2 further includes a cockpit camera 1 and a cockpit camera 2. The cockpit camera 1 refers to a camera disposed in the front cockpit area within the cockpit of the vehicle, and is configured to detect the irradiation areas of the driver's seat and the passenger seat in the foremost row area. For example, it is disposed in the rearview mirror area or the A-pillar area of the cockpit and is configured to detect the driver's head posture or eye posture. The cockpit camera 2 refers to a camera disposed in the rear cockpit area within the cockpit of the vehicle, and is configured to detect the irradiation area of the rear seat in the rear cockpit area. For example, it is disposed in the B-pillar area of the cockpit and is configured to detect the posture and articles of the passengers in the rear seat. It should be noted that the quantity and specific arrangement areas of the cockpit camera 1 and the cockpit camera 2 are not particularly limited.

[0036] The method for controlling the variable transmittance glass provided in the embodiments of the present application can be applied to a target vehicle. By adjusting the transmittance of the variable transmittance glass so that the light source does not hit the target object within the target vehicle and achieving the light-shielding purpose, the driving safety, as well as the driving and riding experiences, can be improved. As shown in FIG. 3, the method for controlling the variable transmittance glass includes the following steps.

[0037] S100: Obtain the elevation angle and yaw angle of the light source. The light source may be the sun, or another light source that may affect driving or the ride experience, especially strong light. The purpose of shading may be to prevent security risks caused by the influence of strong light on the driver's eyes, or to shade sunlight for the driver or passengers, or to prevent external light sources of the vehicle from interfering with the internal environment of the vehicle, for example, a sunshade effect. The elevation angle indicates the included angle between the direction in which the light of the light source is radiated to the target vehicle and the horizontal plane, and the yaw angle indicates the included angle between the connection line between the projection of the light source on the horizontal plane and the center of gravity of the target vehicle and the traveling direction of the target vehicle. Optionally, the elevation angle and yaw angle of the light source may be determined by using the illuminance method and the camera method described in this embodiment of the present application. The illuminance method refers to calculating the elevation angle and yaw angle of the light source based on an illuminance sensor arranged on the target vehicle. The camera method refers to calculating the elevation angle and yaw angle of the light source within the perceivable range of the vision sensor based on a vision sensor arranged on the target vehicle. For example, the front view camera 500 arranged in front of the target vehicle shown in FIG. 2 can be used to calculate the elevation angle and yaw angle of the light source located in front of the target vehicle.

[0038] S200: Obtain the position information of the target object. The target object can be the driver's head, eyes, seat, etc. The position information of the target object can be the coordinate matrix of the target object in a coordinate system, for example, a vehicle coordinate system or a camera coordinate system. When the target object is a movable person's head, eyes, upper body part, etc., the coordinate matrix of the target object in the camera coordinate system can be obtained through a camera arranged in the cockpit of the vehicle (for example, the cockpit cameras 1 and 2 described in the foregoing embodiments). When the target object is a fixed rear seat, passenger seat, etc., since the rear seat and the passenger seat are fixed to the target vehicle, the coordinate matrix in the vehicle coordinate system can be obtained from a storage device or the cloud. The coordinate matrix is a set of coordinates indicating the points of the target object in the coordinate system.

[0039] S300: Based on the position information of the target object, the elevation angle, and the yaw angle of the light source, obtain the projection area projected by the target object on the variable transmittance glass. The projection area can be represented by the projection coordinate matrix of the target object on the variable transmittance glass. Optionally, the variable transmittance glass may specifically be, for example, a variable transmittance glass such as a front windshield, left and right vehicle window glasses, a vehicle sunroof glass, or a rear windshield. For example, the front windshield on which the variable transmittance glass is arranged can block the direct radiation of the sun in front of the target vehicle / the headlights of the oncoming vehicle into the driver's eyes by using the light-shielding method provided in this embodiment of the present application, thereby avoiding the driver's glare. Specifically, a spatial projection vector is obtained based on the elevation angle and the yaw angle of the light source, and then, based on the position information of the target object and the spatial projection vector, the projection area projected by the target object onto the variable transmittance glass is obtained. During specific implementation, coordinate system conversion of the position information of the target coordinates is further required. That is, a method for converting coordinates (or a coordinate matrix) in a certain coordinate system into coordinates (or a coordinate matrix) in another coordinate system may use conventional techniques, which is not limited.

[0040] S400: Adjust the transmittance of the projection area on the variable transmittance glass. Specifically, the method further includes the steps of detecting the luminance of the surface of the target object in real time through a camera and stopping the adjustment of the transmittance of the area corresponding to the projection coordinate matrix on the variable transmittance glass when the luminance of the surface of the target object reaches a preset luminance.

[0041] Optionally, an embodiment of the present application provides an illuminance method for obtaining the elevation angle and the yaw angle of the light source. As shown in FIG. 4, the method specifically includes the following steps.

[0042] S101: Obtain the orientation information of the light source with respect to the target vehicle. Specifically, the orientation information of the light source with respect to the target vehicle refers to the orientation of the light source with respect to the target vehicle. For example, the light source is in front of, behind, to the left, to the right, in the front left, in the front right, in the rear left, or in the rear right of the target vehicle. The target vehicle refers to a vehicle that requires shading processing, and the target vehicle can be the vehicle 100 shown in FIGS. 1 and 2.

[0043] For example, there are many methods for obtaining the orientation information of the light source with respect to the target vehicle, such as detection by an external vision sensor or input by a user. This embodiment of the present application provides a method for obtaining the orientation information of the light source. In this method, the orientation of the light source with respect to the target vehicle is determined through an illuminance sensor arranged on the target vehicle. The position and quantity of the illuminance sensors arranged on the target vehicle can be determined based on design or functional requirements. The vehicle 100 shown in FIG. 2 is used as an example. In the case of the vehicle 100 shown in FIG. 2, five illuminance sensors, namely, a front illuminance sensor 31, a left illuminance sensor 32, an upper illuminance sensor 33, a right illuminance sensor 34, and a rear illuminance sensor 35, are respectively arranged on the front side, left side, right side, rear side, and upper side of the vehicle. The method for obtaining the orientation information of the light source is specifically described as follows.

[0044] When the illuminance value detected by the front illuminance sensor 31 is greater than the illuminance value detected by the rear illuminance sensor 35, and the illuminance value detected by the left illuminance sensor 32 is greater than the illuminance value detected by the right illuminance sensor 34, it can be understood that the direction information of the light source is that the light source is in the left front direction of the target vehicle. When the illuminance value detected by the front illuminance sensor 31 is smaller than the illuminance value detected by the rear illuminance sensor 35, and the illuminance value detected by the left illuminance sensor 32 is greater than the illuminance value detected by the right illuminance sensor 34, it can be understood that the direction information of the light source is that the light source is in the left rear direction of the target vehicle. When the illuminance value detected by the front illuminance sensor 31 is greater than the illuminance value detected by the rear illuminance sensor 35, and the illuminance value detected by the left illuminance sensor 32 is smaller than the illuminance value detected by the right illuminance sensor 34, it can be understood that the direction information of the light source is that the light source is in the right front direction of the target vehicle. When the illuminance value detected by the front illuminance sensor 31 is smaller than the illuminance value detected by the rear illuminance sensor 35, and the illuminance value detected by the left illuminance sensor 32 is smaller than the illuminance value detected by the right illuminance sensor 34, it can be understood that the direction information of the light source is that the light source is in the right rear direction of the target vehicle. It should be noted that the above "smaller than" and "greater than" do not exclude "equal to", and "smaller than" may include "equal to", or "greater than" may include "equal to".

[0045] S102: Obtain the illuminance value detected by the upper illuminance sensor and the illuminance value detected by the illuminance sensor corresponding to the orientation information of the light source. In this specification, the "illuminance sensor corresponding to the orientation information of the light source" refers to the illuminance sensor in the orientation of the light source. For example, in this embodiment of the present application, when the light source is in the left front of the target vehicle, the illuminance sensors corresponding to the orientation information of the light source refer to the front illuminance sensor 31 and the left illuminance sensor 32. When the light source is in the left rear of the target vehicle, the illuminance sensors corresponding to the orientation information of the light source refer to the left illuminance sensor 32 and the rear illuminance sensor 35. When the light source is in the right front of the target vehicle, the illuminance sensors corresponding to the orientation information of the light source refer to the front illuminance sensor 31 and the right illuminance sensor 34. When the light source is in the right rear of the target vehicle, the illuminance sensors corresponding to the orientation information of the light source refer to the right illuminance sensor 34 and the rear illuminance sensor 35.

[0046] S103: Calculate the elevation angle and yaw angle of the light source based on the illuminance value detected by the upper illuminance sensor and the illuminance value detected by the illuminance sensor corresponding to the orientation information of the light source.

[0047] Specifically, the positional layout of the illuminance sensors involved in calculating the elevation angle and yaw angle of the light source through the illuminance sensors can satisfy the relationship of the included angle between vertical planes. The illuminance sensor arrangement shown in FIG. 2 is used as an example, and a schematic diagram of the relationship of the included angle between the vertical planes shown in FIG. 5 can be obtained. For example, the orientation information of the light source is located in the left front of the target vehicle, that is, the elevation angle and yaw angle of the light source are calculated based on the illuminance values respectively detected by the front illuminance sensor 31, the left illuminance sensor 32, and the upper illuminance sensor. Based on the relationship of the included angle between the vertical planes shown in FIG. 5, the following equations can be obtained:

Equation

[0048] According to Equation (1), Equation (2), and Equation (3), the following equation can be obtained.

Equation

[0049] In the above formula, an represents the normal illuminance of the light source, a1 represents the illuminance value detected by the front illuminance sensor, a2 represents the illuminance value detected by the left illuminance sensor, a3 represents the illuminance value detected by the upper illuminance sensor, α represents the elevation angle of the light source, and β represents the yaw angle of the light source.

[0050] Optionally, an embodiment of the present application provides a camera method for obtaining the elevation angle and yaw angle of a light source. Specifically, the method includes the following steps.

[0051] S110: Capture an image including the light source through a camera disposed outside the target vehicle. The light source is within the sensing range of the camera.

[0052] S120: Calculate the elevation angle and yaw angle of the light source based on the coordinates of the light source in the image coordinate system and the image parameters. Refer to FIG. 6. The elevation angle and yaw angle of the light source can be calculated by using the following formula:

Equation

[0053] In the above formula, θ represents the elevation angle of the light source, δ represents the yaw angle of the light source, (x1, y1) represents the coordinate point of the light source in the image captured by the camera, w is half of the width of the image captured by the camera, h is half of the height of the image captured by the camera, and θ0 represents the half-cone angle of the camera.

[0054] Optionally, regarding the illuminance method and the camera method described above, an embodiment of the present application further provides a dual decision mode based on a combination of the illuminance method and the camera method for obtaining the elevation angle and yaw angle of the light source. Compared with the results obtained by using the illuminance method or the camera method alone, this dual decision mode has higher accuracy and better effects. Specifically, this mode includes the following: Obtaining the difference between the elevation angle α of the light source obtained by using the illuminance method and the elevation angle θ of the light source obtained by using the camera method, and obtaining the difference between the azimuth angle β of the light source obtained by using the illuminance method and the azimuth angle δ of the light source obtained by using the camera method, where the above-mentioned difference is the absolute value of the difference between the two.

[0055] When the difference between the elevation angle α and the elevation angle θ is less than or equal to a preset value, and the difference between the azimuth angle β and the azimuth angle δ is less than or equal to a preset value, the elevation angle of the light source is the average value of the elevation angle α and the elevation angle θ, that is, the elevation angle of the light source = (α + θ) / 2. The azimuth angle of the light source is the average value of the azimuth angle β and the azimuth angle δ, that is, the azimuth angle of the light source = (β + δ) / 2.

[0056] When the difference between the elevation angle α and the elevation angle θ is less than or equal to a preset value, and the difference between the azimuth angle β and the azimuth angle δ is greater than a preset value, the elevation angle of the light source is the average value of the elevation angle α and the elevation angle θ, that is, the elevation angle of the light source = (α + θ) / 2. The azimuth angle of the light source includes the azimuth angle β and the azimuth angle δ, and the azimuth angle of the light source = β + δ can be shown.

[0057] When the difference between the elevation angle α and the elevation angle θ is greater than a preset value, and the difference between the azimuth angle β and the azimuth angle δ is less than or equal to a preset value, the elevation angle of the light source can include the elevation angle α and the elevation angle θ, and the elevation angle of the light source = α + θ can be shown. The azimuth angle of the light source is the average value of the azimuth angle β and the azimuth angle δ, that is, the azimuth angle of the light source = (β + δ) / 2.

[0058] When the difference between the elevation angle α and the elevation angle θ is greater than a preset value, and the difference between the azimuth angle β and the azimuth angle δ is greater than a preset value, the elevation angle of the light source is the average value of the elevation angle α and the elevation angle θ, that is, the elevation angle of the light source = (α + θ) / 2. The azimuth angle of the light source is the average value of the azimuth angle β and the azimuth angle δ, that is, the azimuth angle of the light source = (β + δ) / 2.

[0059] It should be noted that the above-mentioned "preset value" is a preset angular value, for example, the preset value = 1°, 2°, or 3°.

[0060] In a specific implementation, when the sun (i.e., the light source) is in front of the target vehicle, the elevation angle and yaw angle of the light source are obtained in a dual determination mode. When the sun (i.e., the light source) is not in front of the target vehicle, the elevation angle and yaw angle of the light source are obtained by using the illuminance method.

[0061] Embodiments of the present application further provide a system for controlling a variable transmittance glass, which is applicable to a vehicle, for example, the vehicle 100 shown in FIGS. 1 and 2. As shown in FIG. 7, the system for controlling the variable transmittance glass specifically includes a light source positioning module 100, a target object positioning module 200, a CDC 300 (CDC 13 shown in FIG. 1), a variable transmittance glass system 400, an external camera, an illuminance sensor, and a cockpit camera. The external camera may be the front view camera 500 shown in FIG. 2, or may be a camera disposed on the left side, right side, or rear side of the vehicle, although not shown in FIG. 2. Here, the external camera is disposed based on actual light shielding requirements. In this embodiment of the present application, the front view camera shown in FIG. 2 is used as an example. As an example, the illuminance sensor uses the front illuminance sensor 31, the left illuminance sensor 32, the upper illuminance sensor 33, the right illuminance sensor 34, and the rear illuminance sensor 35 shown in FIG. 2. The cockpit camera includes a cockpit camera 1 disposed in the front cockpit area and a cockpit camera 2 disposed in the rear cockpit area as described above.

[0062] The light source positioning module 100 is configured to determine the elevation angle and yaw angle of the light source, and is configured to execute, for example, step S100 described in the foregoing embodiments of the present application. Specifically, the light source positioning module 100 may include a vision positioning unit 101 and an illuminance positioning unit 102. The vision positioning unit 101 is configured to determine the elevation angle and yaw angle of the light source by using the camera method, and the illuminance positioning unit 102 is configured to determine the elevation angle and yaw angle of the light source by using the illuminance method. For the camera method and the illuminance method, refer to the foregoing specific descriptions in the related embodiments of the present application.

[0063] The target object positioning module 200 is configured to determine the projection area of the target object on the variable transmittance glass, and is configured to execute, for example, steps S200 and S300 described in the foregoing embodiments of the present application. Specifically, the target object positioning module 200 includes a position coordinate matrix unit 201 and a projection coordinate matrix unit 202. The position coordinate matrix unit 201 is configured to determine, for example, the position coordinate matrix of the target object in the coordinate system, and is configured to execute step S200 described in the foregoing embodiments of the present application. The projection coordinate matrix unit 202 is configured to determine the projection coordinate matrix of the target object on the variable transmittance glass based on the spatial projection vector, and is configured to execute, for example, step S300 described in the foregoing embodiments of the present application.

[0064] The CDC300 is configured to send control instructions for adjusting the transmittance of the projection area to the variable transmittance glass system 400 to change the transmittance of the projection area. The variable transmittance glass system 400 specifically includes a variable transmittance glass 401, a transmittance adjustment module 402, and a touch detection module 403. Specifically, the CDC300 sends control instructions for adjusting the transmittance of the variable transmittance glass 401 to the transmittance adjustment module 402. Optionally, the control instructions may specifically include instructions for adjusting the transmittance of the variable transmittance glass 401 to a specific degree. The CDC300 may further send a control instruction for stopping the adjustment of the transmittance of the variable transmittance glass 401 to the transmittance adjustment module 402 based on the luminance change of the target object detected by the cockpit camera, that is, when it detects that the luminance change of the target object has reached a preset degree, the CDC300 sends a control instruction for stopping the adjustment of the transmittance of the variable transmittance glass 401 to the transmittance adjustment module 402.

[0065] It should be noted that the system for controlling the variable transmittance glass shown in FIG. 7 is only an example. In a specific implementation, one or more of the light source positioning module 100, the target object positioning module 200, the transmittance adjustment module 402, and the touch detection module 403 may be integrated into the CDC300. Optionally, the functions of the CDC300 may be implemented by the MDC14, VDC15, or VIU shown in FIG. 1.

[0066] Referring to the foregoing related descriptions of the embodiments of the present application, such as the light source being the sun, the embodiments of the present application provide a method for controlling a variable transmittance glass. For the target vehicle in this embodiment of the present application, refer to the vehicle 100 described in the embodiments corresponding to FIGS. 1 and 2. In a specific example, the area 202 of the front windshield 200 of the target vehicle is a variable transmittance glass, the vehicle sunroof glass 300 is a variable transmittance glass, the front view camera 500 is an optional stereo camera, the cockpit camera 1 is arranged on column A in the cockpit, and the cockpit camera 2 is arranged on column B in the cockpit. As shown in FIG. 8, the method for controlling the variable transmittance glass specifically includes the following steps.

[0067] S210: Obtain the orientation information of the sun with respect to the target vehicle. Specifically, the orientation information of the light source with respect to the target vehicle refers to the orientation of the light source with respect to the target vehicle. For example, the sun is in front of, behind, to the left, or to the right of the target vehicle. Optionally, the orientation information of the sun with respect to the target vehicle is obtained by using the illuminance method. For a specific description of the illuminance method, refer to step S101 in the illuminance method described in the foregoing embodiments of the present application. Specifically, when the illuminance detected by the front-side illuminance sensor 31 is greater than the illuminance detected by the rear-side illuminance sensor 35, it can be known that the sun is in front of the target vehicle. The orientation information of the sun with respect to the target vehicle is obtained to determine which area has shading requirements. In this embodiment of the present application, when the sun is generally located in front of the target vehicle, the target object that requires shading is the driver's head / eyes, and it is assumed that the shading is implemented by adjusting the transmittance of the variable transmittance glass on the front windshield of the target vehicle.

[0068] Referring to FIG. 7, in a specific implementation, the sun direction information for the target vehicle is determined by the illuminance positioning unit 102 based on the illuminance detected by the illuminance sensors (front illuminance sensor 31, left illuminance sensor 32, upper illuminance sensor 33, right illuminance sensor 34, and rear illuminance sensor 35) and the position / direction information of each illuminance sensor.

[0069] S220: When the sun is in front of the target vehicle, obtain the elevation angle and yaw angle of the sun in the dual determination mode. For the dual determination mode, please refer to the relevant description in the foregoing embodiments, and the details will not be described again here.

[0070] S230: When the sun is not in front of the target vehicle, obtain the elevation angle and yaw angle of the sun by using the illuminance method. For the illuminance method, please refer to the relevant description in the foregoing embodiments. The details will not be described again here.

[0071] In this embodiment of the present application, when the sun is in front of the vehicle, control is performed to reduce the transmittance of the variable transmittance glass on the front windshield to shade the driver's head, thereby improving driving safety. When the sun is not in front of the vehicle, control is performed to reduce the transmittance of the vehicle window (the type of variable transmittance glass) to shade the passengers in the rear seats.

[0072] After S220, the method for controlling the variable transmittance glass further includes the following steps.

[0073] S240: Obtain the position information of the driver's head. Since the position of the driver's head changes, the position information of the driver's head needs to be obtained in real time. Optionally, the position information of the driver's head may be identified through the cockpit camera 1.

[0074] S250: Based on the position information of the driver's head, the elevation angle of the sun, and the yaw angle, obtain the first mapping area of the driver's head on the first vertical plane. The first vertical plane is perpendicular to the plane where the chassis of the target vehicle is located and refers to the plane passing through the upper edge of the front windshield.

[0075] S260: Based on the first mapping area, obtain the second mapping area of the driver's head on the front windshield. Here, the glass of the second mapping area is variable transmittance glass, and the second mapping area can be understood as the projection area where the driver's head is projected onto the front windshield along the reverse direction of the projection direction of the light source.

[0076] S270: Adjust the transmittance of the glass corresponding to the second mapping area. Specifically, reduce the transmittance to a certain light shielding degree.

[0077] As shown in FIG. 9, in the x - y - z rectangular coordinate system, the midpoint of the upper edge of the front windshield 200 is the primitive center, the y - axis is the upper edge of the front windshield 200, the z - axis passes through the midpoint of the upper edge of the front windshield 200 and is perpendicular to the plane where the chassis of the target vehicle is located, and the x - axis is perpendicular to the y - axis and the z - axis. 700 in FIG. 9 is the first vertical plane, that is, the plane formed by the points where x = 0 in the three - dimensional coordinate system, 702 shows the first mapping area, 701 shows the second mapping area, and 800 shows the driver's head.

[0078] The position information of the driver's head described above is represented by a first coordinate matrix, and the first coordinate matrix is a set of coordinates representing points of the driver's head in a preset coordinate system. The preset coordinate system may be a camera coordinate system. For example, it may be a three-dimensional rectangular coordinate system established by using the origin at the center of focus of the cockpit camera 1 and using the optical axis of the cockpit camera 1 as the Z axis. Alternatively, the preset coordinate system may be a vehicle coordinate system. For example, the center of gravity of the target vehicle is used as the origin, the X axis is parallel to the ground and points forward of the vehicle, the Z axis points upward through the center of gravity of the vehicle, and the Y axis points to the left side of the driver.

[0079] Specifically, the foregoing step S250 includes the following: determining a first mapping area 702 based on the first coordinate matrix and a spatial vector, where the spatial vector s = (cosαsinβ, sinβ, cosαcosβ), α is the elevation angle of the sun, and β is the yaw angle of the sun. Specifically, this step includes the following:

[0080] The coordinates (x d , y d , z d ) in the first coordinate matrix are used as an example. Based on the coordinates (x d , y d , z d ) and the spatial vector s, a point passing through linear equation is obtained. Since the coordinates (x d , y d , z d ) indicate a point on the driver's head, the point-passing linear equation indicates the line where the sunlight passing through the point (x d , y d , z d ) is located. Therefore, the point-passing linear equation may also be called the head-passing linear equation. The equation of the point-passing linear equation is as follows:

Number

[0081] Furthermore, an intersection between the point - passing straight - line equation and the first vertical plane 700 is obtained, where the intersection between the point - passing straight - line equation and the first vertical plane is a point whose coordinates (x d , y d , z d ) are mapped to the first vertical plane 700. From FIG. 9, it can be seen that the x - coordinate of all points on the first vertical plane 700 is equal to 0. Therefore, the x - coordinate of the intersection between the point - passing straight - line equation and the first vertical plane is equal to 0. Furthermore, the coordinates of the intersection in the three - dimensional rectangular coordinate system shown in FIG. 9 can be obtained based on the spatial vector and the point - passing straight - line equation as follows:

Number

[0082] Similarly, for each point in the first coordinate matrix, a point that is mapped onto the first vertical plane 700 can be obtained. The second coordinate matrix including the coordinates of these points is used to show the second mapping area 701, which shows the projection of the driver's head on the first vertical plane.

[0083] Specifically, the aforementioned step S260 includes the following: based on the included angle γ between the first vertical plane and the front windshield, mapping the points in the second coordinate matrix to the front windshield, that is, converting the coordinates of each point in the second coordinate matrix to the coordinates of points on the front windshield. The points mapped onto the front windshield can also be understood as the intersections between the straight - line equation and the front windshield. The coordinates of any point in the second coordinate matrix are converted to the coordinates of points on the front windshield, which can be expressed as follows:

Number

[0084] Note that FIG. 9 is merely a schematic diagram. In reality, the front window shield is curved, and the first vertical plane is flat. The included angle γ between the front window shield and the first vertical plane varies according to the position of the points on the front window shield. In this case, the included angle γ is the included angle between the intersection line A and the intersection line B, where the intersection line A is the intersection line between the normal plane of the point (x, y, z) on the front window shield and the plane represented by (x, 0, z) in the coordinate system, and the intersection line B is the intersection line between the first vertical plane and the plane represented by (x, 0, z) in the coordinate system. The third coordinate matrix including the coordinates of all the points mapped by all the points of the second coordinate matrix on the front window shield is used to show the second mapping area 701 and shows the projection of the driver's head on the front window shield. The third coordinate matrix is represented as follows: [Number]

[0085] Specifically, step S270 includes adjusting the transmittance of the area corresponding to the third coordinate matrix of the front window shield. Optionally, the transmittance of the area corresponding to the third coordinate matrix is adjusted to a fixed value (for example, 0% or 20%). Optionally, the transmittance of the area corresponding to the third coordinate matrix is decreased, and while the transmittance is being decreased, luminance detection is performed on the driver's head, and when it is detected that the luminance of the driver's head has reached a preset value, the decrease in transmittance stops. Conversely, when it is detected that the luminance of the driver's head is smaller than the preset value, the transmittance of the area corresponding to the third coordinate matrix may be increased. Note that since the color represented by decreasing the transmittance of the variable transmittance glass is not limited, it is possible to display a color image to decrease the transmittance.

[0086] Similarly, after step S230, in this embodiment of the present application, the following is described: The transmittance of the vehicle window glass of the vehicle is controlled to provide shading for the passengers on the rear seats. The procedure is the same as the procedure of steps S240 to S270, and the difference lies in the following points. After step S230, as shown in FIG. 8, the method for controlling the variable transmittance glass further includes the following steps.

[0087] S280: Obtain the position information of the rear seat. The seat is fixed to the target vehicle, and the position information of the seat does not need to be detected in real time. The position information of the seat may be pre-stored in the target vehicle. For example, the position information of the seat may be indicated by a set of coordinates of points on the rear seat contour in the vehicle coordinate system. Here, the rear seat is used as an example, and it may also be the front seat. The position information of the seat is used instead of the position information of the passengers on the seat. In order to shade the passengers on the seat, shading is performed on the area where the seat is located, and the position information of the passengers does not need to be detected, so the method efficiency is improved. In addition, by shading the seat, better shading can be performed on the passengers on the seat, and the shading area is wider.

[0088] S290: Based on the position information of the rear seat, the elevation angle of the sun, and the yaw angle, obtain the third mapping area of the rear seat on the second vertical plane. The second vertical plane is perpendicular to the plane where the chassis of the target vehicle is located and refers to the plane passing through the upper edge of the vehicle window glass.

[0089] S2100: Based on the third mapping area, obtain the fourth mapping area of the rear seat on the vehicle window glass, where the glass of the fourth mapping area is variable transmittance glass. Optionally, the entire vehicle window glass is variable transmittance glass.

[0090] S2110: Adjust the transmittance of the glass corresponding to the fourth mapping area on the vehicle window glass. For the specific description of the steps, reference may be made to the corresponding steps in steps S240 to S270 described above, and the details will not be described again here.

[0091] The above-described method for controlling the variable transmittance glass can be implemented by a system for controlling the variable transmittance glass shown in FIG. 7. Specifically, the CDC300 receives the elevation angle and azimuth angle of the sun output by the visual positioning unit 101 and the elevation angle and azimuth angle of the sun output by the illuminance positioning unit 102. The CDC300 determines the final elevation angle and azimuth angle of the sun based on the received elevation angle and azimuth angle output by the visual positioning unit 101 or / and the illuminance positioning unit 102. Further, the CDC300 performs other steps.

[0092] Embodiments of the present application provide an apparatus for controlling variable transmittance glass applied to a vehicle. Refer to FIG. 10. The apparatus 200 for controlling the variable transmittance glass can implement the method for controlling the variable transmittance glass described in the embodiments corresponding to FIGS. 3, 4, and 8. The apparatus 200 for controlling the variable transmittance glass includes a memory 201, a processor 202, a communication interface 203, and a bus 204. The memory 201, the processor 202, and the communication interface 203 are communicatively connected to each other via the bus 204.

[0093] The memory 201 can be a read-only memory, a static storage device, a dynamic storage device, or a random access memory. The memory 201 can store a program. When the program stored in the memory 201 is executed by the processor 202, the processor 202 is configured to execute the method 100 for controlling the variable transmittance glass described in the embodiments of the present application corresponding to FIGS. 3, 4, and 8.

[0094] The processor 202 can be a general-purpose central processing unit, a microprocessor, an application-specific integrated circuit, a graphics processing unit (GPU), or one or more integrated circuits, and is required to execute a related program to implement the functions to be executed by the system for controlling the variable transmittance glass in the embodiments of the present application, or is configured to execute the method for controlling the variable transmittance glass described in the embodiments of the present application.

[0095] Alternatively, the processor 202 may be an integrated circuit chip having signal processing capabilities. In the implementation process, the steps of the method for controlling the variable transmittance glass in the embodiments of the present application may be implemented through the integrated logic circuit of the hardware in the processor 202 or through instructions in the form of software. The processor 202 may be a general-purpose processor, digital signal processing (DSP), application-specific integrated circuit (ASIC), field programmable gate array (FPGA) or another programmable logic device, discrete gate or transistor logic device, or discrete hardware component. The processor may implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor may be a microprocessor, or the processor may be any conventional processor or the like. The steps in the methods disclosed with reference to the embodiments of the present application may be directly executed and completed by a hardware decoding processor, or may be executed and completed by using a combination of hardware and software modules in the decoding processor. The software module may be in a mature storage medium in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, or a register. The storage medium is in the memory 201. The processor 202 needs to read the information in the memory 201 and, in combination with the hardware of the processor 202 (for example, the variable transmittance glass), complete the functions to be executed by the modules included in the system for controlling the variable transmittance glass in the embodiments of the present application, or execute the method for controlling the variable transmittance glass in the embodiments of the present application.

[0096] The communication interface 203 uses a transceiver device, for example, but not limited to, a transceiver, to perform communication between the device 200 for controlling the variable transmittance glass and another device or a communication network. For example, data output by a camera and an illuminance sensor may be received via the communication interface 203.

[0097] The bus 204 may include a path for information transmission between components of the device 200 for controlling the variable transmittance glass (for example, the memory 201, the processor 202, the communication interface 203).

[0098] Although only a memory, a processor, and a communication interface are shown in the device 200 for controlling the variable transmittance glass shown in FIG. 10, it should be noted that in a specific implementation process, those skilled in the art should understand that the device 200 for controlling the variable transmittance glass further includes other components necessary for performing normal driving. In addition, according to specific requirements, those skilled in the art should understand that the device 200 for controlling the variable transmittance glass may further include hardware components for implementing other additional functions. In addition, those skilled in the art should understand that the device 200 for controlling the variable transmittance glass may include only the components necessary for implementing the embodiments of the present application and does not necessarily include all the components shown in FIG. 10.

[0099] Finally, it should be noted that the foregoing embodiments are not intended to limit the present application, but are only intended to explain the technical solutions of the present application. Although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still make modifications to the technical solutions described in the foregoing embodiments without departing from the scope of the technical solutions of the embodiments of the present application, or perform equivalent substitutions for some or all of the technical features.

Claims

1. A method for controlling a variable transmittance glass of a target vehicle, comprising: obtaining an elevation angle and a yaw angle of a light source; obtaining position information of a target object located inside the target vehicle; obtaining a mapping area of the target object on the variable transmittance glass based on the position information of the target object, the elevation angle and the yaw angle of the light source; adjusting a transmittance of the mapping area of the target object on the variable transmittance glass; and the method further includes obtaining orientation information of the light source with respect to the target vehicle, wherein the step of obtaining the elevation angle and the yaw angle of the light source is a step of obtaining the elevation angle and the yaw angle of the light source based on a first illuminance value and a second illuminance value, wherein the first illuminance value is an illuminance value detected by an upper illuminance sensor disposed on an upper portion of the target vehicle, and the second illuminance value includes an illuminance value detected by an illuminance sensor disposed on the target vehicle and corresponding to the orientation information; and a method.

2. A method for controlling a variable transmittance glass of a target vehicle, comprising: obtaining an elevation angle and a yaw angle of a light source; obtaining position information of a target object located inside the target vehicle; obtaining a mapping area of the target object on the variable transmittance glass based on the position information of the target object, the elevation angle and the yaw angle of the light source; adjusting a transmittance of the mapping area of the target object on the variable transmittance glass; and the method further includes obtaining orientation information of the light source with respect to the target vehicle, wherein the step of obtaining the elevation angle and the yaw angle of the light source is a step of obtaining a first elevation angle and a first yaw angle of the light source based on an image captured by a camera and including the light source and intrinsic parameters of the camera; and a step of obtaining a second elevation angle and a second yaw angle of the light source based on a third illuminance value and a fourth illuminance value, wherein the third illuminance value is an illuminance value detected by an upper illuminance sensor disposed on an upper portion of the target vehicle, and the fourth illuminance value includes an illuminance value detected by an illuminance sensor disposed on the target vehicle and corresponding to the orientation information; Based on the first elevation angle, the second elevation angle, the first yaw angle, and the second yaw angle, obtaining the elevation angle and the yaw angle of the light source including method

3. The step of obtaining the elevation angle and the yaw angle of the light source based on the first elevation angle, the second elevation angle, the first yaw angle, and the second yaw angle is Based on the difference between the first elevation angle and the second elevation angle and the difference between the first yaw angle and the second yaw angle, obtaining the elevation angle of the light source based on the first elevation angle and the second elevation angle, and obtaining the yaw angle of the light source based on the first yaw angle and the second yaw angle The method according to claim 2, including

4. The step of obtaining the orientation information of the light source with respect to the target vehicle is Obtaining the orientation information based on the illuminance value detected by an illuminance sensor disposed on the target vehicle The method according to any one of claims 1 to 3, including

5. A method for controlling a variable transmittance glass of a target vehicle, comprising obtaining the elevation angle and the yaw angle of a light source obtaining position information of a target object located within the target vehicle based on the position information of the target object and the elevation angle and the yaw angle of the light source, obtaining a mapping area of the target object on the variable transmittance glass adjusting the transmittance of the mapping area of the target object on the variable transmittance glass including The step of obtaining the mapping area of the target object on the variable transmittance glass based on the position information of the target object and the elevation angle and the yaw angle of the light source is Based on the position information of the target object and the elevation angle and the yaw angle of the light source, obtaining a mapping area of the target object on a vertical plane, where the vertical plane is perpendicular to the plane in which the chassis of the target vehicle is located and represents a plane passing through the upper edge of the variable transmittance glass Based on the included angle between the vertical plane and the variable transmittance glass and the mapping area of the target object on the vertical plane, obtaining the mapping area of the target object on the variable transmittance glass including method

6. An apparatus for controlling a variable transmittance glass, comprising a processor and a memory, the memory storing instructions, and when the instructions stored in the memory are called by the processor, the instructions are used to execute the method according to any one of claims 1 to 5.

7. A computer-readable storage medium including a program, wherein when the program is executed on a computer, the computer is capable of executing the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Vehicle with electro-optical window system

    DE212019000345U1

  • Vehicular Anti-dazzling device

    JP2009078651A

  • Light control glass device

    JP2010143463A

  • Shovel

    JP2017214761A

  • Using camera data to automatically change the tint of transparent materials

    US10744936B1