Light sensing modules, chips, and electronic devices

By converting ambient light into photocurrent signals through a light-sensing module, infrared lights can be driven to achieve infrared remote control. This solves the cost problem caused by adding infrared remote control modules to electronic devices and avoids measurement errors.

CN224581935UActive Publication Date: 2026-07-31WUHAN JUXIN MICROELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
WUHAN JUXIN MICROELECTRONICS CO LTD
Filing Date
2025-07-11
Publication Date
2026-07-31

AI Technical Summary

Technical Problem

In existing technologies, adding infrared remote control functionality to electronic devices such as mobile phones requires an additional infrared remote control module, leading to increased costs.

Method used

Design a light-sensing module comprising an optoelectronic device, a signal processing circuit, and a driving circuit. The optoelectronic device converts ambient light into a photocurrent signal, and the driving circuit drives an infrared lamp to achieve infrared remote control functionality. Simultaneously, the optoelectronic device and the signal processing circuit cease operation while the driving circuit is working to avoid measurement errors.

Benefits of technology

This achieves reduced electronic device costs and avoids ambient light measurement errors during infrared remote control without adding an extra infrared remote control module.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224581935U_ABST
    Figure CN224581935U_ABST
Patent Text Reader

Abstract

This application provides a light-sensing module, a chip, and an electronic device. The light-sensing module has a driving port and includes: at least one optoelectronic device for converting ambient light into a photocurrent signal; a signal processing circuit connected to the optoelectronic device to process the photocurrent signal generated by the optoelectronic device; and a driving circuit connected to the driving port to control the voltage or current output by the driving port. The driving port is configured to connect to an infrared lamp, and the optoelectronic device and / or the signal processing circuit cease operation when the driving circuit is working. This application implements infrared remote control functionality by incorporating a driving circuit within the light-sensing module. Furthermore, since the light-sensing module does not measure ambient light when the infrared lamp emits infrared light, it also avoids measurement errors caused by the infrared light emitted by the infrared lamp.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of remote control technology, specifically to a light-sensing module, a chip, and an electronic device. Background Technology

[0002] Currently, infrared remote control is a technology that achieves wireless control through infrared light waves. Its core principle is that the transmitter sends a modulated infrared signal, and the receiver receives and decodes the signal, ultimately realizing the infrared remote control process of the corresponding device. Due to its significant advantages such as strong anti-interference ability and low power consumption, infrared remote control is widely used in home appliances, industrial control and other fields.

[0003] In related technologies, mobile phones typically do not have infrared remote control functionality. If infrared remote control functionality is required, an additional infrared remote control module is needed to send infrared light, which increases the cost of the mobile phone. Utility Model Content

[0004] This application provides a light sensing module, a chip, and an electronic device, aiming to solve the above-mentioned technical problems.

[0005] In a first aspect, this application provides a light sensing module, which has a driving port and includes:

[0006] At least one optoelectronic device for converting light from the environment into a photocurrent signal;

[0007] The signal processing circuit is connected to the optoelectronic device to process the photocurrent signal generated by the optoelectronic device.

[0008] The drive circuit is connected to the drive port to control the voltage or current output by the drive port.

[0009] The drive port is configured to connect to an infrared light.

[0010] In some embodiments, the optoelectronic devices and / or signal processing circuits cease operation when the driving circuit is in operation.

[0011] In some embodiments, at least one optoelectronic device includes a first photodiode;

[0012] The first photodiode is configured to detect ambient light and generate a first photocurrent, and the first photodiode stops working when the driving circuit is operating.

[0013] In some embodiments, at least one optoelectronic device includes a second photodiode;

[0014] The second photodiode is configured to detect flickering light and generate a second photocurrent, and the second photodiode stops working when the drive circuit is operating.

[0015] In some embodiments, at least one optoelectronic device includes a first photodiode and a second photodiode;

[0016] The first photodiode is configured to detect ambient light and generate a first photocurrent, and the second photodiode is configured to detect flickering light and generate a second photocurrent.

[0017] Furthermore, the first photodiode and the second photodiode cease operation when the driving circuit is working.

[0018] In some embodiments, the light sensing module further includes a first switch and a second switch;

[0019] The first end of the first switch is connected to the optoelectronic device, and the second end of the first switch is connected to the signal processing circuit.

