Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides electronic equipment. The electronic device may be a smart phone, a tablet computer, or other devices, and may also be a game device, an AR (Augmented Reality) device, an automobile device, a data storage device, an audio playing device, a video playing device, a notebook computer, a desktop computing device, or other devices.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an electronic device 100 according to an embodiment of the present disclosure. The electronic device 100 includes a housing 10, a display device 20, and a processor 30.
The housing 10 is used to form the outer contour and the overall frame of the electronic device 100. It is understood that the housing 10 may be used for mounting various functional modules of the electronic device 100, such as a display device, a camera, a circuit board, a battery, etc.
The display device 20 is mounted on the housing 10. The display device 20 is used for displaying information, such as images, texts, and the like. In addition, the display device 20 may further include a light sensor for detecting ambient light, so that the electronic apparatus 100 can control the electronic apparatus 100 according to information detected by the light sensor, for example, display brightness, display color, and the like when the display device 20 displays information can be controlled.
The processor 30 is mounted inside the housing 10. Wherein the processor 30 is electrically connected to the display device 20, so that the processor 30 can control the display of the display device 20. The processor 30 may be further configured to process data detected by the light sensor in the display device 20, for example, analyze and calculate the data detected by the light sensor, so as to determine the ambient light intensity and/or the ambient light chromaticity, and further control the electronic apparatus 100 according to the calculated ambient light intensity and/or the calculated ambient light chromaticity.
Referring to fig. 2, fig. 2 is a first cross-sectional view of a display device 20 provided in an embodiment of the present application. The display device 20 includes a display screen 21, a dimming assembly 22, a first light sensor 23, a second light sensor 24, and a light blocking member 25.
In the description of the present application, it is to be understood that terms such as "first", "second", and the like are used merely to distinguish one similar element from another, and are not to be construed as indicating or implying relative importance or implying any indication of the number of technical features indicated.
In the embodiment of the present application, the first light sensor 23 and the second light sensor 24 are only used for distinguishing two light sensors. In other embodiments, the first light sensor 23 may be understood as a second light sensor and the corresponding second light sensor 24 may be understood as a first light sensor.
The display screen 21 is used for displaying information to realize the display function of the display device 20. In some embodiments, the display screen 21 may be an Organic Light-Emitting Diode (OLED) display screen.
The display screen 21 may generate light, such as light I, when displaying information2. Light I generated by display screen 212Including polarized light directed in various directions. Light I generated by display screen 212May be transmitted to both sides of the display screen 21, for example towards the side of the dimming component 22 and towards the side facing away from the dimming component 22. Here, the side of the dimming component 22 may be understood as an inner side of the electronic device 100, and the side facing away from the dimming component 22 may be understood as a side facing a user. When the display screen 21 generates the light I2Transmitted toward the user and perceived by the user's eyes, the user can view the information displayed on the display screen 21.
In addition, canIt is understood that there is ambient light in the environment, such as ambient light I1. The ambient light may include sunlight, moonlight, lighting, and the like. Ambient light I1Can transmit through the display screen 21 and thus transmit to the inside of the electronic device 100, such as the ambient light I1Can be transmitted through the display screen 21 to the side where the dimming component 22 is located.
The dimming component 22 is disposed at one side of the display screen 21. For example, the dimming component 22 is disposed on a side of the display screen 21 facing the inside of the electronic device 100. The light adjusting component 22 is used for filtering the ambient light passing through the display screen 21 and the light emitted from the display screen 21, for example, changing the ambient light I passing through the display screen 211To change the condition that the first light sensor 23 and the second light sensor 24 receive the ambient light. The light adjusting assembly 22 may include a device for changing the polarization direction of light, such as a polarization device, a quarter wave plate, etc.
The first light sensor 23 is a photoelectric sensor, and is configured to convert a received light signal into a corresponding electrical signal. The first light sensor 23 is disposed on a side of the dimming component 22 away from the display screen 21 and opposite to the dimming component 22. Wherein, the first light sensor 23 is used for receiving the light I emitted from the display screen 212. It should be noted that the first light sensor 23 cannot receive the ambient light I transmitted through the display screen 211。
The second light sensor 24 is also a photoelectric sensor for converting the received light signal into a corresponding electrical signal. The second light sensor 24 is disposed on a side of the dimming component 22 facing away from the display screen 21. Wherein, the second light sensor 24 is used for receiving the light I emitted by the display screen 212And ambient light I transmitted through the display screen 211。
It will be appreciated that the dimming component 22 may alter the ambient light I transmitted through the display screen 21 due to the filtering, e.g., polarizing, of the light by the dimming component 221The direction of polarization of, thereforeThe first light sensor 23 and the second light sensor 24 receive the ambient light I1The situation of (a) is different. In this embodiment, the light adjusting assembly 22 is used for filtering the ambient light passing through the display screen 21 and the light emitted from the display screen 21, so that the first light sensor 23 receives the light I emitted from the display screen 212The second light sensor 24 receives the light I emitted from the display screen 212And ambient light I transmitted through the display screen 211。
Wherein, the distance d between the second light sensor 24 and the first light sensor 23 is smaller than a preset distance. That is, the distance d between the second light sensor 24 and the first light sensor 23 is small. Wherein the distance d may be a distance between a geometric center of the second light sensor 24 and a geometric center of the first light sensor 23. In some embodiments, the predetermined distance is 2mm (millimeters).
It is understood that when the electronic device 100 detects ambient light, the light generated by the display screen 21 will affect the detection of the ambient light. In order to accurately calculate the intensity and/or chromaticity of the ambient light according to the data detected by the second light sensor 24 and the first light sensor 23 and eliminate the influence caused by the light emission of the display screen 21, it is required to ensure that the light generated in the area corresponding to the first light sensor 23 and the area corresponding to the second light sensor 24 on the display screen 21 is as same as possible, that is, the display brightness and the display chromaticity of the area corresponding to the first light sensor 23 and the area corresponding to the second light sensor 24 on the display screen 21 are as same as possible.
On the other hand, on the display screen 21, the closer the distance, the higher the continuity of the information displayed, and the smaller the difference in display luminance and display chromaticity between the closer distance. Therefore, the distance between the second light sensor 24 and the first light sensor 23 is set to be small, so that the light generated in the area corresponding to the first light sensor 23 on the display screen 21 and the light generated in the area corresponding to the second light sensor 24 can be ensured to be the same as possible, and the influence caused by the light emission of the display screen 21 when the ambient light is detected can be eliminated.
The light shielding member 25 is disposed between the first light sensor 23 and the second light sensor 24. The light shielding member 25 serves to isolate the light transmitted to the first light sensor 23 and the light transmitted to the second light sensor 24 from each other.
It can be understood that, due to the small distance between the second light sensor 24 and the first light sensor 23, the light transmitted to the first light sensor 23 and the light transmitted to the second light sensor 24 may mix, thereby affecting the accuracy of the data detected by the first light sensor 23 and the second light sensor 24.
The light shielding member 25 is disposed between the first light sensor 23 and the second light sensor 24, so that the light transmitted to the first light sensor 23 and the light transmitted to the second light sensor 24 are isolated from each other, and the occurrence of light mixing is avoided, so that the accuracy of the respective detection data of the first light sensor 23 and the second light sensor 24 can be improved, and the accuracy of the electronic device 100 for detecting the ambient light is further improved.
In some embodiments, the light shielding member 25 may be made of black silica gel, black foam, or the like, so as to ensure that the light shielding member 25 has good light shielding performance.
In the electronic device 100 provided in the embodiment of the application, since the situations that the first light sensor 23 and the second light sensor 24 receive the ambient light are different, the first light sensor 23 is configured to receive the light emitted from the display 21, and the second light sensor 24 is configured to receive the light emitted from the display 21 and the ambient light passing through the display 21, so that the ambient light intensity and/or the ambient light chromaticity can be calculated according to the detection data of the first light sensor 23 and the second light sensor 24. Moreover, because the distance between the first light sensor 23 and the second light sensor 24 is very small, and the light shielding member 25 is arranged between the first light sensor 23 and the second light sensor 24, the occurrence of light mixing is avoided, the light generated in the area corresponding to the first light sensor 23 and the light generated in the area corresponding to the second light sensor 24 on the display screen 21 can be ensured to be the same as much as possible, the influence caused by the light emission of the display screen 21 when the ambient light is detected is eliminated, and therefore, the accuracy of ambient light detection can be improved.
In some embodiments, referring to fig. 3, fig. 3 is a second cross-sectional view of a display device 20 provided in the embodiments of the present application. The display screen 21 includes a light-emitting layer 211 and a light-shielding layer 212.
The light-emitting layer 211 is used for emitting light to generate light when the display screen 21 displays information, such as light I2. Light I generated by the light emitting layer 2112Either toward the side of the dimming component 22 or away from the dimming component 22, i.e., toward the user. In some embodiments, the light emitting layer 211 may include a plurality of Organic Light Emitting Diodes (OLEDs).
The light shielding layer 212 is located on a side of the display screen 21 facing the light adjusting assembly 22. The light-shielding layer 212 is used to provide protection for the light-emitting layer 211. For example, the material of the light-shielding layer 212 may include foam, steel sheet, and the like.
The light-shielding layer 212 has a light-transmitting hole 2121. The light holes 2121 penetrate the light-shielding layer 212. Thus, the light transmitting holes 2121 may allow light to pass through the light shielding layer 212. Wherein the ambient light I1After transmitting through the light emitting layer 211, the light can pass through the light shielding layer 212 through the light transmitting holes 2121 and continue to be transmitted into the electronic device 100. Light I generated by the light emitting layer 2112The light can pass through the light-shielding layer 212 through the light-transmitting hole 2121 and be transmitted to the inside of the electronic device 100.
The light hole 2121 is opposite to the first light sensor 23 and the second light sensor 24. Thus, the light passing through the light shielding layer 212 may be transmitted toward the first and second light sensors 23 and 24.
In some embodiments, with continued reference to FIG. 3, the display device 20 further includes a first protective member 26 and a second protective member 27.
The first protector 26 is fitted around the periphery of the first optical line sensor 23. The first protector 26 can provide protection for the first light sensor 23, and can prevent light around the first light sensor 23 from entering the first light sensor 23, thereby affecting the detection of the first light sensor 23. For example, the first protector 26 may be made of black silica gel, black foam, or the like.
The second protection member 27 is fitted around the periphery of the second optical line sensor 24. The second protection member 27 can provide protection for the second light sensor 24, and can prevent light around the second light sensor 24 from entering the second light sensor 24, thereby affecting the detection of the second light sensor 24. For example, the second protection member 27 may be made of black silicone, black foam, or the like.
In some embodiments, the first protector 26, the second protector 27, and the light-shielding member 25 may be formed in one body to simplify the arrangement of the first protector 26, the second protector 27, and the light-shielding member 25. For example, the first protector 26, the second protector 27, and the light shielding member 25 may be formed as an integrated black silicone member, black foam member, or the like.
In some embodiments, referring to fig. 4, fig. 4 is a third cross-sectional view of a display device 20 provided in the embodiments of the present application.
Wherein the display screen 21 comprises a first polarizing element 213. In some embodiments, the first polarizing element 213 includes a polarizer. The first polarization element 213 is disposed on a side of the display screen 21 facing a user, that is, on a side of the light-emitting layer 211 facing away from the dimming component 22.
The first polarization element 213 is used to polarize light. Wherein, when the light emitting layer 211 generates the light I2When the light is transmitted to the first polarizing element 213, linearly polarized light is formed due to the polarization of the first polarizing element 213。I2The linearly polarized light formed by the first polarization element 213 is transmitted to the outside of the electronic device 100, and after being perceived by the user, the user can normally observe the information displayed on the display screen 21.
On the other hand, when the ambient light I1When the light is transmitted to the inside of the electronic device 100 through the display screen 21, the ambient light I1Linearly polarized light is also formed while passing through the first polarizer 213, and the linearly polarized light continues to travel toward the inside of the electronic apparatus 100.
Wherein the first polarization element 213 comprises a first polarization axis. The first polarization element 213 allows light having a polarization direction parallel to the first polarization axis to pass therethrough, and prevents light having a polarization direction perpendicular to the first polarization axis from passing therethrough. That is, the light I generated by the light emitting layer 2112And ambient light I1In the above embodiment, a part of the light with the polarization direction parallel to the first polarization axis may be transmitted through the first polarization element 213, and a part of the light with the polarization direction perpendicular to the first polarization axis may not be transmitted through the first polarization element 213.
The dimming component 22 includes a second polarization element 221. In some embodiments, the second polarizing element 221 also includes a polarizer. The second polarizing element 221 may also polarize light. The second polarization element 221 is disposed opposite to the first light sensor 23.
Wherein the second polarization element 221 includes a second polarization axis. It is understood that the second polarization element 221 allows light having a polarization direction parallel to the second polarization axis to pass therethrough, and prevents light having a polarization direction perpendicular to the second polarization axis from passing therethrough.
Therefore, when the light emitting layer 211 generates the light I2When transmitted to the second polarizer 221, the light I2Part of the light with the middle polarization direction parallel to the second polarization axis can pass through the second polarization element 221 and continue to be transmitted to the first light sensor 23, and the light I2A part of light rays having a middle polarization direction perpendicular to the second polarization axis cannot pass through the second polarization element 221. Thus, the first light sensor23 can receive the light I generated by the luminescent layer 2112I.e. can receive the light I emitted by the display screen 212。
In an embodiment of the present application, the second polarization axis is perpendicular to the first polarization axis. Thus, it can be understood that the ambient light I1The polarization direction of linearly polarized light formed after transmitting the first polarizing element 213 is parallel to the first polarization axis, and thus is perpendicular to the second polarization axis. Thus, ambient light I1Linearly polarized light formed after being transmitted through the first polarizer 213 cannot be transmitted through the second polarizer 221. Thus, the first light sensor 23 cannot receive the ambient light I1。
On the other hand, the light I generated by the light-emitting layer 2112May be transmitted directly into the second light sensor 24 to be received by the second light sensor 24. Ambient light I1Linearly polarized light formed after being transmitted through the first polarizing element 213 may also be transmitted to the second light sensor 24 so as to be received by the second light sensor 24. Therefore, the second light sensor 24 can receive the light I emitted from the display screen 212Also receives the ambient light I1。
Note that the light I is generated by the light-emitting layer 2112Part of the light with the middle polarization direction parallel to the second polarization axis can pass through the second polarization element 221, and part of the light with the middle polarization direction perpendicular to the second polarization axis cannot pass through the second polarization element 221, so that the light received by the first light sensor 23 is the light I generated by the light-emitting layer 2112Half of that. Light I generated by the light emitting layer 2112All may be transmitted to the second light sensor 24. Therefore, the light I generated by the light emitting layer 211 received by the second light sensor 242For the light I generated by the luminescent layer 211 received by the first light sensor 2322 times of the total weight of the powder.
The processor 30 of the electronic device 100 may be electrically connected to the first light sensor 23 and the second light sensor 24. The processor 30 may calculate the ambient light intensity according to the first light intensity detected by the first light sensor 23 and the second light intensity detected by the second light sensor 24.
In the embodiment of the present application, that is, when the dimming component 22 includes the second polarization element 221 and does not include the following third polarization element 223 and third quarter-wave plate 224, the processor 30 can calculate the ambient light intensity according to the following formula:
P=X2-2X1
wherein P is the ambient light intensity, X1Is a first light intensity, X, detected by said first light sensor 232Is the second light intensity detected by the second light sensor 24.
In addition, the processor 30 may further calculate the ambient light chromaticity according to the first light chromaticity detected by the first light sensor 23 and the second light chromaticity detected by the second light sensor 24. Wherein the ambient light chromaticity may be calculated according to the following formula:
Q=Y2-2Y1
wherein Q is the chromaticity of ambient light, Y1Is the first light chromaticity, Y, detected by the first light sensor 232Is the second chromaticity of light detected by the second light sensor 24.
In some embodiments, referring to fig. 5, fig. 5 is a fourth cross-sectional view of the display device 20 provided in the embodiments of the present application.
Wherein the display screen 21 further comprises a first quarter wave plate 214. The first quarter wave plate 214 is disposed on a side of the first polarizing element 213 facing the dimming component 22, that is, between the first polarizing element 213 and the light emitting layer 211. The first quarter wave plate 214 may be used to change the polarization type of the light and change the polarization angle of the light.
The dimming component 22 also includes a second quarter wave plate 222. The second quarter-wave plate 222 is disposed on a side of the second polarization element 221 facing the display screen 21. The second quarter-wave plate 222 is disposed opposite to the second polarization element 221. The second quarter wave plate 222 may also be used to change the polarization type of the light and change the polarization angle of the light.
The polarization axis of the second polarization element 221 is perpendicular to the polarization axis of the first polarization element 213, that is, the second polarization axis is perpendicular to the first polarization axis. The slow axis of the second quarter wave plate 222 is perpendicular to the slow axis of the first quarter wave plate 214.
When the ambient light I1When the light is transmitted to the inside of the electronic device 100 through the display screen 21, the ambient light I1Linearly polarized light is formed when the linearly polarized light passes through the first polarization element 213, and then circularly polarized light is formed when the linearly polarized light passes through the first quarter-wave plate 214, and the circularly polarized light sequentially passes through the light emitting layer 211 and the light shielding layer 212 and is transmitted to the dimming component 22. Subsequently, the circularly polarized light forms linearly polarized light again when passing through the second quarter wave plate 222, and the polarization direction of the formed linearly polarized light is the same as the polarization direction of the linearly polarized light formed when passing through the first polarizing element 213. Thus, ambient light I1The polarization direction of the linearly polarized light re-formed while transmitting through the second quarter wave plate 222 is perpendicular to the polarization axis of the second polarization element 221, and cannot continue to transmit through the second polarization element 221. Therefore, the first light sensor 23 still cannot receive the ambient light I1。
Ambient light I1The light can be transmitted to the second light sensor 24 after sequentially transmitting the first polarizing element 213, the first quarter-wave plate 214, the light emitting layer 211, and the light shielding layer 212.
Light I generated by the light emitting layer 2112After sequentially passing through the second quarter-wave plate 222 and the second polarizer 221, the light is transmitted to the first light sensor 23. Wherein, the light ray I2When the light passes through the second quarter-wave plate 222, an integrated light of linearly polarized light, circularly polarized light and elliptically polarized light is formed, and half of the integrated light can pass through the second polarization elementMember 221 so as to be received by said first light sensor 23. Light I generated by the light emitting layer 2112May be transmitted directly to the second light sensor 24. Therefore, the second light sensor 24 receives the light I2For the light I received by the first light sensor 2322 times of the total weight of the powder.
In the embodiment of the present application, that is, when the dimming component 22 includes the second polarization element 221 and the second quarter wave plate 222, and does not include the following third polarization element 223 and the third quarter wave plate 224, the processor 30 can calculate the ambient light intensity according to the following formula:
P=X2-2X1
wherein P is the ambient light intensity, X1Is a first light intensity, X, detected by said first light sensor 232Is the second light intensity detected by the second light sensor 24.
The processor 30 may also calculate the ambient light chromaticity according to the following formula:
Q=Y2-2Y1
wherein Q is the chromaticity of ambient light, Y1Is the first light chromaticity, Y, detected by the first light sensor 232Is the second chromaticity of light detected by the second light sensor 24.
In some embodiments, referring to fig. 6, fig. 6 is a fifth cross-sectional view of a display device 20 provided in the embodiments of the present application. Wherein the dimming component 22 further comprises a third polarization element 223 and a third quarter-wave plate 224.
The third polarization element 223 is disposed opposite to the second light sensor 24. The third polarization element 223 is used to polarize light. Wherein, when the light emitting layer 211 generates the light I2When transmitted to the third polarizing element 223, linearly polarized light is formed due to the polarization of the third polarizing element 223. Light ray I2After linearly polarized light is formed, the light is transmitted to the second light sensor 24. Wherein the third polarization element 223 comprises a third polarization axis. In some embodiments, the thirdThe polarizing element 223 also includes a polarizer.
The third quarter-wave plate 224 is disposed on a side of the third polarization element 223 facing the display screen 21. The third quarter-wave plate 224 is disposed opposite to the third polarization element 223. The third quarter wave plate 224 may also be used to change the type of polarization of the light and change the angle of polarization of the light.
In some embodiments, the polarization axis of the second polarization element 221 is perpendicular to the polarization axis of the first polarization element 213, i.e., the second polarization axis is perpendicular to the first polarization axis. The slow axis of the second quarter wave plate 222 is perpendicular to the slow axis of the first quarter wave plate 214. The polarization axis of the third polarization element 223 is parallel to the polarization axis of the first polarization element 213, i.e., the third polarization axis is parallel to the first polarization axis. The slow axis of the third quarter waveplate 224 is perpendicular to the slow axis of the first quarter waveplate 214.
Wherein, when the ambient light is I1When the light is transmitted to the inside of the electronic device 100 through the display screen 21, the ambient light I1Linearly polarized light is formed when the linearly polarized light passes through the first polarization element 213, and then circularly polarized light is formed when the linearly polarized light passes through the first quarter-wave plate 214, and the circularly polarized light sequentially passes through the light emitting layer 211 and the light shielding layer 212 and is transmitted to the dimming component 22. Subsequently, the circularly polarized light forms linearly polarized light again when passing through the second quarter wave plate 222, and the polarization direction of the formed linearly polarized light is the same as the polarization direction of the linearly polarized light formed when passing through the first polarizing element 213. Thus, ambient light I1The polarization direction of the linearly polarized light re-formed while transmitting through the second quarter wave plate 222 is perpendicular to the polarization axis of the second polarization element 221, and cannot continue to transmit through the second polarization element 221. Therefore, the first light sensor 23 still cannot receive the ambient light I1。
Ambient light I1Linearly polarized light is formed while transmitting through the first polarization element 213, and then circularly polarized light is formed while the linearly polarized light transmits through the first quarter-wave plate 214The light sequentially passes through the light emitting layer 211, the light shielding layer 212 and is transmitted to the light adjusting assembly 22. Subsequently, the circularly polarized light forms linearly polarized light again when passing through the third quarter-wave plate 224, and the polarization direction of the formed linearly polarized light is the same as the polarization direction of the linearly polarized light formed when passing through the first polarizing element 213. Thus, ambient light I1The polarization direction of the linearly polarized light re-formed while transmitting through the third quarter-wave plate 224 is parallel to the polarization axis of the third polarizer 223, and can continue to transmit through the third polarizer 223 and be transmitted to the second light sensor 24. Thus, the second light sensor 24 can receive the ambient light I1。
Light I generated by the light emitting layer 2112After sequentially passing through the second quarter-wave plate 222 and the second polarizer 221, the light is transmitted to the first light sensor 23. Wherein, the light ray I2When the light passes through the second quarter-wave plate 222, a set of light rays of linearly polarized light, circularly polarized light, and elliptically polarized light is formed, and half of the set of light rays can pass through the second polarization element 221 and be received by the first light sensor 23.
Light I generated by the light emitting layer 2112After sequentially passing through the third quarter-wave plate 224 and the third polarization element 223, the light is transmitted to the second light sensor 24. Wherein, the light ray I2When passing through the third quarter-wave plate 224, a set of linearly polarized light, circularly polarized light, and elliptically polarized light is formed, and half of the set of light can pass through the third polarization element 223 and be received by the second light sensor 24.
Therefore, the second light sensor 24 receives the light I2And the light I received by the first light sensor 232Are the same.
Therefore, in the embodiment of the present application, that is, when the dimming component 22 includes the second polarization element 221, the second quarter wave plate 222, the third polarization element 223 and the third quarter wave plate 224, the processor 30 can calculate the ambient light intensity according to the following formula:
P=X2-X1
wherein P is the ambient light intensity, X1Is the first light intensity, X2Is the second light intensity.
Further, the processor 30 may calculate the ambient light chromaticity according to the following formula:
Q=Y2-Y1
wherein Q is the chromaticity of ambient light, Y1Is the first light chromaticity, Y, detected by the first light sensor 232Is the second chromaticity of light detected by the second light sensor 24.
In some embodiments, the polarization axis of the second polarization element 221 is parallel to the polarization axis of the first polarization element 213, i.e., the second polarization axis is parallel to the first polarization axis. The slow axis of the second quarter-wave plate 222 is parallel to the slow axis of the first quarter-wave plate 214, and the second quarter-wave plate 222 changes the polarization direction of the transmitted light by 90 degrees. The polarization axis of the third polarization element 223 is perpendicular to the polarization axis of the first polarization element 213, i.e., the third polarization axis is perpendicular to the first polarization axis. The slow axis of the third quarter-wave plate 224 is parallel to the slow axis of the first quarter-wave plate 214, and the third quarter-wave plate 224 changes the polarization direction of the transmitted light by 90 degrees.
Wherein, when the ambient light is I1When the light is transmitted to the inside of the electronic device 100 through the display screen 21, the ambient light I1Linearly polarized light is formed when the linearly polarized light passes through the first polarization element 213, and then circularly polarized light is formed when the linearly polarized light passes through the first quarter-wave plate 214, and the circularly polarized light sequentially passes through the light emitting layer 211 and the light shielding layer 212 and is transmitted to the dimming component 22. Subsequently, the circularly polarized light forms linearly polarized light again while passing through the second quarter wave plate 222. Since the second quarter-wave plate 222 changes the polarization direction of the transmitted light by 90 degrees, the polarization direction of the linearly polarized light re-formed when the light passes through the second quarter-wave plate 222 and the polarization shape of the light passing through the first polarization element 213 are the sameThe polarization direction of the linearly polarized light is vertical. And the polarization axis of the second polarizer 221 is parallel to the polarization axis of the first polarizer 213, so that the ambient light I1The polarization direction of the linearly polarized light re-formed while transmitting through the second quarter-wave plate 222 is still perpendicular to the polarization axis of the second polarization element 221, and cannot continue to transmit through the second polarization element 221. Therefore, the first light sensor 23 still cannot receive the ambient light I1。
Ambient light I1Linearly polarized light is formed when the linearly polarized light passes through the first polarization element 213, and then circularly polarized light is formed when the linearly polarized light passes through the first quarter-wave plate 214, and the circularly polarized light sequentially passes through the light emitting layer 211 and the light shielding layer 212 and is transmitted to the dimming component 22. Subsequently, the circularly polarized light forms linearly polarized light again while passing through the third quarter-wave plate 224. Since the third quarter-wave plate 224 changes the polarization direction of the transmitted light by 90 degrees, the polarization direction of the linearly polarized light formed again when transmitting the third quarter-wave plate 224 is perpendicular to the polarization direction of the linearly polarized light formed when transmitting the first polarization element 213. And the polarization axis of the third polarization element 223 is perpendicular to the polarization axis of the first polarization element 213, so that the ambient light I1The polarization direction of the linearly polarized light re-formed while transmitting through the third quarter-wave plate 224 is parallel to the polarization axis of the third polarizer 223, and can continue to transmit through the third polarizer 223 and be transmitted to the second light sensor 24. Thus, the second light sensor 24 can receive the ambient light I1。
Light I generated by the light emitting layer 2112After sequentially passing through the second quarter-wave plate 222 and the second polarizer 221, the light is transmitted to the first light sensor 23. Wherein, the light ray I2When the light passes through the second quarter-wave plate 222, a set of light rays of linearly polarized light, circularly polarized light, and elliptically polarized light is formed, and half of the set of light rays can pass through the second polarization element 221 and be received by the first light sensor 23.
Light I generated by the light emitting layer 2112After sequentially passing through the third quarter-wave plate 224 and the third polarization element 223, the light is transmitted to the second light sensor 24. Wherein, the light ray I2When passing through the third quarter-wave plate 224, a set of linearly polarized light, circularly polarized light, and elliptically polarized light is formed, and half of the set of light can pass through the third polarization element 223 and be received by the second light sensor 24.
Therefore, the second light sensor 24 receives the light I2And the light I received by the first light sensor 232Are the same.
Thus, in the embodiment of the present application, the processor 30 may still calculate the ambient light intensity according to the following formula:
P=X2-X1
wherein P is the ambient light intensity, X1Is the first light intensity, X2Is the second light intensity.
Furthermore, the processor 30 may still calculate the ambient light chromaticity according to the following formula:
Q=Y2-Y1
wherein Q is the chromaticity of ambient light, Y1Is the first light chromaticity, Y, detected by the first light sensor 232Is the second chromaticity of light detected by the second light sensor 24.
Referring to fig. 7, fig. 7 is a cross-sectional view of an electronic device 100 provided in the embodiment of the present application. The housing 10 of the electronic device 100 includes a middle frame 11 and a rear cover 12.
The middle frame 11 may be a hollow frame structure. In some embodiments, the middle frame 11 may also be a thin plate-like or sheet-like structure. The middle frame 11 is used for providing a supporting function for the electronic devices or functional components of the electronic device 100, so as to mount the electronic devices or functional components of the electronic device 100 together. It is understood that the middle frame 11 may be provided with a groove, a protrusion, a through hole, etc. to facilitate mounting of the electronic device or the functional component of the electronic apparatus 100. For example, the middle frame 11 may be provided with a through hole 111, and the through hole 111 may be used for mounting a functional component and may also be used for allowing light to pass through. The material of the middle frame 11 may include metal, such as aluminum alloy, magnesium alloy, and the like, and the material of the middle frame 11 may also include plastic.
The rear cover 12 is connected to the middle frame 11. For example, the rear cover 12 may be connected to the middle frame 11 by means of bonding, clipping, or the like. The material of the rear cover 12 may include metal, such as aluminum alloy, magnesium alloy, etc., and the material of the rear cover 12 may also include plastic, glass, etc.
The rear cover 12 and the middle frame 11 form an accommodating space 13. The accommodating space 13 is used for installing electronic devices or functional components of the electronic device 100, for example, the accommodating space 13 may be used for installing a circuit board, a battery, and the like.
Wherein, the display screen 21 is arranged on the middle frame 11 to realize the installation and the fixation of the display screen 21.
The light adjusting component 22 is connected to the middle frame 11, the light adjusting component 22 is opposite to the through hole 111, and light passing through the through hole 111 can pass through the light adjusting component 22. For example, in some embodiments, the second polarizer 221 and the second quarter-wave plate 222 may be combined into a film, and the film is then adhered to the sidewall of the through hole 111. For another example, in some embodiments, the second polarization element 221, the second quarter-wave plate 222, the third polarization element 223, and the third quarter-wave plate 224 may be combined into a film, and the film is then adhered to the sidewall of the through hole 111.
The first light sensor 23, the second light sensor 24 and the light shielding member 25 may be disposed in the accommodating space 13.
The embodiment of the present application further provides a method for controlling an electronic device, which is applied to the electronic device 100 described in any of the above embodiments. The control method of the electronic equipment comprises the following steps:
acquiring a first light intensity including the intensity of light emitted from the display screen 21 by the first light sensor 23;
acquiring a second light intensity through a second light sensor 24, wherein the second light intensity comprises the intensity of light emitted by the display screen 21 and the intensity of ambient light transmitted through the display screen 21;
calculating the ambient light intensity according to the first light intensity and the second light intensity;
the electronic device 100 is controlled according to the ambient light intensity.
For calculating the ambient light intensity according to the first light intensity and the second light intensity, reference may be made to the description in each embodiment of the electronic device 100, which is not described herein again.
Controlling the electronic device 100 according to the ambient light intensity may include controlling the display brightness, the display color, and the like of the electronic device 100, and may further include controlling the display mode of the electronic device 100, for example, controlling the electronic device 100 to switch between a daytime display mode and a nighttime display mode according to the ambient light intensity.
In the electronic device 100 provided in the embodiment of the application, since the situations that the first light sensor 23 and the second light sensor 24 receive the ambient light are different, the first light sensor 23 is configured to receive the light emitted from the display 21, and the second light sensor 24 is configured to receive the light emitted from the display 21 and the ambient light passing through the display 21, so that the ambient light intensity and/or the ambient light chromaticity can be calculated according to the detection data of the first light sensor 23 and the second light sensor 24. Moreover, because the distance between the first light sensor 23 and the second light sensor 24 is very small, and the light shielding member 25 is arranged between the first light sensor 23 and the second light sensor 24, the occurrence of light mixing is avoided, the light generated in the area corresponding to the first light sensor 23 and the light generated in the area corresponding to the second light sensor 24 on the display screen 21 can be ensured to be the same as much as possible, the influence caused by the light emission of the display screen 21 when the ambient light is detected is eliminated, and therefore, the accuracy of ambient light detection can be improved. Therefore, when the electronic device 100 is controlled according to the intensity of the ambient light, the accuracy of control can be improved.
The display device, the electronic apparatus, and the control method of the electronic apparatus provided in the embodiments of the present application are described in detail above. The principles and implementations of the present application are described herein using specific examples, which are presented only to aid in understanding the present application. Meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.