Color temperature sensor and electronic equipment

By using time-division multiplexing of the filters in the filter module, the problem of sensor sensitivity reduction and inconsistent light angle response caused by the cosine corrector in the existing color temperature detection scheme is solved. This achieves good consistency in light angle response and sensor sensitivity, and the structure is simple and low cost.

CN121977702APending Publication Date: 2026-05-05VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610284302.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-03-10
Publication Date
2026-05-05

AI Technical Summary

Technical Problem

Existing color temperature detection solutions suffer from decreased sensor sensitivity due to the use of cosine correctors, and inconsistent light angle responses across channels.

Method used

The filter in the filter module operates in a time-division manner, and different color wavelengths of light are detected sequentially through the same photosensitive unit. This avoids the problem of inconsistent light angle response caused by position differences and eliminates the need for a cosine corrector.

Benefits of technology

It achieves good consistency in optical angle response and sensor sensitivity, avoids sensitivity reduction caused by cosine corrector, and has a simple structure and low cost.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121977702A_ABST
    Figure CN121977702A_ABST
Patent Text Reader

Abstract

The invention discloses a color temperature sensor and electronic equipment, and relates to the technical field of electronics. The substrate is connected with the shell, and an inner wall space is formed by the substrate and the shell; an integrated circuit, which is installed on the substrate; the light sensing unit is mounted on the integrated circuit; the light filtering module comprises three light filters, the three light filters are used for allowing light of different color wave bands to penetrate through respectively, and the light filtering module is installed on the shell; wherein when the color temperature sensor works, one surface of at least one optical filter in the optical filter module faces the light sensing unit, and the three optical filters work in a time-sharing manner, so that the light sensing unit detects the light of a color wave band transmitted by one of the at least one optical filter every time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of electronic technology, specifically relating to a color temperature sensor and an electronic device. Background Technology

[0002] Currently, mobile terminals typically use integrating photoelectric sensors to detect color temperature. This involves depositing a film with a specific photosensitive wavelength on a photodiode (PD) to detect the value of the corresponding color channel, and then performing linear regression on the collected data to calculate the color temperature. For example, an RGB sensor has films with different photosensitive wavelengths deposited on a full-spectrum PD array: the R channel senses only the red light band, the G channel senses only the green light band, and the B channel senses only the blue light band. These three channels detect the RGB components of the light source, which are then converted into XYZ values ​​through linear regression to calculate the color temperature. However, this approach suffers from inconsistent PD distribution across channels, resulting in inconsistent attenuation ratios for each channel as the incident light angle changes, leading to poor field of view (FOV) response for color temperature. Existing solutions typically add a cosine corrector, such as a diffuser, to make the attenuation ratios of each channel more similar. However, the low transmittance of the diffuser reduces the energy of the incident light, causing a decrease in sensor sensitivity. Summary of the Invention

[0003] The purpose of this application is to provide a color temperature sensor and electronic device that can solve the problem of decreased sensor sensitivity caused by the use of a cosine corrector in existing color temperature detection schemes.

[0004] In a first aspect, embodiments of this application propose a color temperature sensor, comprising: shell; A substrate, which is connected to the outer casing, and the substrate and the outer casing form an inner wall space; An integrated circuit, which is mounted on the substrate; A photosensitive unit, wherein the photosensitive unit is mounted on the integrated circuit; A filter module, comprising three filters, each used to transmit light of different color wavelengths, the filter module being mounted on the housing; When the color temperature sensor is working, at least one side of the filter in the filter module faces the photosensitive unit, and the three filters work in a time-sharing manner so that the photosensitive unit detects the light of the color band transmitted by one of the at least one filters each time.

[0005] Secondly, embodiments of this application provide an electronic device, including: case; A color temperature sensor, wherein the color temperature sensor is the color temperature sensor according to the first aspect.