[0020] The first end of the second switch is connected to the drive circuit, and the second end of the second switch is connected to the drive port.

[0021] The switching states of the first switch and the second switch are mutually exclusive.

[0022] In some embodiments, the signal processing circuitry includes a current integrator and an analog-to-digital converter;

[0023] The current integrator is connected to the optoelectronic device to integrate the photocurrent signal generated by the optoelectronic device and output the integrated voltage signal;

[0024] The analog-to-digital converter is connected to the current integrator to perform analog-to-digital conversion on the integrated voltage signal output by the current integrator and output a digital signal.

[0025] In some embodiments, the current integrator includes an operational amplifier, an integrating capacitor, and an integrating switch;

[0026] The inverting input of the operational amplifier is connected to the optoelectronic device, the non-inverting input of the operational amplifier is connected to the reference voltage, and the output of the operational amplifier is connected to the analog-to-digital converter.

[0027] The first terminal of the integrating capacitor is connected to the inverting input terminal of the operational amplifier, and the second terminal of the integrating capacitor is connected to the output terminal of the operational amplifier.

[0028] The first terminal of the integrating switch is connected to the inverting input terminal of the operational amplifier, and the second terminal of the integrating switch is connected to the output terminal of the operational amplifier.

[0029] In some embodiments, the light sensing module further includes a first-in-first-out memory;

[0030] The first-in-first-out (FIFO) memory is connected to the analog-to-digital converter (ADC) to store the data output by the ADC sequentially.

[0031] In some embodiments, the driving circuit includes a current source and a driving switch;

[0032] One end of the current source is connected to the ground terminal, the other end of the current source is connected to the first terminal of the drive switch, and the second terminal of the drive switch is connected to the drive port.

[0033] In a second aspect, this application provides an electronic device including a light-sensing module as described in the first aspect.

[0034] This application uses optoelectronic devices to convert ambient light into photocurrent signals, enabling signal processing circuits to process these signals and obtain data corresponding to ambient light (such as ambient light intensity and flicker frequency of a flashing light source), thereby realizing the ambient light measurement process of the light sensing module.

[0035] Because the photosensitive module has an internal drive circuit that can drive the infrared lamp, the emitted infrared light can achieve infrared remote control functionality. This means that there is no need to add an additional infrared remote control module to the electronic device to emit infrared light, thus reducing the cost of the electronic device. Furthermore, since the photoelectric device and / or signal processing circuit are not working when the drive circuit is operating, the photosensitive module does not measure ambient light when the infrared lamp emits infrared light. This also avoids measurement errors caused by the infrared light emitted by the lamp affecting ambient light. Attached Figure Description

[0036] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this utility model. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0037] Figure 1 A schematic diagram of an electronic device according to an embodiment of this application is shown;

[0038] Figure 2 This illustration shows a schematic diagram of a light-sensing module in an embodiment of this application;

[0039] Figure 3 Another schematic diagram of the light-sensing module in an embodiment of this application is shown;

[0040] Figure 4 Another schematic diagram of the light-sensing module in an embodiment of this application is shown;

[0041] Figure 5 Another schematic diagram of the light-sensing module in an embodiment of this application is shown;

[0042] Figure 6 Another schematic diagram of the light-sensing module in an embodiment of this application is shown;

[0043] Figure 7 Another schematic diagram of the light-sensing module in an embodiment of this application is shown;

[0044] Figure 8 Another schematic diagram of the light-sensing module in an embodiment of this application is shown;

[0045] Figure 9 Another schematic diagram of the light-sensing module in an embodiment of this application is shown;

[0046] Figure 10 Another schematic diagram of the light-sensing module in an embodiment of this application is shown;

[0047] Figure 11 Another schematic diagram of the light-sensing module in an embodiment of this application is shown;

[0048] Figure 12 Another schematic diagram of the light-sensing module in an embodiment of this application is shown.

[0049] Among them, there are 100 light-sensing modules, 200 infrared lights, 300 processors, and 400 memory modules;

[0050] 10 Optoelectronic devices, 20 Signal processing circuits, 21 Current integrators, 22 Analog-to-digital converters, 30 Drive circuits, 40 First-in-first-out memory;

