CN102322875B - Visible light sensor - Google Patents
Visible light sensor Download PDFInfo
- Publication number
- CN102322875B CN102322875B CN 201110218076 CN201110218076A CN102322875B CN 102322875 B CN102322875 B CN 102322875B CN 201110218076 CN201110218076 CN 201110218076 CN 201110218076 A CN201110218076 A CN 201110218076A CN 102322875 B CN102322875 B CN 102322875B
- Authority
- CN
- China
- Prior art keywords
- circuit
- current
- output
- input
- signal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Photometry And Measurement Of Optical Pulse Characteristics (AREA)
Abstract
本发明公开了一种可见光传感器,主要解决现有技术无法有效抑制红外光,受暗电流和噪声影响,精度不高的问题,包括环境光检测电路(1),红外光检测电路(2),电流控制电路(3),模数转换电路(4),时序控制电路(5),基准电压产生电路(6),基准电流产生电路(7)和数据存储电路(8),环境光检测电路将检测的光信号转换为电流信号与由红外光检测光信号所转换的电流信号经电流控制电路进行运算,将运算结果输出到模数转换电路,模数转换电路将转换结果通过数据存储电路送入到外部微处理器,时序控制电路为所有电路提供时序控制信号。本发明拥有两个量程,能有效抑制红外光,消去暗电流,滤除人工光源中的闪烁噪声,主要响应可见光,可应用于电子产品的智能控制中。
The invention discloses a visible light sensor, which mainly solves the problem that the existing technology cannot effectively suppress infrared light, is affected by dark current and noise, and has low precision. It includes an ambient light detection circuit (1), an infrared light detection circuit (2), A current control circuit (3), an analog-to-digital conversion circuit (4), a timing control circuit (5), a reference voltage generation circuit (6), a reference current generation circuit (7) and a data storage circuit (8), and the ambient light detection circuit will The detected optical signal is converted into a current signal and the current signal converted by the infrared light detection optical signal is operated by the current control circuit, and the operation result is output to the analog-to-digital conversion circuit, and the analog-to-digital conversion circuit sends the conversion result to the data storage circuit. To the external microprocessor, the timing control circuit provides timing control signals for all circuits. The invention has two measuring ranges, can effectively suppress infrared light, eliminate dark current, filter flicker noise in artificial light sources, mainly respond to visible light, and can be applied to intelligent control of electronic products.
Description
技术领域 technical field
本发明属于电子器件技术领域,涉及光传感器,可用于电脑、移动电话、平板电脑和PDA等便携设备及电视等设备的智能控制中。The invention belongs to the technical field of electronic devices and relates to a light sensor, which can be used in the intelligent control of portable devices such as computers, mobile phones, tablet computers and PDAs, and televisions.
背景技术 Background technique
近年来,液晶显示器LCD的发展突飞猛进,在平板显示领域的地位举足轻重。以液晶显示器件为显示屏的电视、电脑、移动电话和平板电脑已得到广泛的使用。LCD是一种调制灯或环境光的光阀显示,它本身不发光,只反射或透射外界光线。反射式LCD的亮度低,色域差,用于低功率场合,例如手表等,不适用与电视、电脑、移动电话和平板电脑的显示,一般使用透射式。在这些场合使用LCD当显示器时,必须给LCD加背光源以增强对比度。In recent years, the development of liquid crystal display (LCD) has advanced by leaps and bounds, and it plays a decisive role in the field of flat panel display. Televisions, computers, mobile phones, and tablet computers using liquid crystal display devices as display screens are widely used. LCD is a light valve display that modulates lamp or ambient light. It does not emit light itself, but only reflects or transmits external light. Reflective LCD has low brightness and poor color gamut, and is used in low-power applications, such as watches, etc. It is not suitable for the display of TVs, computers, mobile phones and tablet computers, and transmissive LCDs are generally used. When using LCD as a display in these occasions, it is necessary to add a backlight to the LCD to enhance the contrast.
环境光照水平对于用于调制光源的显示装置的性能具有很大的影响。同时上述应用中许多为便携装置,需通过电池供电,通常这些装置的主要耗电对象是显示装置,人们已经认识到,通过使用光传感器的信息来修改显示器的操作,改善显示器的性能。当环境光较高时,提高背光亮度以增加对比度,当环境光亮度较低时,减少背光亮度。Ambient light levels have a great influence on the performance of display devices used to modulate light sources. While many of the above applications are portable devices that need to be powered by batteries, usually the main power consumption object of these devices is the display device. It has been recognized that the operation of the display can be modified by using the information of the light sensor to improve the performance of the display. When the ambient light is high, increase the brightness of the backlight to increase the contrast, and when the ambient light is low, reduce the brightness of the backlight.
环境光源中主要含有可见光和红外光,不同环境光源中两者光功率密度存在很大差异,而其中只有可见光对人们观看显示器有影响,希望得到近似人眼主要响应可见光的光传感器。而现有的环境光传感器,对环境光中的红外光的抑制程度不高;环境光传感器中含有的光电二极管PD都存在自身产生暗电流的问题,暗电流受电压影响较大,由于暗电流与光电流无法区分,将导致结果不准确;在人工光源中,环境光传感器还受50Hz/60Hz闪烁噪声的影响,以上因素影响了环境光传感器对可见光的响应精度,从而影响了环境光传感器在LCD背光系统中对背光亮度的调节效果,降低了人们在不同环境光中观看LCD的效果。Ambient light sources mainly contain visible light and infrared light. There are great differences in the optical power density of the two in different environmental light sources, and only visible light has an impact on people watching the display. It is hoped to obtain a light sensor that is similar to the human eye mainly responding to visible light. However, the existing ambient light sensor does not suppress the infrared light in the ambient light to a high degree; the photodiode PD contained in the ambient light sensor has the problem of generating dark current by itself, and the dark current is greatly affected by the voltage. Indistinguishable from photocurrent, which will lead to inaccurate results; in artificial light sources, the ambient light sensor is also affected by 50Hz/60Hz flicker noise, the above factors affect the response accuracy of the ambient light sensor to visible light, thus affecting the ambient light sensor in The effect of adjusting the brightness of the backlight in the LCD backlight system reduces the effect of people watching the LCD in different ambient light.
发明内容 Contents of the invention
本发明的目的在于避免上述技术的不足,提供一种可见光传感器,以有效抑制红外光,消去光电二极管自身产生的暗电流,抑制人工光源中存在着50Hz/60Hz闪烁噪声,提高线性度高和精度,实现在不同环境光中近似人眼对可见光的响应程度。The purpose of the present invention is to avoid the deficiencies of the above-mentioned technologies, and provide a visible light sensor to effectively suppress infrared light, eliminate the dark current generated by the photodiode itself, suppress the 50Hz/60Hz flicker noise in the artificial light source, and improve the linearity and precision. , to approximate the response of the human eye to visible light in different ambient light.
为实现上述目的,本发明包括:To achieve the above object, the present invention includes:
环境光检测电路1,用于将检测到的环境光转换成电流信号I2,输出到电流控制电路3;The ambient
红外光检测电路2,用于将检测到的环境光的红外光转换成电流信号I1,输出到电流控制电路3;The infrared light detection circuit 2 is used to convert the detected infrared light of the ambient light into a current signal I 1 and output it to the
电流控制电路3,主要由电流镜像电路31,第一开关电路32,第一稳压电路33,第二开关电路34和第二稳压电路35组成;第一稳压电路33采用三层共源共栅结构,将输入的两路电流I2和I1输出到第一开关电路32;第二开关电路34接收基准电流产生电路7输出的电流IREF,通过开关分时导通,输出两路电流I6和I7分别给第一开关电路32和第二稳压电路35;第一开关电路32将接收的电流I1输出到电流镜像电路31,电流镜像电路31将输入电流I1通过两个镜像管镜像输出电流I3反馈给第一开关电路32,输入电流I1与镜像电流I3在两个镜像管内分时转换,以减小因镜像管MP1和MP2不对称所引起的误差;第一开关电路32与时序控制电路5输出的第五控制信号Mode_set连接,当Mode_set为高时,将电流I3输出到第二稳压电路35,当Mode_set为低时,第一开关电路32对输入的三路电流I2、I3和I6进行减法运算,得到采样/量化电流I0输出给模数转换电路4;第二稳压电路35用于对第一开关电路32和第二开关电路34进行稳压和降低开关噪声;The
模数转换电路4,用于将电流控制电路3输入的电流信号I0转换成数字信号输出给数据存储电路8,与时序控制电路5的第二输出信号CTRL2连接,使本传感器在两个量程之间转换,同时抑制人工光源产生的50Hz/60Hz闪烁噪声;The analog-to-digital conversion circuit 4 is used to convert the current signal I0 input by the
准电压产生电路6,分别与电流控制电路3和模数转换电路4的电压输入端连接,为其提供基准电压;The quasi-voltage generation circuit 6 is connected with the voltage input terminals of the
基准电流产生电路7,与电流控制电路3的电流输入端连接,为其提供基准电流;A reference current generating circuit 7 is connected to the current input terminal of the
时序控制电路5,分别与电流控制电路3,模数转换电路4和数据存储电路8的输入端连接,为它们提供不同的时序控制信号。The timing control circuit 5 is respectively connected to the input ends of the
数据存储电路8,用于将模数转换电路4输入的数字信号进行储存,同时输出给外部电路。The
本发明与现有技术相比具有如下优点:Compared with the prior art, the present invention has the following advantages:
(1)本发明在电流控制电路中采用三层共源共栅结构的稳压电路,屏蔽了上层电路电压变化对环境光检测电路和红外光检测电路电压的影响,给其电路中的光电二极管提供近似一样的电压,使其自身产生的暗电流一样,通过电流控制电路,将两路相等的暗电流相减,从而消去暗电流。(1) The present invention adopts the voltage stabilizing circuit of three-layer cascode structure in the electric current control circuit, has shielded the impact of upper stratum circuit voltage change on ambient light detection circuit and infrared light detection circuit voltage, to the photodiode in its circuit Provide approximately the same voltage, so that the dark current generated by itself is the same, and the two equal dark currents are subtracted by the current control circuit, thereby eliminating the dark current.
(2)本发明的电流控制电路中电流镜像在时序控制下,在上半周期和下半周期内,将镜像电流在两个镜像管内转换,通过模数转换电路在一个周期内进行积分,消去由实际电路中镜像管的不对称引起的误差,提高了精度。(2) In the current control circuit of the present invention, the current mirror image is under timing control, and in the first half cycle and the second half cycle, the mirror current is converted in two mirror tubes, integrated in one cycle by the analog-to-digital conversion circuit, and eliminated The error caused by the asymmetry of the mirror tube in the actual circuit improves the accuracy.
(3)本发明中的模数转换电路能抑制人工光源产生的50Hz/60Hz闪烁噪声,实现在不同环境光中近似人眼对可见光的响应程度。(3) The analog-to-digital conversion circuit in the present invention can suppress the 50Hz/60Hz flicker noise generated by artificial light sources, and realize the response degree of human eyes to visible light in different ambient lights.
附图说明 Description of drawings
图1为本发明的可见光传感器结构框图;Fig. 1 is a structural block diagram of a visible light sensor of the present invention;
图2为本发明中的电流控制电路框图;Fig. 2 is a block diagram of a current control circuit in the present invention;
图3为本发明的环境光检测电路,红外光检测电路和电流控制电路原理图;Fig. 3 is ambient light detection circuit of the present invention, infrared light detection circuit and electric current control circuit schematic diagram;
图4为本发明中的模数转换电路原理图。Fig. 4 is a schematic diagram of the analog-to-digital conversion circuit in the present invention.
具体实施方式 Detailed ways
以下参照附图对本发明作进一步详细描述。The present invention will be described in further detail below with reference to the accompanying drawings.
参考图1,本发明的可见光传感器,主要包括环境光检测电路1,红外光检测电路2,电流控制电路3,模数转换电路4,时序控制电路5,基准电压产生电路6,基准电流产生电路7,数据存储电路8,其中环境光检测电路1由64个涂有绿色滤波镀膜的光电二极管单元构成,环境光检测电路1将检测到的环境光即可见光和红外光转换为电流信号输出到电流控制电路3;红外光检测电路2由64个涂有绿色和红色滤波镀膜的光电二极管单元构成,红外光检测电路2将检测到的红外光转换为电流信号输出到电流控制电路3。电流控制电路3对环境光检测电路1与红外光检测电路2输出的电流进行运算,输出采样/量化电流到模数转换电路4,模数转换电路4对其进行数字化,同时将数字化结果输入到数据存储电路8。数据存储电路8的十二位输出数据送入到外部的微处理器,该数据存储电路8的十二位输出数据能指示当前环境光中的照度即可见光的强弱,为实现微处理器对电子产品的智能控制提供数据依据。基准电压产生电路6分别与电流控制电路3和模数转换电路4的电压输入端连接,为其提供基准电压。基准电流产生电路7与电流控制电路3电流输入端连接,为其提供基准电流。时序控制电路5输出十个数字信号,分别与电流控制电路3,模数转换电路4和数据存储电路8的输入端连接,为它们提供不同的时序控制信号。Referring to Fig. 1, the visible light sensor of the present invention mainly includes an ambient
以下对本发明各单元电路结构进行详细描述:Each unit circuit structure of the present invention is described in detail below:
参考图2,本发明的电流控制电路3,包括电流镜像电路31,第一开关电路32,第一稳压电路33,第二开关电路34,第二稳压电路35组成;第一稳压电路32的电压输入端和电流电流输入端分别与基准电压产生电路6的第二基准电压VREF2、环境光检测电路1的输出电流I2、红外光检测电路2的输出电流I1连接,并将这两个检测电路的输出电流I2和I1再输出到第一开关电路,同时屏蔽上级电路对环境光检测电路1和红外光检测电路2的电压影响,使环境光检测电路1和红外光检测电路2有相同的电压,从而使两路检测电路所含光电二极管自身产生的暗电流一样;第二开关电路34的电流输入端和时序控制端分别与基准电流产生电路7的基准电流IREF和模数转换电路4的输出控制信号Enable连接,分别输出电流I6和I7,其中IREF=50nA;该输出电流I6连接到第一开关电路10,输出电流I7连接到第二稳压电路35;电流镜像电路31的电压输入端和时序控制输入端分别与基准电压产生电路6的第一基准电压VREF1和时序控制电路5的第六控制端CLK2连接,第一开关电路32将接收的电流I1输出到电流镜像电路31,电流镜像电路31将输入电流I1通过两个镜像管镜像后输出电流I3反馈给第一开关电路32,所述输入电流I1与镜像电流I3在两个镜像管内分时转换,以减小因镜像管MP1和MP2不对称所引起的误差;第一开关电路32的时序控制端与时序控制电路5的第五控制信号Mode_set连接,当该Mode_set为1时,第一开关电路32将电流I3输出到第二稳压电路35,当该Mode_set为0时,第一开关电路32对输入的电流信号I2、I3和I6进行运算,此时,当模数转换电路4的输出控制信号Enable为0时,I6=0,I5=IREF,第一开关电路32输出电流I0=I2-I3,此时I0为采样电流,当Enable为1时,I6=IREF,I5=0,第一开关电路32输出电流I0=I6-(I2-I3)=IREF-(I2-I3),此时I0为量化电流,第一开关电路32将输出电流I0连接到模数转换电路4;第二稳压电路35的电压输入端和电流输入端分别与基准电压产生电路6输出的第二基准电压VREF2、第一开关电路32的输出电流I3、第二开关电路12的输出电流I7连接,对第一开关电路32和第二开关电路34进行稳压和降低开关噪声。With reference to Fig. 2,
所述电流镜像电路31的结构如图3所示,它包括第一反相器INV1,第二反相器INV2和PMOS管MP1~MP8;第一反相器INV1的输入端与时序控制电路5的第六控制信号CLK2连接;第二反相器INV2的输入端与第一反相器INV1的输出端连接;PMOS管MP1和MP2为镜像管,其源端与电源VDD连接,栅端与PMOS管MP7的漏端连接,漏端分别与PMOS管MP3~MP4和PMOS管MP5~MP6的源端连接;PMOS管MP7和MP8的源端分别与MP3、MP4和MP4、MP5的漏端连接,其栅端与基准电压产生电路6的第一基准电压VREF1连接,漏端分别与输入电流I2和输出电流I3连接;PMOS管MP3~MP6构成电流选择电路,第二反相器INV2的输入端和输出端分别与MP3、MP5和MP4、MP6的栅端连接,当信号CLK2为0时,电流I1由MP2镜像到MP1,反之,由MP1镜像到MP2,以减小因镜像管MP1和MP2不对称所引起的误差。The structure of described current mirror circuit 31 is as shown in Figure 3, and it comprises the first inverter INV1, the second inverter INV2 and PMOS transistors MP1 ~ MP8 ; The input terminal of the first inverter INV1 and timing control The sixth control signal CLK2 of the circuit 5 is connected; the input terminal of the second inverter INV2 is connected to the output terminal of the first inverter INV1; the PMOS transistors MP1 and MP2 are mirrored transistors, and their source terminals are connected to the power supply VDD, The gate terminal is connected to the drain terminal of the PMOS transistor MP7 , and the drain terminal is respectively connected to the source terminals of the PMOS transistors MP3 - MP4 and PMOS transistors MP5 - MP6 ; the source terminals of the PMOS transistors MP7 and MP8 are respectively connected to the MP3 , MP4 are connected to the drain terminals of MP4 and MP5 , the gate terminal thereof is connected to the first reference voltage VREF1 of the reference voltage generating circuit 6, and the drain terminals are respectively connected to the input current I2 and the output current I3 ; the PMOS transistor M P3 ~M P6 constitutes a current selection circuit, the input terminal and output terminal of the second inverter INV2 are respectively connected to the gate terminals of MP3 , MP5 and MP4 , MP6 , when the signal CLK2 is 0, the current I 1 is controlled by M P2 is mirrored to MP1 , and vice versa, MP1 is mirrored to MP2 to reduce the error caused by the asymmetry of mirror tubes MP1 and MP2 .
所述第一开关电路32的结构如图3所示,包括第三反相器INV3,第四反相器INV4,PMOS管MP9~MP10和NMOS管MN1~MN2;第三反相器INV3的输入端与时序控制电路5的第五控制信号Mode set连接,第四反相器INV4的输入端与第三反相器INV3的输出端连接;PMOS管MP9和MP10的源端与输入电流I3连接,栅端与第四反相器INV4的输出端和输入连接,PMOS管MP9和NMOS管MN2的漏端与输入电流I6和输出电流I0连接,PMOS管MP10的漏端输出电流I3;NMOS管MN1的漏端与电流镜像电路31中的MP7漏端连接,NMOS管MN1和MN2的栅端与第三反相器INV3的输出端连接,NMOS管MN1和MN2的源端分别接收两路输入电流I1和I2,当Mode_set为1时,将电流I3输出到第二稳压电路35,当Mode_set为0时,第一开关电路32对输入的电流信号I1、I2和I3进行运算,当模数转换电路4的输出控制信号Enable为0时,I6=0,I5=IREF,输出电流I0=I2-I3,此时I0为采样电流,当Enable为1时,I6=IREF,I5=0,输出电流I0=I6-(I2-I3)=IREF-(I2-I3),此时I0为量化电流,输出电流I0连接到模数转换电路4。The structure of the first switch circuit 32 is shown in Figure 3, including a third inverter INV3, a fourth inverter INV4, PMOS transistors MP9 - MP10 and NMOS transistors MN1 - MN2 ; the third inverter The input terminal of the inverter INV3 is connected to the fifth control signal Mode set of the timing control circuit 5, the input terminal of the fourth inverter INV4 is connected to the output terminal of the third inverter INV3; the source terminals of the PMOS transistors MP9 and MP10 It is connected to the input current I3 , the gate terminal is connected to the output terminal and input of the fourth inverter INV4, the drain terminals of the PMOS transistor M P9 and the NMOS transistor M N2 are connected to the input current I6 and the output current I0 , and the PMOS transistor M The drain end of P10 outputs the current I 3 ; the drain end of the NMOS transistor M N1 is connected to the drain end of MP7 in the current mirror circuit 31, and the gate ends of the NMOS transistors M N1 and M N2 are connected to the output end of the third inverter INV3 , the source terminals of NMOS transistors M N1 and M N2 respectively receive two input currents I 1 and I 2 , when Mode_set is 1, output current I 3 to the second voltage stabilizing circuit 35, when Mode_set is 0, the first The switch circuit 32 performs operations on the input current signals I 1 , I 2 and I 3 , and when the output control signal Enable of the analog-to-digital conversion circuit 4 is 0, I 6 =0, I 5 =IREF, and the output current I 0 =I 2 -I 3 , at this time I 0 is the sampling current, when Enable is 1, I 6 =IREF, I 5 =0, output current I 0 =I 6 -(I 2 -I 3 )=IREF-(I 2 -I 3 ), at this time, I 0 is the quantized current, and the output current I 0 is connected to the analog-to-digital conversion circuit 4 .
所述第一稳压电路33的结构如图3所示,包括六个NMOS管MN3~MN8组成;该MN3~MN8的栅端与基准电压产生电路6的第二基准电压VREF2连接,MN3的漏端与第一开关电路32中的MN1源端连接,MN3的源端与MN5的漏端连接,MN5的源端与MN7的漏端连接,MN7的源端接收红外光检测电路2的输出电流I1,MN3、MN5和MN7构成三层共源共栅结构;MN4的漏端与第一开关电路32中MN2的源端连接,MN4的源端与MN6的漏端连接,MN6的源端与MN8的漏端连接,MN8的源端接收环境光检测电路1的输出电流I2,MN4、MN6和MN8构成三层共源共栅结构;该电路能屏蔽上级电路对环境光检测电路1和红外光检测电路2的电压影响,使环境光检测电路1和红外光检测电路2有相同的电压,从而使两路检测电路所含的光电二极管自身产生的暗电流一样。The structure of the first voltage stabilizing circuit 33 is shown in FIG. 3 , comprising six NMOS transistors MN3 - MN8 ; the gate terminals of the MN3 - MN8 are connected to the second reference voltage VREF2 of the reference voltage generation circuit 6 , the drain of M N3 is connected to the source of M N1 in the first switch circuit 32, the source of M N3 is connected to the drain of M N5, the source of M N5 is connected to the drain of M N7 , the source of M N7 The end receives the output current I1 of the infrared light detection circuit 2, and MN3 , MN5 and MN7 form a three-layer cascode structure; the drain end of MN4 is connected to the source end of MN2 in the first switch circuit 32, and MN4 The source terminal of N4 is connected to the drain terminal of MN6 , the source terminal of MN6 is connected to the drain terminal of MN8 , the source terminal of MN8 receives the output current I2 of the ambient
所述第二开关电路34的结构如图3所示,它由触发器RS和两个PMOS管MP11~MP12组成;触发器RS的输入端与模数转换电路4的输出控制信号量化使能信号Enable连接,它产生的两个互补输出信号分别与两个PMOS管的栅极连接,两个PMOS管的源极均与基准电流产生电路7的基准电流IREF连接,两个PMOS管的漏极分别输出电流I6和I7;当Enable为1时,I6=IREF,I7=0,当Enable为0时,I6=0,I7=IREF。The structure of described second switch circuit 34 is as shown in Figure 3, and it is made up of flip-flop RS and two PMOS transistors M P11 ~ MP12 ; The two complementary output signals generated by it are respectively connected to the gates of the two PMOS transistors, the sources of the two PMOS transistors are connected to the reference current IREF of the reference current generating circuit 7, and the drains of the two PMOS transistors The poles output currents I 6 and I 7 respectively; when Enable is 1, I 6 =IREF, I 7 =0; when Enable is 0, I 6 =0, I 7 =IREF.
所述第二稳压电路35的结构如图3所示,由第一跨导运算放大器OTA1组成,其输出端与反相输入端短接,正相输入端与基准电压产生电路6输出的第二基准电压VREF2连接。The structure of the second voltage stabilizing circuit 35 is as shown in Figure 3, and is made up of the first transconductance operational amplifier OTA1, and its output end is short-circuited with the inverting input end, and the non-inverting input end is connected with the first output of the reference voltage generating circuit 6. Two reference voltages VREF2 are connected.
参考图4,本发明的模数转换电路4包括积分电路14,比较器COMP,触发器DFF,数据选择器,计数器,数据寄存器12bit_REG和与门AND;电流控制电路3输出电流I0,与积分电路14的输入端连接,积分电路14将电流信号转换成电压信号V′,与比较器COMP的正相输入端连接,比较器COMP将该电压信号V′与它的反相输入端所连接的第三基准电压VREF3进行比较,输出的1/0电平信号连接到触发器DFF的数据输入端D;触发器DFF的时钟输入端clk和清零端clr分别与时序控制电路5的第四输出端CLK和第七输出端CLR连接,它的输出端与计数器的输入端ADC_OUT连接;与门AND的两个输入端分别与触发器DFF的输出端Q和时序控制电路5的第一输出端CRTL1连接,输出控制信号Enable;计数器的时钟输入端clk和清零端clr分别与时序控制电路5的第四输出信号CLK和第七输出信号CLR连接,它产生十二位数据信号[11:0],数据信号输入到数据寄存器12bit_REG;数据寄存器12bit_REG的时钟输入端clk和清零端clr分别与时序控制电路5的第九输出信号REG_CLK和第十输出信号REG_CLR连接,输出十二位数据信号[11:0]到数据存储电路8。该积分电路14包括三个NMOS管MN9~MN11,四个电容C1~C4和第二跨导运算放大器OTA2,其中第二跨导运算放大器OTA2的正相输入端与第二基准电压VREF2连接,第八NMOS管MN10和第二电容C2的两端分别与第二跨导运算放大器OTA2的反相输入端和输出端连接,第一电容C1和第九NMOS管MN9串联后分别与第二跨导运算放大器OTA2的反相输入端和输出端连接;第二跨导运算放大器OTA2的输出端分别与第三电容C3和第四电容C4的一端连接,第三电容C3的另一端连接到地,第四电容C4通过第十一NMOS管MN11连接到地;第十NMOS关MN10和第十一NMOS管MN11栅端均与时序控制电路5的第三输出信号RESET连接,第九NMOS管MN9的栅端与时序控制电路5的第二输出信号CTRL2连接,当RESET信号为1时,第十NMOS管MN10导通,积分器14的输入端和输出端短接处于复位状态,反之,积分器14处于正常积分工作状态,当CTRL2为1时,第九NMOS管MN9导通,第二电容C1和第三电容C2并联后作为积分器14的积分电容,此时传感器工作在大量程0~2000lux,反之,第2电容C2作为积分器14的积分电容,传感器工作在小量程0~125lux。With reference to Fig. 4, analog-to-digital conversion circuit 4 of the present invention comprises integration circuit 14, comparator COMP, flip-flop DFF, data selector, counter, data register 12bit_REG and AND gate AND;
本发明的效果可以通过以下仿真进一步说明:Effect of the present invention can be further illustrated by following simulation:
仿真1:本发明在T=25℃,VDD=3V,工作在小量程0~125lux时,对处于白炽灯和冷日光灯这两种不同光源中,照度分别为10lux、20lux、50lux、100lux和125lux的情况下,分别对本发明输出的数字量进行仿真,结果如表一所示。Simulation 1: When the present invention is at T=25°C, VDD=3V, and works in a small range of 0-125lux, the illuminances of incandescent lamps and cold fluorescent lamps are 10lux, 20lux, 50lux, 100lux and 125lux respectively In the case of , the digital output of the present invention is respectively simulated, and the results are shown in Table 1.
表一工作在小量程0~125lux下的仿真结果Table 1 Simulation results of working in a small range of 0 to 125lux
从表一可以看出,当本传感器工作在小量程0~125lux时,在这两种不同光源中,照度一样时,响应差值与理想值之比约为0.5%,与理想值相比,精度分别为99.1%和99.4%;It can be seen from Table 1 that when the sensor works in a small range of 0 to 125lux, the ratio of the response difference to the ideal value is about 0.5% when the illumination is the same in these two different light sources. Compared with the ideal value, Accuracy is 99.1% and 99.4%, respectively;
仿真2:本发明在T=25℃,VDD=3V,工作在大量程0~2000lux时,对处于白炽灯和冷日光灯这两种不同光源中,照度分别为200lux、300lux、500lux、1000lux和2000lux的情况下,分别对本发明输出的数字量进行仿真,结果如表二所示。Simulation 2: When the present invention is at T=25°C, VDD=3V, and works in a large range of 0-2000lux, the illuminances of incandescent lamps and cold fluorescent lamps are respectively 200lux, 300lux, 500lux, 1000lux and 2000lux In the case of , the digital output of the present invention is respectively simulated, and the results are shown in Table 2.
表二工作在大量程0~2000lux下的仿真结果Table 2 Simulation results of working in a large range of 0 to 2000lux
从表二可以看出,当本传感器工作在大量程0~2000lux时,在这两种不同光源中,照度一样时,响应差值与理想值之比约为0.5%,与理想值相比,精度分别为98.9%和99.5%;It can be seen from Table 2 that when the sensor works in a large range of 0 to 2000 lux, the ratio of the response difference to the ideal value is about 0.5% when the illumination is the same in these two different light sources. Compared with the ideal value, Accuracy is 98.9% and 99.5%, respectively;
由于这两种光源中红外光所占比重差别很大,从仿真结果可以看出本发明能有效抑制红外光,从而主要响应可见光,同时拥有很高的线性度和精度。Since the proportion of infrared light in these two light sources is very different, it can be seen from the simulation results that the present invention can effectively suppress infrared light, thereby mainly responding to visible light, and has high linearity and precision at the same time.
以上仅是本发明的一个最佳实例,不构成对本发明的任何限制,显然在本发明的构思下,可以对其电路进行不同的变更与改进,但这些均在本发明的保护之列。The above is only a best example of the present invention, and does not constitute any limitation to the present invention. Obviously, under the conception of the present invention, various changes and improvements can be made to the circuit, but these are all included in the protection of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201110218076 CN102322875B (en) | 2011-08-01 | 2011-08-01 | Visible light sensor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201110218076 CN102322875B (en) | 2011-08-01 | 2011-08-01 | Visible light sensor |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102322875A CN102322875A (en) | 2012-01-18 |
CN102322875B true CN102322875B (en) | 2013-10-16 |
Family
ID=45450669
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201110218076 Active CN102322875B (en) | 2011-08-01 | 2011-08-01 | Visible light sensor |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102322875B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107407595A (en) * | 2015-04-03 | 2017-11-28 | 株式会社日立高新技术 | Light quantity detection device, immunoassay device using the same, and charged particle beam device |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103457672B (en) * | 2013-09-05 | 2016-08-31 | 四川汇源塑料光纤有限公司 | There is plastic optical fiber receiver and the implementation method of double photodiode Differential Input |
CN103759824B (en) * | 2014-01-23 | 2016-01-20 | 西安电子科技大学 | For the photoelectric switching circuit of visible light sensor |
CN104182097B (en) * | 2014-08-26 | 2017-11-10 | Tcl通讯(宁波)有限公司 | For preventing the touch control terminal and its method of proximity transducer erroneous judgement |
CN105953823B (en) * | 2016-04-21 | 2018-12-18 | 矽力杰半导体技术(杭州)有限公司 | Ambient light rejection circuit, photoelectric sensor and the optoelectronic detecting device using it |
CN107786277A (en) * | 2016-08-25 | 2018-03-09 | 阿尔卡特朗讯 | A kind of method and apparatus for light-receiving |
CN106504513B (en) * | 2017-01-09 | 2023-08-18 | 上海胤祺集成电路有限公司 | Infrared receiving circuit |
CN106783852B (en) * | 2017-01-09 | 2019-04-26 | 华润半导体(深圳)有限公司 | A CMOS Integrated Circuit for Suppressing Current Mirror Leakage Current |
CN112398970A (en) * | 2019-07-31 | 2021-02-23 | 北京小米移动软件有限公司 | Optical sensor, mobile terminal and visible light intensity detection method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1783956A (en) * | 2004-10-29 | 2006-06-07 | 安捷伦科技有限公司 | Method and apparatus for identifying a sensed light environment |
CN1938744A (en) * | 2004-02-06 | 2007-03-28 | 佩利康有限公司 | Ambient light sensor |
CN101231189A (en) * | 2006-12-27 | 2008-07-30 | 三星Sdi株式会社 | Ambient light detection circuit and flat panel display including ambient light detection circuit |
WO2009016600A2 (en) * | 2007-07-30 | 2009-02-05 | Nxp B.V. | Light sensor arrangement |
CN201255663Y (en) * | 2008-09-26 | 2009-06-10 | 中国科学院西安光学精密机械研究所 | Intelligent visible light sensor |
-
2011
- 2011-08-01 CN CN 201110218076 patent/CN102322875B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1938744A (en) * | 2004-02-06 | 2007-03-28 | 佩利康有限公司 | Ambient light sensor |
CN1783956A (en) * | 2004-10-29 | 2006-06-07 | 安捷伦科技有限公司 | Method and apparatus for identifying a sensed light environment |
CN101231189A (en) * | 2006-12-27 | 2008-07-30 | 三星Sdi株式会社 | Ambient light detection circuit and flat panel display including ambient light detection circuit |
WO2009016600A2 (en) * | 2007-07-30 | 2009-02-05 | Nxp B.V. | Light sensor arrangement |
CN201255663Y (en) * | 2008-09-26 | 2009-06-10 | 中国科学院西安光学精密机械研究所 | Intelligent visible light sensor |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107407595A (en) * | 2015-04-03 | 2017-11-28 | 株式会社日立高新技术 | Light quantity detection device, immunoassay device using the same, and charged particle beam device |
CN107407595B (en) * | 2015-04-03 | 2018-09-07 | 株式会社日立高新技术 | Light quantity detection device, immunoassay apparatus and charge particle bundle device using it |
Also Published As
Publication number | Publication date |
---|---|
CN102322875A (en) | 2012-01-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102322875B (en) | Visible light sensor | |
CN100587418C (en) | Light sensor and dimming control | |
CN104182098B (en) | Light sensing circuit | |
TWI402492B (en) | Current mode dual-slope temperature-to-digital conversion device | |
US9893736B2 (en) | Analog to digital conversion device, illuminance sensor device, and electronic apparatus comprising the illuminance sensor device | |
TW201037287A (en) | Light sensing circuit and method thereof | |
CN107396009B (en) | Pulse frequency modulation type image sensor circuit and processing method thereof | |
CN103913700B (en) | A kind of detection circuit of infrared focal plane read-out circuit | |
CN103759824B (en) | For the photoelectric switching circuit of visible light sensor | |
CN106370296A (en) | Detection method and system for the environment light by mobile terminal light sensor | |
KR102048214B1 (en) | Ambient light sensor and electronic system having the same | |
CN115900968B (en) | Infrared event-radiation dual-mode imaging system for remote small target detection | |
CN106791511B (en) | A kind of photodetection double mode reading circuit | |
CN109738065A (en) | A blood oxygen detection chip with fast light intensity tracking capability | |
CN108269544A (en) | Flicker drift optimization circuit and display panel, display device | |
CN204813899U (en) | Optical frequency conversion equipment and oximetry with temperature compensating characteristic | |
WO2022226907A1 (en) | Display module control method, display module, and display device | |
CN108347231A (en) | A kind of 90 ° of phase shifters in broadband | |
CN203261528U (en) | Infrared LED lamp dimming circuit of video camera | |
CN109974863B (en) | Integration circuit applied to ultraviolet focal plane detector | |
Nakaya | CCD Readout Electronics for Subaru Telescope Instruments | |
CN103390383A (en) | Control system of light-sensitive LED display screen | |
CN209676551U (en) | A kind of colleges and universities' daylight light intelligent control system | |
CN202563871U (en) | Control system of optical-sensation light-emitting diode (LED) screen | |
CN103390382A (en) | Control system of self-adaptation LED display screen |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20211124 Address after: B201, zero one square, Xi'an Software Park, 72 Keji 2nd Road, high tech Zone, Xi'an City, Shaanxi Province, 710000 Patentee after: XI'AN TUOER MICROELECTRONICS Co.,Ltd. Address before: 710071 No. 2 Taibai South Road, Shaanxi, Xi'an Patentee before: XIDIAN University |
|
TR01 | Transfer of patent right | ||
CP01 | Change in the name or title of a patent holder |
Address after: B201, zero one square, Xi'an Software Park, 72 Keji 2nd Road, high tech Zone, Xi'an City, Shaanxi Province, 710000 Patentee after: Xi'an Tuoer Microelectronics Co.,Ltd. Address before: B201, zero one square, Xi'an Software Park, 72 Keji 2nd Road, high tech Zone, Xi'an City, Shaanxi Province, 710000 Patentee before: XI'AN TUOER MICROELECTRONICS Co.,Ltd. Address after: B201, zero one square, Xi'an Software Park, 72 Keji 2nd Road, high tech Zone, Xi'an City, Shaanxi Province, 710000 Patentee after: Tuoer Microelectronics Co.,Ltd. Address before: B201, zero one square, Xi'an Software Park, 72 Keji 2nd Road, high tech Zone, Xi'an City, Shaanxi Province, 710000 Patentee before: Xi'an Tuoer Microelectronics Co.,Ltd. |
|
CP01 | Change in the name or title of a patent holder |