[0006] In an embodiment of this application, the color temperature sensor includes: a housing; a substrate connected to the housing, forming an inner wall space between the substrate and the housing; an integrated circuit mounted on the substrate; a photosensitive unit mounted on the integrated circuit; and a filter module including three filters, each used to transmit light of different color wavelengths, the filter module being mounted on the housing. When the color temperature sensor is operating, at least one filter in the filter module faces the photosensitive unit, and the three filters operate in a time-division manner, so that the photosensitive unit detects light of a color wavelength transmitted by one of the at least one filters each time. Thus, this embodiment of the application, by removing the optical coating on the photosensitive unit, instead samples light of different color wavelengths sequentially through the filter module and detects each color wavelength through the same photosensitive unit. Since the photosensitive unit used for the three samplings is the same, there is no problem of inconsistent field of view (FOV) due to positional differences, and therefore no need to use a cosine corrector to improve the FOV, thus preventing a decrease in sensor sensitivity.

[0007] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description

[0008] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the description of the embodiments taken in conjunction with the following drawings, in which: Figure 1 This is one of the structural schematic diagrams of a color temperature sensor according to an embodiment of this application; Figure 2 This is a second schematic diagram of the structure of a color temperature sensor according to an embodiment of this application; Figure 3 This is the third schematic diagram of the structure of the color temperature sensor according to an embodiment of this application; Figure 4 This is a sampling timing diagram of a color temperature sensor according to an embodiment of this application; Figure 5 This is one of the structural schematic diagrams of the color temperature sensor sampling according to an embodiment of this application; Figure 6 This is a second schematic diagram of the structure of the color temperature sensor during sampling according to an embodiment of this application; Figure 7 This is the third schematic diagram of the structure of the color temperature sensor during sampling according to an embodiment of this application. Detailed Implementation

[0009] The embodiments of this application will now be described in detail. Examples of these embodiments are illustrated in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain this application, and should not be construed as limiting this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.

[0010] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such terms can be used interchangeably where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and do not limit the number of objects; for example, a first object can be one or more. In the description of this application, unless otherwise stated, "multiple" means two or more. Furthermore, "and / or" in the specification and claims indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0011] In the description of this application, it should be understood that the terms "length", "width", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings, and are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of this application.

[0012] In the description of this application, it should be noted that, unless otherwise expressly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection between two components. Those skilled in the art can understand the specific meaning of the above terms in this application based on the specific circumstances.

[0013] The color temperature sensor provided in this application will be described in detail below with reference to the accompanying drawings, through specific embodiments and application scenarios.

[0014] Please see Figure 1 , Figure 2 and Figure 3 , Figure 1 , Figure 2 and Figure 3 This is a schematic diagram of the structure of a color temperature sensor provided in an embodiment of this application. Figure 1 , Figure 2 and Figure 3 As shown, the color temperature sensor includes: Outer shell 101; The substrate 102 is connected to the outer shell 101, and the substrate 102 and the outer shell 101 form an inner wall space; Integrated circuit 103 is mounted on substrate 102; Photosensitive unit 104 is mounted on integrated circuit 103; The filter module 105 includes three filters, which are used to transmit light of different color wavelengths. The filter module 105 is installed on the housing 101. When the color temperature sensor is working, at least one side of the filter module 105 faces the photosensitive unit 104, and the three filters work in a time-sharing manner so that the photosensitive unit 104 detects the light of the color band transmitted by one of the at least one filters each time.

[0015] like Figure 1 , Figure 2 and Figure 3As shown in the embodiment of this application, the outer shell of the color temperature sensor is a housing 101, which can be a transparent plastic encapsulation shell. The housing 101 is connected to the substrate 102, specifically by adhesive bonding. After the housing 101 is connected to the substrate 102, a certain space can be formed inside for mounting devices such as integrated circuit 103 and photodiode (PD) 104. Specifically, the integrated circuit (ASIC) 103 is mounted on the substrate 102. For example, the integrated circuit 103 is attached to the substrate 102 by a chip bonding film or die attach film (DAF). The photodiode 104 is mounted on the integrated circuit 103, that is, the photodiode 104, integrated circuit 103, and substrate 102 are stacked in sequence. The integrated circuit 103 also includes other necessary devices, such as a transimpedance amplifier, an operational amplifier, and an analog-to-digital converter (ADC). The photosensitive unit 304 converts the sensed light signal into a small current signal. The small current is amplified by the capacitive transimpedance amplifier (CTIA) to obtain a voltage signal, which is then amplified by the operational amplifier and sent to the ADC for analog-to-digital conversion to obtain the final digital signal.