[0051] Drive port LDR, first photodiode PD1, second photodiode PD2, first switch S1, second switch S2, operational amplifier OP, integrating capacitor CI, integrating switch SI, current source I0, drive switch SC. Detailed Implementation

[0052] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this utility model, and not all embodiments. Based on the embodiments of this utility model, all other embodiments obtained by those skilled in the art without creative effort are within the protection scope of this utility model.

[0053] In the description of this utility model, the term "exemplary" is used to mean "serving as an example, illustration, or description." Any embodiment described as "exemplary" in this application is not necessarily to be construed as being more preferred or advantageous than other embodiments. The following description is provided to enable any person skilled in the art to implement and use this utility model. Details are set forth in the following description for purposes of explanation. It should be understood that those skilled in the art will recognize that this utility model can be implemented without using these specific details. In other instances, well-known structures and processes will not be described in detail to avoid obscuring the description of this utility model with unnecessary detail. Therefore, this utility model is not intended to be limited to the embodiments shown, but is consistent with the broadest scope of the principles and features disclosed in this application.

[0054] This application provides a light sensing module, a chip, and an electronic device, which are described in detail below.

[0055] First, before introducing the light-sensing module in the embodiments of this application, let's first introduce the application scenarios of the light-sensing module in this application. (See also...) Figure 1 , Figure 1 A schematic diagram of an electronic device according to an embodiment of this application is shown, wherein the electronic device includes a light sensing module 100, an infrared lamp 200, a processor 300, and a memory 400.

[0056] Specifically, the infrared lamp 200 can emit infrared light to remotely control corresponding devices. For example, the infrared light emitted by the infrared lamp 200 can remotely control electric vehicles, drones, power tools, robots, home appliances, electric toys, etc. Among these, electric vehicles can be, but are not limited to, battery electric vehicles (BEVs), hybrid electric vehicles (HEVs), plug-in hybrid electric vehicles (PHEVs), range-extended electric vehicles (REEVs), or fuel cell electric vehicles (FCEVs); home appliances can include, but are not limited to, air conditioners, televisions, robot vacuums, floor scrubbers, window cleaners, etc.

[0057] For example, the infrared lamp 200 may be, but is not limited to, a through-hole infrared LED or a surface-mount infrared LED that emits infrared light.

[0058] The light sensor module 100 has a drive port (drive pin), and the infrared lamp 200 is electrically connected to the drive port so that the light sensor module 100 can control the infrared lamp 200 to emit an infrared light-emitting diode through the drive port. In some embodiments of this application, the light sensor module 100 may refer to a circuit module or chip in an electronic device that detects ambient light. The light sensor module 100 in the electronic device adjusts the screen brightness by detecting the intensity of ambient light to provide users with a comfortable visual experience and extend the service life of the device.

[0059] In some embodiments of this application, the light sensing module 100 may refer to a circuit module or chip in an electronic device that detects flickering light sources (such as AC fluorescent lamps, computer screens, etc.). The light sensing module 100 in the electronic device detects the flickering frequency of the flickering light source, and can then guide the camera module to set a reasonable exposure time based on the flickering frequency of the flickering light source, so as to avoid the shooting process being affected by the flickering light source.

[0060] It should be noted that in some possible embodiments, the light sensing module 100 can be disposed on the side of the electronic device away from the screen. For example, in embodiments where the light sensing module 100 refers to a circuit module in the electronic device that detects ambient light and / or flickering light sources, the light sensing module 100 can be disposed on the back of the electronic device and near the camera to accurately detect the intensity of ambient light and / or the flickering frequency of the flickering light source. In some possible embodiments, the light sensing module 100 can also be disposed on one side of the screen of the electronic device. For example, the light sensing module 100 can be disposed near the camera on the front of the electronic device (or inside the screen).

[0061] It is understood that the function of the light sensing module 100 in the above embodiments is singular. In some possible embodiments, the light sensing module 100 may also have the functions of detecting ambient light and detecting flickering light sources. For example, the light sensing module 100 may be equipped with two photodiodes, one of which is used to detect the intensity of ambient light and the other is used to detect the flickering frequency of the flickering light source.

[0062] The processor 300 is the control center of the electronic device. It connects various parts of the electronic device through various interfaces and lines. By running or executing software programs and / or modules stored in the memory 400, and calling data stored in the memory 400, it performs various functions of the electronic device and processes data, thereby monitoring the system as a whole.

[0063] For example, the processor 300 can send an infrared remote control transmission command to the light sensor module 100, causing the light sensor module 100 to enter the infrared remote control transmission working mode, so as to drive the infrared lamp 200 to emit infrared light through the drive port of the light sensor module 100. As another example, the processor 300 can send flicker light detection commands, ambient light detection commands, etc., to the light sensor module 100, causing the light sensor module 100 to be in flicker light detection working mode and ambient light detection working mode respectively, so as to detect the ambient light intensity and the flicker frequency of the flickering light source respectively.

[0064] For example, the processor 300 may include one or more processing cores; the processor 300 may be a central processing unit (CPU), or other general-purpose processor 300, digital signal processor 300 (DSP), application specific integrated circuit (ASIC), field-programmable gate array (FPGA), or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, etc.

[0065] The memory 400 can be used to store software programs and modules. The processor 300 executes various functional applications and data processing by running the software programs and modules stored in the memory 400. The memory 400 mainly includes a program storage area and a data storage area. The program storage area can store the operating system, application programs required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area can store data created based on the use of the optical sensing module, etc. In addition, the memory 400 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory may also include a memory controller to provide the processor 300 with access to the memory 400.

[0066] The light sensing module 100 in the embodiments of this application will now be described. Please refer to the following: Figure 2 , Figure 2 The diagram shows a schematic of a light sensing module 100 in an embodiment of this application. The light sensing module 100 has a drive port LDR for driving an infrared lamp 200. The light sensing module 100 includes at least one optoelectronic device 10, a signal processing circuit 20, and a drive circuit 30.

[0067] Specifically, the light sensor module 100 has an infrared remote control transmission mode and an ambient light detection mode. When the processor sends an infrared remote control transmission command to the light sensor module 100, the light sensor module 100 can enter the infrared remote control transmission mode to drive the infrared lamp 200 to emit infrared light through the drive port LDR of the light sensor module 100. When the processor sends an ambient light detection command to the light sensor module 100, the light sensor module 100 can enter the ambient light detection mode to detect ambient light parameters (such as ambient light intensity or the flicker frequency of the flashing light source) through the photoelectric device 10 of the light sensor module 100.

[0068] The optoelectronic device 10 is configured to receive light from the environment (e.g., ambient light or light from a flashing light source) in an ambient light detection mode, so as to continuously convert the light from the environment into an electrical signal, so that the signal processing circuit 20 detects the electrical signal and obtains ambient light data (e.g., ambient light intensity or flashing frequency of a flashing light source).

[0069] In some embodiments of this application, for example, where the light sensing module 100 refers to an embodiment of a circuit module in an electronic device that detects ambient light, the optoelectronic device 10 may refer to a photodiode that detects the intensity of ambient light. In some embodiments of this application, for example, where the light sensing module 100 refers to an embodiment of a circuit module in an electronic device that detects flickering light sources (e.g., AC fluorescent lamps, computer screens, etc.), the optoelectronic device 10 may refer to a photodiode that detects flickering light sources.

[0070] It is understood that at least one optoelectronic device 10 may also include a photodiode for detecting the intensity of ambient light and a photodiode for detecting a flickering light source.

[0071] The signal processing circuit 20 is connected to the photoelectric device 10. The signal processing circuit 20 is configured to process the photocurrent signal output by the photoelectric device 10 in an ambient light detection mode to obtain ambient light data (e.g., ambient light intensity or the flicker frequency of a flashing light source). For example, the signal processing circuit 20 may include a current integrator, a signal amplifier, an analog-to-digital converter, etc. The current integrator can integrate the photocurrent signal output by the photodiode and output a voltage signal. The signal amplifier can amplify the voltage signal to reduce the signal-to-noise ratio. The analog-to-digital converter 22 can convert the amplified voltage signal into a digital signal. After the conversion, the ambient light data can be obtained.

[0072] The drive circuit 30 is connected to the drive port LDR so that the drive circuit 30 can control the voltage or current output by the drive port LDR, thereby driving the infrared lamp 200 to emit infrared light and realize the infrared remote control function. Generally, the drive circuit 30 can receive infrared remote control data from the processor through the general purpose input / output port GIPO, so that the drive circuit 30 can control the voltage or current output by the drive port LDR according to the infrared remote control data.