[0016] Existing methods involve coating a film on the photodiode (PD) to distinguish the RGB components or XYZ values ​​of ambient light, thereby calculating the color temperature. This application, however, modifies the position of the PD coating, removing the film originally deposited on the PD, allowing the PD to sense the full-spectrum spectrum. Furthermore, a filter module 105 is placed above the PD to sequentially sense light of different color bands, enabling the detection of ambient light color temperature using a PD at the same location. This avoids the inconsistency in field of view (FOV) caused by differences in PD position.

[0017] Specifically, the filter module 105 is installed on the housing 101 and located above the photosensitive unit 104. The filter module 105 includes three filters, which are used to transmit light of different color bands. For example, one filter is used to transmit light of the red band so that the PD can detect the R component or X component of the ambient light, one filter is used to transmit light of the green band so that the PD can detect the G component or Y component of the ambient light, and another filter is used to transmit light of the blue band so that the PD can detect the B component or Z component of the ambient light.

[0018] In a specific embodiment, the filter module 105 can be implemented using an electrochromic glass slide or a narrowband filter. Each filter is used to transmit light of a specific color wavelength. When an electrochromic glass slide is used, the filter module 105 can be positioned directly opposite the photosensitive unit 104. When a narrowband filter is used, the filter module 105 can be positioned away from the photosensitive unit 104 and a driving mechanism can be used to drive the filter to a position directly opposite the photosensitive unit 104. Alternatively, the filter module 105 can also be positioned directly opposite the photosensitive unit 104 and a driving mechanism can be used to drive the inactive filter to a position away from the photosensitive unit 104. Thus, when the color temperature sensor is working, at least one filter in the filter module 105 is facing the photosensitive unit 104, and each filter works in a time-sharing manner, allowing light of a specific color band to pass through. The photosensitive unit 104 then sequentially detects the light of the color bands passed through each filter, and finally combines the three color components of the detected red, green and blue color bands to determine the XYZ value, and then calculates the color temperature.

[0019] Optionally, the three filters are three electrochromic glass slides 1051, which are positioned directly opposite the photosensitive unit 104. The three electrochromic glass slides 1051 are all electrically connected to the integrated circuit 103. When energized, the three electrochromic glass slides 1051 allow light of different color wavelengths to pass through. When the color temperature sensor is working, the three electrochromic glass slides 1051 are energized sequentially to transmit light of different color wavelengths in turn.

[0020] In some embodiments, the filter module 105 can be implemented using three electrochromic glass slides, such as... Figure 1 and Figure 2 As shown, three electrochromic glass slides 1051 are positioned opposite the photosensitive unit 104, allowing light to pass through the electrochromic glass slides 1051 and enter the photosensitive unit 104 for detection. All three electrochromic glass slides 1051 are electrically connected to the integrated circuit 103 for power control of the three electrochromic glass slides 1051.

[0021] The working principle of the electrochromic glass slide 1051 is that it transmits the full spectrum when no power is applied, and displays a specific color when power is applied, forming a bandpass that only passes through the corresponding color band. The three electrochromic glass slides 1051 can display different colors when power is applied, so that three different color bands can be passed through respectively.

[0022] When the color temperature sensor is working, the three electrochromic glass slides 1051 can be energized sequentially, and only one electrochromic glass slide 1051 can be energized at a time. In this way, light of three different color bands can be transmitted to the photosensitive unit 104 in sequence. The photosensitive unit 104 detects the components of the three different colors and finally calculates the color temperature based on the detection results.