[0073] It is understandable that the remote control data of the processor can first be sent to the digital circuit of the light sensor module 100, and then forwarded by the digital circuit to the drive circuit 30, and the drive circuit 30 controls the voltage or current output by the drive port LDR.

[0074] In some embodiments of this application, the driving circuit 30 may include a constant voltage driving circuit 30 connected to the driving port LDR. Infrared remote control data can control the operation of the constant voltage driving circuit 30, causing the voltage output of the driving port LDR to change, thereby driving the infrared lamp 200 to emit infrared light. For example, the constant voltage driving circuit 30 may include a voltage source and a switching transistor. The infrared remote control data, via a push-pull circuit, can control the switching transistor to turn on and off, thereby changing the voltage output of the driving port LDR.

[0075] In some embodiments of this application, the driving circuit 30 may include a constant current driving circuit connected to the driving port LDR. The infrared remote control data can control the operation of the constant current driving circuit, causing the current output by the driving port LDR to change, thereby driving the infrared lamp 200 to emit infrared light. Simultaneously, since the infrared lamp 200 emits infrared light in constant current control mode, it ensures that the brightness and chromaticity of the infrared lamp 200 remain consistent, and avoids the driving current exceeding the maximum rated value of the infrared lamp 200.

[0076] For example, the constant current drive circuit may include a current source and a switching transistor. The infrared remote control data can be controlled by the push-pull circuit to turn the switching transistor on and off, thereby changing the current output of the drive port LDR.

[0077] In this embodiment, the photoelectric device 10 converts light from the environment into a photocurrent signal, so that the signal processing circuit 20 can process the photocurrent signal generated by the photoelectric device 10 to obtain data corresponding to the ambient light (e.g., ambient light intensity, flicker frequency of the flickering light source), thereby realizing the ambient light measurement process of the light sensing module 100.

[0078] Since the light sensor module 100 has an internal drive circuit 30, which can drive the infrared lamp 200, the infrared light emitted by the infrared lamp 200 can realize infrared remote control function. This means that there is no need to add an additional infrared remote control module to the electronic device to send infrared light, thus helping to reduce the cost of the electronic device. At the same time, since the photoelectric device 10 and / or the signal processing circuit 20 stop working when the drive circuit 30 is working, this means that the light sensor module 100 does not measure the light from the environment when the infrared lamp 200 emits infrared light. Therefore, it can also avoid the measurement error of ambient light caused by the infrared light emitted by the infrared lamp 200.

[0079] In some embodiments of this application, see Figure 3 , Figure 3Another schematic diagram of the light-sensing module 100 in an embodiment of this application is shown, wherein at least one optoelectronic device 10 includes a first photodiode PD1; the first photodiode PD1 is configured to detect ambient light and generate a first photocurrent, and the first photodiode PD1 stops working when the driving circuit 30 is working. That is, the optoelectronic device 10 can refer to the first photodiode PD1 that detects ambient light. When the driving circuit 30 is working and causes the infrared lamp 200 to emit infrared light, the first photodiode PD1 stops working and does not generate the first photocurrent or measure the ambient light intensity, thereby avoiding the phenomenon of ambient light intensity measurement error caused by infrared light.

[0080] In some embodiments of this application, see Figure 4 , Figure 4 Another schematic diagram of the light-sensing module 100 in an embodiment of this application is shown, wherein at least one optoelectronic device 10 includes a second photodiode PD2; the second photodiode PD2 is configured to detect flickering light and generate a second photocurrent, and the second photodiode PD2 stops working when the driving circuit 30 is working. That is, the optoelectronic device 10 can also refer to the second photodiode PD2 that detects flickering light. When the driving circuit 30 is working and causes the infrared lamp 200 to emit infrared light, the second photodiode PD2 stops working and does not generate a second photocurrent or measure the flickering frequency of the ambient light flickering light, thereby avoiding the phenomenon of flickering frequency measurement error caused by infrared light.

[0081] In some embodiments of this application, see Figure 5 , Figure 5 Another schematic diagram of the light-sensing module 100 in an embodiment of this application is shown, wherein at least one optoelectronic device 10 includes a first photodiode PD1 and a second photodiode PD2; the first photodiode PD1 is configured to detect ambient light and generate a first photocurrent, and the second photodiode PD2 is configured to detect flickering light and generate a second photocurrent; and the first photodiode PD1 and the second photodiode PD2 stop working when the driving circuit 30 is working. That is to say, the optoelectronic device 10 can also refer to the first photodiode PD1 for detecting ambient light and the second photodiode PD2 for detecting flickering light. When the driving circuit 30 is working and causes the infrared lamp 200 to emit infrared light, both the first photodiode PD1 and the second photodiode PD2 stop working, thereby avoiding the phenomenon that infrared light causes measurement errors in ambient light intensity and flickering frequency.

[0082] In some embodiments of this application, see Figure 6 , Figure 6Another schematic diagram of the light sensing module 100 in an embodiment of this application is shown, wherein the light sensing module 100 further includes a first switch S1 and a second switch S2; the first end of the first switch S1 is connected to the optoelectronic device 10, and the second end of the first switch S1 is connected to the signal processing circuit 20; the first end of the second switch S2 is connected to the driving circuit 30, and the second end of the second switch S2 is connected to the driving port LDR.

[0083] It should be noted that the switching states of the first switch S1 and the second switch S2 are mutually exclusive. For example, when the first switch S1 is closed, the second switch S2 is open. At this time, the signal processing circuit 20 can normally process the photocurrent signal output by the photoelectric device 10 to measure the ambient light, while the driving circuit 30 cannot output an electrical signal to the driving port LDR. Therefore, the infrared lamp 200 connected to the driving port LDR will not send infrared light, thus avoiding the phenomenon of ambient light measurement error caused by infrared light. Conversely, when the first switch S1 is open, the second switch S2 is closed. At this time, the signal processing circuit 20 cannot process the photocurrent signal output by the photoelectric device 10 to measure the ambient light, while the driving circuit 30 can normally output an electrical signal to the driving port LDR. Therefore, the infrared lamp 200 connected to the driving port LDR can normally send infrared light, thus realizing the infrared remote control function.

[0084] In some embodiments of this application, see Figure 7 , Figure 7 Another schematic diagram of the light sensing module 100 in this embodiment is shown, wherein the signal processing circuit 20 includes a current integrator 21 and an analog-to-digital converter 22. The current integrator 21 is connected to the optoelectronic device 10, and the analog-to-digital converter 22 is connected to the current integrator 21. Specifically, the current integrator 21 can integrate the photocurrent signal generated by the optoelectronic device 10 and output an integrated voltage signal. The analog-to-digital converter 22 can perform analog-to-digital conversion on the integrated voltage signal output by the current integrator 21 and output a digital signal Dout. Therefore, ambient light data can be obtained through the current integrator 21 and the analog-to-digital converter 22.

[0085] As an example, see Figure 8 , Figure 8Another schematic diagram of the light sensing module 100 in this embodiment is shown, wherein the current integrator 21 includes an operational amplifier OP, an integrating capacitor CI, and an integrating switch SI; the inverting input terminal of the operational amplifier OP is connected to the optoelectronic device 10, the non-inverting input terminal of the operational amplifier OP is connected to the reference voltage Vref, and the output terminal of the operational amplifier OP is connected to the analog-to-digital converter 22; the first terminal of the integrating capacitor CI is connected to the inverting input terminal of the operational amplifier OP, and the second terminal of the integrating capacitor CI is connected to the output terminal of the operational amplifier OP; the first terminal of the integrating switch SI is connected to the inverting input terminal of the operational amplifier OP, and the second terminal of the integrating switch SI is connected to the output terminal of the operational amplifier OP.

[0086] It should be noted that the operational amplifier OP, the integrating capacitor CI, and the integrating switch SI constitute a current integrating circuit. During the process of the photocurrent signal generated by the photodiode 10, the integrating capacitor CI provides current to the photodiode 10, thereby changing the charge signal accumulated in the integrating capacitor CI. Therefore, the voltage at the second terminal of the integrating capacitor CI (i.e., the output terminal of the operational amplifier OP) changes. By measuring the voltage at the output terminal of the operational amplifier OP through the analog-to-digital converter 22, the magnitude of the photocurrent signal can be calculated. Since the magnitude of the photocurrent signal of the photodiode is positively correlated with the light intensity, information such as the intensity of ambient light and the change in the intensity of ambient light (i.e., the flicker frequency of ambient light) can be obtained.