[0023] In this way, by using three electrochromic glass slides to sample the RGB components sequentially, not only can good FOV and sensitivity be guaranteed, but the structure is also simple and inexpensive.

[0024] Optionally, the housing 101 is provided with three recessed platforms 1011 at the position opposite to the photosensitive unit 104. The three recessed platforms 1011 correspond to different installation dimensions. The three electrochromic glass slides 1051 have different lengths. The installation dimensions corresponding to the three recessed platforms 1011 correspond one-to-one with the lengths of the three electrochromic glass slides 1051. The three electrochromic glass slides 1051 are respectively installed on the three recessed platforms 1011 and are stacked.

[0025] like Figure 1 and Figure 2 As shown, three electrochromic glass slides 1051 can be securely mounted by setting three recessed platforms 1011 on the housing 101 directly opposite the photosensitive unit 104. Specifically, the housing 101 can be hollowed out at the position directly opposite the photosensitive unit 104 to form a recessed platform structure with stepped ends. Thus, the three recessed platforms 1011 correspond to three different mounting lengths. The length of the three electrochromic glass slides 1051 is designed according to the mounting dimensions corresponding to the three recessed platforms 1011. Each electrochromic glass slide 1051 is mounted on one recessed platform 1011. When the three electrochromic glass slides 1051 are sequentially mounted on their corresponding recessed platforms 1011, a vertical stacking structure is formed, with gaps between adjacent electrochromic glass slides 1051. For example, as... Figure 1 As shown, the length of the upper electrochromic glass slide is greater than the length of the lower electrochromic glass slide, and the mounting dimensions corresponding to the upper recessed platform are greater than the mounting dimensions corresponding to the lower recessed platform. Alternatively, as... Figure 2 As shown, the length of the upper electrochromic glass slide is shorter than the length of the lower electrochromic glass slide, and the mounting dimensions corresponding to the upper recessed platform are smaller than the mounting dimensions corresponding to the lower recessed platform. The lengths of the three electrochromic glass slides 1051 are along... Figure 1 The dimensions in the direction indicated by the dashed arrow in Figure 2.

[0026] It should be noted that in order to install the three electrochromic glass slides, the height of the existing package needs to be increased, thereby enabling the fabrication of the three recessed platforms 1011, as described above. Figure 1 and Figure 2As shown, the three sinks 1011 are mainly used to install three layers of color-changing glass slides.

[0027] This implementation method enables the three electrochromic glass slides to be stacked and stably mounted directly above the photosensitive unit 104.

[0028] Optionally, such as Figure 1 As shown, the installation dimensions of the first mounting platform 10111 are smaller than those of the second mounting platform 10112. The distance between the first mounting platform 10111 and the photosensitive unit 104 is smaller than the distance between the second mounting platform 10112 and the photosensitive unit 104. The electrochromic glass slide on the first mounting platform 10111 is installed before the electrochromic glass slide on the second mounting platform 10112. The first mounting platform 10111 and the second mounting platform 10112 are any two of the three mounting platforms 1011.

[0029] In some embodiments, the structure of the three sinkers can be as follows: Figure 1 As shown, the lower recessed platform corresponds to a shorter installation dimension, while the upper recessed platform corresponds to a longer installation dimension. Therefore, the three electrochromic glass slides 1051 are installed sequentially using a forward assembly method, attaching them to the outer casing 101 from top to bottom. Specifically, the bottommost electrochromic glass slide can be designed to have the shortest length, and the topmost electrochromic glass slide can be designed to have the longest length, so that each slide can be stably assembled on the recessed platform 1011 of the outer casing 101. During installation, the shortest electrochromic glass slide is installed first on the bottom recessed platform, then the middle electrochromic glass slide is installed on the middle recessed platform, and finally the longest electrochromic glass slide is installed on the top recessed platform. There is no significant difference in which electrochromic glass slide is placed on top or bottom for R-band, G-band, and B-band transmission.