[0087] In some embodiments of this application, see Figure 9 , Figure 9 Another schematic diagram of the light sensing module 100 in this embodiment is shown. The light sensing module 100 also includes a first-in-first-out (FIFO) memory 40, which is connected to the analog-to-digital converter 22 to store the data output by the analog-to-digital converter 22 in sequence. After the processor reads the data stored in the FIFO memory 40, it can calculate the intensity of ambient light, the flicker frequency of ambient light, etc.

[0088] In some embodiments of this application, see Figure 10 , Figure 10 Another schematic diagram of the light-sensing module 100 in this embodiment is shown, wherein the driving circuit 30 includes a current source I0 and a driving switch SC; one end of the current source I0 is connected to the ground terminal, the other end of the current source I0 is connected to the first terminal of the driving switch SC, and the second terminal of the driving switch SC is connected to the driving port LDR. Specifically, the control terminal of the driving switch SC can be connected to the general purpose input / output port GIPO, and the control signal input to the input / output port GIPO can control the driving switch SC to close or open, thereby changing the current of the driving port LDR, so as to control the infrared lamp 200 to work through the current output of the driving port LDR.

[0089] As a specific exemplary embodiment of this application, see [reference]. Figure 11 , Figure 11 Another schematic diagram of the light sensing module 100 in this embodiment is shown, wherein at least one optoelectronic device 10 includes a photodiode ALS PD for measuring ambient light intensity, a photodiode Wideband PD for measuring proximity light, and a photodiode Flicker PD for measuring flicker light. The signal processing circuit 20 processes the signal to obtain data ALS Readout0 corresponding to ambient light intensity, data ALS Readout1 corresponding to proximity light, and data Flicker Readout corresponding to flicker light. The digital circuit Digital, which includes a first-in-first-out memory 40, can send a control signal Control to the signal processing circuit 20 and read data Data. The digital circuit Digital sends data to the processor through interfaces SCL, SDA, and INT. Meanwhile, the light sensing module 100 may also include a power management circuit PMU and a clock circuit Oscillator for outputting a clock.

[0090] In addition Figure 11 In the process, when the first switch S1 is closed and the second switch S2 is open, the processor can normally read the data of the photosensitive module 100 through the interfaces SCL, SDA, and INT. However, when the first switch S1 is open and the second switch S2 is closed, the processor cannot read the data of the photosensitive module 100 through the interfaces SCL, SDA, and INT. At the same time, the drive circuit can drive the infrared lamp through the interface INT, thereby realizing the infrared remote control function. It can be seen that the interface INT is multiplexed as the drive port LDR, so the photosensitive module 100 does not need to be set with an independent drive port LDR.

[0091] It is worth noting that the above description of the light sensing module 100 is intended to clearly illustrate the implementation and verification process of this application. Those skilled in the art can make equivalent modifications under the guidance of this application. For example, the driving circuit 30 may also include a push-pull circuit to control the driving switch SC through the voltage signal output by the push-pull circuit; or, for example, see [reference needed]. Figure 12 , Figure 12 Another schematic diagram of the light sensing module 100 in an embodiment of this application is shown, wherein the driving module 100 may also be provided with a separate driving port LDR for driving infrared lamps.

[0092] This application also provides a chip, which includes the aforementioned light-sensing module 100. A chip (Integrated Circuit, IC) is also called a chip, and this chip can be, but is not limited to, a System-on-Chip (SoC) chip or a System-in-Package (SIP) chip. Since the chip of this application includes the light-sensing module 100 described in the above embodiments, it possesses all the beneficial effects of the light-sensing module 100 in the above embodiments, which will not be repeated here.

[0093] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the detailed descriptions of other embodiments above, which will not be repeated here.

[0094] The basic concepts have been described above. Obviously, for those skilled in the art, the detailed disclosure above is merely illustrative and does not constitute a limitation of this application. Although not explicitly stated herein, those skilled in the art may make various modifications, improvements, and corrections to this application. Such modifications, improvements, and corrections are suggested in this application, and therefore remain within the spirit and scope of the exemplary embodiments of this application.