[0030] Optionally, such as Figure 2 As shown, the installation dimensions of the first mounting platform 10111 are larger than those of the second mounting platform 10112. The distance between the first mounting platform 10111 and the photosensitive unit 104 is smaller than the distance between the second mounting platform 10112 and the photosensitive unit 104. The electrochromic glass slide on the second mounting platform 10112 is installed before the electrochromic glass slide on the first mounting platform 10111. The first mounting platform 10111 and the second mounting platform 10112 are any two of the three mounting platforms 1011.

[0031] In other embodiments, the structure of the three sinkholes can be as follows: Figure 2As shown, the lower recessed platform corresponds to a longer installation dimension, while the upper recessed platform corresponds to a shorter installation dimension. Therefore, the three electrochromic glass slides 1051 are installed sequentially using a reverse assembly method, attaching the slides to the outer casing 101 from bottom to top. Specifically, the uppermost electrochromic glass slide can be designed to have the shortest length, and the lowermost electrochromic glass slide can be designed to have the longest length, so that each slide can be stably assembled on the recessed platform 1011 of the outer casing 101. During installation, the shortest glass slide should be installed on top, and the longest glass slide on the bottom. That is, first install the shortest electrochromic glass slide on the uppermost recessed platform, then install the middle electrochromic glass slide on the middle recessed platform, and finally install the longest electrochromic glass slide on the lowermost recessed platform. There is no significant difference in which electrochromic glass slide is placed on top or bottom for R-band, G-band, and B-band signals.

[0032] Optionally, the three electrochromic glass slides 1051 include a first electrochromic glass slide, a second electrochromic glass slide, and a third electrochromic glass slide. The first electrochromic glass slide, when energized, allows light in the red band to pass through, and the photosensitive unit 104 detects the red component of the ambient light. The second electrochromic glass slide, when energized, allows light in the green band to pass through, and the photosensitive unit 104 detects the green component of the ambient light. The third electrochromic glass slide, when energized, allows light in the blue band to pass through, and the photosensitive unit 104 detects the blue component of the ambient light.

[0033] Specifically, the first electrochromic glass slide 1051 can be designed to be a red glass slide when energized, allowing only red light to pass through; the second electrochromic glass slide 1051 can be designed to be a green glass slide when energized, allowing only green light to pass through; and the third electrochromic glass slide 1051 can be designed to be a blue glass slide when energized, allowing only blue light to pass through. In this way, when the color temperature sensor is working, only one electrochromic glass slide can be energized sequentially to detect the value of one color component each time. For example, only the first electrochromic glass slide can be energized to detect the R or X component of ambient light, only the second electrochromic glass slide can be energized to detect the G or Y component of ambient light, and only the third electrochromic glass slide can be energized to detect the B or Z component of ambient light. In this way, the RGB or XYZ values ​​of ambient light can be obtained by three samplings, and the color temperature can be calculated based on the RGB or XYZ values.

[0034] It should be noted that whether the RGB or XYZ component is obtained, and the specific shape of the RGB curve, are related to the thickness, composition, and voltage parameters of the material on the glass slide, and are not limited here. Since the photosensitive unit PD is the same for each sampling, the FOV response curves of the RGB or XYZ components are consistent, thus resulting in a better FOV for the Correlated Color Temperature (CCT).

[0035] Optionally, the duration of each energization of the three electrochromic glass slides 1051 is less than or equal to 1 ms.

[0036] In some embodiments, considering the modifications to the optical structure of the embodiments of this application, the sampling method of the color temperature sensor changes. In existing solutions, the RGB channels are independent and can therefore be sampled synchronously. To address the FOV consistency issue, the design proposed in the embodiments of this application uses a shared optical path to collect light in the RGB bands, therefore only serial sampling is possible, with the working timing as follows: Figure 4 As shown, by sequentially enabling electrochromic glass slides 1, 2, and 3, the values ​​of the RGB bands of the light source can be obtained. It is worth noting that since RGB operates in a serial mode (i.e., asynchronous sampling), if the sampling time is long, the RGB component ratios obtained under unstable ambient light will be distorted, leading to inaccurate CCT calculations. To solve this problem, the enabling time of each electrochromic glass slide cannot be too long. It is necessary to shorten the single sampling time to mitigate changes in ambient light; that is, assuming that shorter sampling times result in smaller ambient light changes, then even with asynchronous sampling, the RGB channel values ​​will not differ significantly. Specifically, the single sampling time can be controlled to be within 1ms, meaning the energizing time of each glass slide can be controlled to be within 1ms.

[0037] For example, each slide works for 1ms, then switches to the next slide, and it takes 3ms to acquire data from three channels. Finally, after accumulating 30 data points for each channel (i.e., 30*3 = 90ms), the values ​​of the corresponding channels are summed up and the average is calculated. Since the ambient light changes little in a short time, it is equivalent to the RGB three channels being sampled synchronously, thus solving the problem of asynchrony.

[0038] Optionally, the three filters are a red filter 1052, a green filter 1053, and a blue filter 1054, respectively. The color temperature sensor also includes a driving mechanism, which is installed in the housing 101. All three filters are connected to the driving mechanism. When the color temperature sensor is working, the driving mechanism drives the three filters in sequence so that two of the three filters are located at the first position 201 and the other is located at the second position 202. The first position 201 is not directly opposite the photosensitive unit 104, and the second position 202 is directly opposite the photosensitive unit 104. At any given time, only one filter is located at the second position 202.

[0039] In some embodiments, the filter module 105 may be implemented using three narrowband filters of different colors, each narrowband filter allowing light to pass through only the red, green and blue wavelengths respectively, and the three different colored filters are switched by an electric mechanical structure.

[0040] like Figure 3 As shown, the filter module 105 includes a red filter 1052, a green filter 1053, and a blue filter 1054. The initial positions of these three filters are not directly opposite the photosensitive unit 104, and they can be driven by a driving mechanism to move above the photosensitive unit 104. The driving mechanism can be either a telescopic drive or a rotational drive to drive the filter module 105.

[0041] Specifically, the red filter 1052 transmits only red light, the green filter 1053 transmits only green light, and the blue filter 1054 transmits only blue light. These three filters can be controlled by a driving mechanism to move left and right. In one embodiment, when the color temperature sensor is not working, the three filters are located at a first position 201 on the housing 101, and the first position 201 is not directly opposite the photosensitive unit 104, such as... Figure 3 On the left side of the image sensor; when the color temperature sensor is working, one of the three filters can be driven sequentially by the driving mechanism to move it to the second position 202 directly opposite the photosensitive unit 104, as shown in the image sensor 104. Figure 3 On the right side of the image, only one filter is driven to the second position 202 at a time, while the other filters remain in the first position 201 or return from the second position 202 to the first position 201. In this way, light in the red, green, and blue color bands can be passed through to the photosensitive unit 104 in sequence. The photosensitive unit 104 detects the components of these three different colors and finally calculates the color temperature based on the detection results.

[0042] In another embodiment, when the color temperature sensor is not working, the three filters are located at the second position 202 of the housing 101, directly opposite the photosensitive unit 104. When the color temperature sensor is working, the driving mechanism can sequentially drive two of the three filters, moving two of them to the first position 201, which is not directly opposite the photosensitive unit 104, while the third filter remains in the second position 202, directly opposite the photosensitive unit 104. Only one filter is held in the second position 202 at a time. This allows light of the red, green, and blue wavelengths to pass sequentially to the photosensitive unit 104, which detects the components of these three different colors and calculates the color temperature based on the detection results. Alternatively, light of the red, green, and blue wavelengths can also pass sequentially to the photosensitive unit 104, which detects the components of these three different colors and calculates the color temperature based on the detection results.