[0095] Furthermore, this application uses specific terms to describe embodiments of the application. For example, "an embodiment," "one embodiment," and / or "some embodiments" refer to a particular feature, structure, or characteristic associated with at least one embodiment of the application. Therefore, it should be emphasized and noted that "an embodiment," "one embodiment," or "an alternative embodiment" mentioned twice or more in different locations in this specification do not necessarily refer to the same embodiment. In addition, certain features, structures, or characteristics in one or more embodiments of the application can be appropriately combined.

[0096] The foregoing has provided a detailed description of a light-sensing module, chip, and electronic device provided in the embodiments of this application. Specific examples have been used to illustrate the principles and implementation methods of this utility model. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of this utility model. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this utility model. Therefore, the content of this specification should not be construed as a limitation of this utility model.

Claims

1. A light sensing module, comprising: The light sensing module has a driving port, and the light sensing module includes: At least one optoelectronic device for converting light from the environment into a photocurrent signal; A signal processing circuit, connected to the optoelectronic device, is provided to process the photocurrent signal generated by the optoelectronic device. A driving circuit is connected to the driving port to control the voltage or current output by the driving port. The drive port is configured to connect to an infrared lamp.

2. The light-sensing module of claim 1, wherein, When the driving circuit is working, the optoelectronic device and / or the signal processing circuit stop working.

3. The light-sensing module of claim 1, wherein, At least one of the optoelectronic devices includes a first photodiode; The first photodiode is configured to detect ambient light and generate a first photocurrent, and the first photodiode stops working when the driving circuit is in operation.

4. The light-sensing module of claim 1, wherein, At least one of the optoelectronic devices includes a second photodiode; The second photodiode is configured to detect flickering light and generate a second photocurrent, and the second photodiode stops working when the driving circuit is operating.

5. The light-sensing module of claim 1, wherein, At least one of the optoelectronic devices includes a first photodiode and a second photodiode; The first photodiode is configured to detect ambient light and generate a first photocurrent, and the second photodiode is configured to detect flicker light and generate a second photocurrent. Furthermore, when the driving circuit is working, the first photodiode and the second photodiode stop working.

6. The light-sensing module of claim 1, wherein, The light-sensing module also includes a first switch and a second switch; The first end of the first switch is connected to the optoelectronic device, and the second end of the first switch is connected to the signal processing circuit. The first end of the second switch is connected to the driving circuit, and the second end of the second switch is connected to the driving port; The switching states of the first switch and the second switch are mutually exclusive.

7. The light-sensing module of claim 1, wherein, The signal processing circuit includes a current integrator and an analog-to-digital converter. The current integrator is connected to the photoelectric device to integrate the photocurrent signal generated by the photoelectric device and output an integrated voltage signal. The analog-to-digital converter is connected to the current integrator to perform analog-to-digital conversion on the integrated voltage signal output by the current integrator and output a digital signal.

8. The light-sensing module of claim 7, wherein, The current integrator includes an operational amplifier, an integrating capacitor, and an integrating switch; The inverting input terminal of the operational amplifier is connected to the optoelectronic device, the non-inverting input terminal of the operational amplifier is connected to a reference voltage, and the output terminal of the operational amplifier is connected to the analog-to-digital converter. The first terminal of the integrating capacitor is connected to the inverting input terminal of the operational amplifier, and the second terminal of the integrating capacitor is connected to the output terminal of the operational amplifier. The first terminal of the integrating switch is connected to the inverting input terminal of the operational amplifier, and the second terminal of the integrating switch is connected to the output terminal of the operational amplifier.

9. The light-sensing module of claim 8, wherein, The light sensing module also includes a first-in-first-out memory; The first-in-first-out (FIFO) memory is connected to the analog-to-digital converter (ADC) to store the data output by the ADC sequentially.

10. The light-sensing module of claim 1, wherein, The driving circuit includes a current source and a driving switch; One end of the current source is connected to the ground terminal, the other end of the current source is connected to the first terminal of the drive switch, and the second terminal of the drive switch is connected to the drive port.

11. A chip, characterized by Includes the light-sensing module as described in any one of claims 1 to 10.

12. An electronic device, comprising: Includes the chip as described in claim 11 above.