[0043] In this way, by using three different color filters and driving mechanisms to sample the RGB components sequentially, good FOV and sensitivity can be guaranteed, and it is easy to implement.

[0044] Optionally, when the color temperature sensor is not working, the three filters are located at the first position 201 of the housing 101; when the color temperature sensor is working, the driving mechanism sequentially drives one of the three filters to the second position 202. When the driving mechanism drives the red filter 1052 to the second position 202, the green filter 1053 and the blue filter 1054 are located at the first position 201, and the photosensitive unit 104 detects the red component of the ambient light. When the driving mechanism drives the green filter 1053 to the second position 202, the red filter 1052 and the blue filter 1054 are located at the first position 201, and the photosensitive unit 104 detects the green component of the ambient light. When the driving mechanism drives the blue filter 1054 to the second position 202, the red filter 1052 and the green filter 1053 are located at the first position 201, and the photosensitive unit 104 detects the blue component of the ambient light.

[0045] Specifically, when the color temperature sensor is working, it can sample a component of one color band at a time. The driving mechanism then drives a filter of one color to the photosensitive unit 104 each time, allowing the photosensitive unit 104 to detect that color component. The specific timing sequence is as follows: When collecting red light, the red filter 1052 is driven to the right, while the other two filters remain in their original positions. Figure 5 As shown, the R component or X component of ambient light can be detected at this time; When green light is collected, the green filter 1053 is pushed to the right, while the red filter 1052 returns to its initial position, and the blue filter 1054 remains stationary. Figure 6 As shown, the G component or Y component of the ambient light can be detected at this time; When collecting blue light, the blue filter 1054 is pushed to the right, while the green filter 1053 returns to its initial position, and the red filter 1052 remains stationary. Figure 7 As shown, the B component or Z component of the ambient light can be detected at this time.

[0046] The timing and availability of data collection Figure 4 The implementation is the same: each color of light is sampled for 1ms, and it takes 3ms to sample all three colors. After accumulating 30 samplings, the components of the light sampled for each color are averaged to obtain the final data for the three channels. Since the ambient light changes little in a short period of time, it is equivalent to the RGB three channels being sampled synchronously, thus solving the problem of asynchrony.

[0047] A color temperature sensor according to an embodiment of this application includes: a housing; a substrate connected to the housing, the substrate and the housing forming an inner wall space; an integrated circuit mounted on the substrate; a photosensitive unit mounted on the integrated circuit; and a filter module including three filters, each of which transmits light of different color wavelengths. The filter module is mounted on the housing. When the color temperature sensor is operating, at least one filter in the filter module faces the photosensitive unit, and the three filters operate in a time-division manner, so that the photosensitive unit detects light of a color wavelength transmitted by one of the at least one filters each time. Thus, this embodiment of the application, by removing the optical coating on the photosensitive unit, instead samples light of different color wavelengths sequentially through the filter module and detects each color wavelength through the same photosensitive unit. Since the photosensitive unit used for the three samplings is the same, there is no problem of inconsistent field of view (FOV) due to positional differences. Therefore, there is no need to use a cosine corrector to improve the FOV, thus preventing a decrease in sensor sensitivity.

[0048] This application also provides an electronic device, including: case; A color temperature sensor, wherein the color temperature sensor is the color temperature sensor described in the foregoing embodiments.

[0049] The specific implementation of the electronic device in this application embodiment can be found in the implementation of the aforementioned color temperature sensor embodiment, and the same technical effect can be achieved. To avoid repetition, it will not be described again here.

[0050] Other components of the electronic device according to embodiments of this application, such as processors and controllers, as well as its operation, are known to those skilled in the art and will not be described in detail here.

[0051] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "illustrative embodiment," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.

[0052] Although embodiments of this application have been shown and described, those skilled in the art will understand that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of this application, the scope of which is defined by the claims and their equivalents.

Claims

1. A color temperature sensor, characterized in that, include: shell; A substrate, which is connected to the outer casing, and the substrate and the outer casing form an inner wall space; An integrated circuit, which is mounted on the substrate; A photosensitive unit, wherein the photosensitive unit is mounted on the integrated circuit; A filter module, comprising three filters, each used to transmit light of different color wavelengths, the filter module being mounted on the housing; When the color temperature sensor is working, at least one side of the filter in the filter module faces the photosensitive unit, and the three filters work in a time-sharing manner so that the photosensitive unit detects the light of the color band transmitted by one of the at least one filters each time.

2. The color temperature sensor according to claim 1, characterized in that, The three filters are three electrochromic glass slides, and the three electrochromic glass slides are positioned directly opposite the photosensitive unit; The three electrochromic glass slides are all electrically connected to the integrated circuit, and when energized, the three electrochromic glass slides allow light of different color wavelengths to pass through. When the color temperature sensor is working, the three electrochromic glass slides are energized sequentially to allow light of different color wavelengths to pass through in turn.

3. The color temperature sensor according to claim 2, characterized in that, The outer casing has three recessed platforms facing the photosensitive unit. The three recessed platforms correspond to different installation dimensions. The three electrochromic glass slides have different lengths. The installation dimensions of the three recessed platforms correspond one-to-one with the lengths of the three electrochromic glass slides. The three electrochromic glass slides are respectively installed on the three recessed platforms and are stacked.

4. The color temperature sensor according to claim 3, characterized in that, The installation dimensions of the first recessed platform are smaller than those of the second recessed platform, the distance between the first recessed platform and the photosensitive unit is smaller than the distance between the second recessed platform and the photosensitive unit, and the first recessed platform and the second recessed platform are any two of the three recessed platforms.

5. The color temperature sensor according to claim 3, characterized in that, The installation dimensions of the first recessed platform are greater than those of the second recessed platform. The distance between the first recessed platform and the photosensitive unit is less than the distance between the second recessed platform and the photosensitive unit. The first recessed platform and the second recessed platform are any two of the three recessed platforms.

6. The color temperature sensor according to claim 2, characterized in that, The three electrochromic glass slides include a first electrochromic glass slide, a second electrochromic glass slide, and a third electrochromic glass slide. The first electrochromic glass slide, when energized, allows light in the red band to pass through, and the photosensitive unit detects the red component of ambient light. The second electrochromic glass slide, when energized, allows light in the green band to pass through, and the photosensitive unit detects the green component of ambient light. The third electrochromic glass slide, when energized, allows light in the blue band to pass through, and the photosensitive unit detects the blue component of ambient light.

7. The color temperature sensor according to claim 2, characterized in that, The duration of each energization of the three electrochromic glass slides is less than or equal to 1 ms.

8. The color temperature sensor according to claim 1, characterized in that, The three filters are a red filter, a green filter, and a blue filter, respectively. The color temperature sensor also includes a driving mechanism, which is installed in the housing. All three filters are connected to the driving mechanism. When the color temperature sensor is working, the driving mechanism drives the three filters in sequence so that two of the three filters are in a first position and the other is in a second position. The first position is not directly opposite the photosensitive unit, and the second position is directly opposite the photosensitive unit. Only one filter is in the second position at a time.

9. The color temperature sensor according to claim 8, characterized in that, When the color temperature sensor is not working, the three filters are located in the first position of the housing; When the driving mechanism drives the red filter to the second position, the green filter and the blue filter are located at the first position, and the photosensitive unit detects the red component of the ambient light; When the driving mechanism drives the green filter to the second position, the red filter and the blue filter are located at the first position, and the photosensitive unit detects the green component of the ambient light; When the driving mechanism drives the blue filter to the second position, the red filter and the green filter are located at the first position, and the photosensitive unit detects the blue component of the ambient light.

10. An electronic device, characterized in that, include: case; A color temperature sensor, wherein the color temperature sensor is the color temperature sensor according to any one of claims 1-9.