Optoelectronic sensor device, detector and electronic device and method for operating such a sensor device or such a detector
Through compact and low-cost photoelectric sensor equipment, using signal detection devices and interrupt output terminals, the problem of image distortion caused by flickering light sources is solved, fast and accurate flicker frequency detection is achieved, and equipment cost and complexity are reduced.
Patent Information
- Application Number
- CN202180016597.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-02-25
- Filing Date
- 2021-02-23
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2041-02-23
AI Technical Summary
When existing photoelectric sensor equipment detects flickering light sources, it is easy to cause image distortion, especially when the frame frequency and flicker frequency are not synchronized, resulting in horizontal stripes with brightness fluctuations in the image, and the equipment cost of detecting flicker frequency in the existing technology is high. High and complex.
A compact and low-cost photoelectric sensor device is designed, which adopts a photoelectric detection device and a signal detection device, and can quickly read out by storing and outputting electrical signal values in repeated time periods, using interrupt outputs and communication interfaces to implement signal processing and covering signal values, avoiding storing signal values for multiple time periods, using small memory, achieving a simple and compact design.
It effectively solves the problem of image distortion, reduces equipment costs, improves detection accuracy and equipment compactness, can quickly detect the flicker frequency of light, reduces the "banding" effect, and determines the flicker frequency through the FFT method or orthogonal detection.
Smart Images

Figure CN115191112B_ABST
Abstract
Description
[0001] This patent application claims the priority of German patent application No. 10 2020 202 400.6, the disclosure content of which is incorporated herein in its entirety by reference. Technical Field
[0002] The invention relates to an optoelectronic sensor device, a detector, an electronic device (eg a smartphone) and a method for operating such a sensor device or such a detector. Background Art
[0003] Photoelectric sensor devices, which detect light, for example, by means of one or more photodiodes and output electrical signals, in particular currents and / or voltages, as a function of the detected light, have many applications in various technical products. Here, the use of photoelectric sensor devices for detecting flicker of so-called electrically operated light sources is mentioned as an example.
[0004] The power grid usually runs synchronously with the grid frequency of 50 Hertz (Hz), 60 Hertz or some other frequency. Therefore, light sources driven by electricity from the grid tend to flicker. The flicker frequency usually corresponds to twice the grid frequency. For example, if the image area is illuminated by a flickering light source, the flicker can cause distortions in images recorded with a camera, especially CMOS-based cameras, such as in smartphones or industrial applications. CMOS stands for Complementary Metal Oxide Semiconductor. In CMOS cameras with a rotating shutter, flickering light can cause horizontal stripes of fluctuating brightness in the image, especially when the image recording frequency is not a divider or multiple of the flicker frequency. The image is also called "banding". The banding problem can be solved if the frame frequency is synchronized with the flicker frequency. To do this, the flicker frequency must be excluded from the light.
[0005] Sensors which detect the flicker frequency are known from the prior art.
[0006] For example, the sensor VD6281 from ST Microelectronics makes it possible to determine the flicker frequency. In addition, the sampled light signal can be output as a bit sequence via an output terminal.
[0007] The sensor TCS3707 from AMS AG has an integrated flicker detector that can detect flicker at 50Hz or 60Hz. When a flicker frequency is detected at the specified frequency, the sensor emits a specific signal.
[0008] The sensor TMD 49103S from AMS AG also has an integrated flicker detector that can detect flicker at 50 Hz or 60 Hz. In addition, the sensor issues a signal if a flicker frequency is detected at the mentioned frequency. The sensor has an integrated buffer memory that works according to the FIFO principle. FIFO stands for "first in, first out". This means that the first element stored is also the first to be taken out of the memory. The measured values of the measured light intensity are stored in the buffer memory. These measured values can be transmitted via the I2C interface. Flicker frequencies that are not around 50 Hz or 60 Hz can also be determined by further processing of the measured values that have been read out.
[0009] In addition to determining the flicker frequency, other applications of light sensors are conceivable, such as detecting fluctuations in light intensity. Summary of the invention
[0010] It is an object of the present invention to provide an optoelectronic sensor device which can be produced in a compact and cost-effective manner and which in particular offers a wide range of application possibilities.
[0011] The photoelectric sensor device according to the invention comprises a photoelectric detection device having a detector surface for detecting light and providing an electrical signal in accordance with the light detected by the detection surface. The sensor device further comprises a signal detection device designed to store at least one signal value of the electrical signal in a memory during one of the repeated time periods and to output a display signal after the one time period has elapsed.
[0012] The display signal may be used to signal that at least one signal value may be read out.
[0013] In a preferred variant of the invention, exactly one signal value is stored in the memory in each time period. However, alternative variants of the invention may also be used in which a plurality of signal values are stored in the memory in each time period. This number may correspond to a natural number of signal values, for example to 2, 3, 4 or even more.
[0014] The photodetection device may have one or more photodiodes, for example an array of photodiodes, which can absorb incident light and convert it into an electric current. The electric current may depend on the intensity of the incident light. The detection device may have at least one analog-to-digital converter, which generates a signal value from the electric current, which signal value depends in particular on the electric current and therefore on the light intensity. The signal value may correspond to a measured value that depends on the detected light intensity. In a time period, several such signal values can be determined by time delays, thereby reflecting the course of the electrical signal. In order to perform the measurement, the sensor requires a certain integration time. If multiple measurements are performed one after another, the time course of the optical input signal can be reflected.
[0015] After a time period that can correspond to the integration time has elapsed, a display signal is output. This serves, for example, as a signal for a control device connected to the sensor device to indicate that the time period has ended and that the signal value determined during the time period or integration time can be read out from the memory. The control device can then communicate with the sensor device via the communication interface and read out the signal value stored during the time period.
[0016] After the first time period and the end of the measuring process, the next measuring process starts in the subsequent second time period. In addition, the measured value measured in the first time period is read out. After the end of the readout process, at least one signal value recorded during the subsequent second time period can be stored. At least one signal value determined during the first time period can be overwritten or deleted immediately after the readout process. In particular, as soon as the first byte of the measured value is read out, the display signal can no longer be displayed at the interrupt output.
[0017] Preferably, the sensor device can store only one signal value in the memory during a determinable time period. The signal value can consist of several bytes. The signal value corresponds to the digital value of the light signal detected at a specific point in time within the time period. Thus, several consecutive signal values detected, in particular in consecutive time periods, reflect the course of the light signal over time. After the time period has expired, the sensor device can signal using a display signal that at least one detected signal value can be read out. The read-out data can then be further processed by another device, such as a control device communicating with the sensor device. The read-out signal value can be used, for example, to determine the flickering frequency of the detected light.
[0018] Since the sensor device does not store signal values for multiple time periods, but only stores at least one and preferably exactly one signal value detected in a time period, a small memory can be kept. For example, the memory can be implemented as a storage register with a storage capacity of 2 bytes. On the contrary, no larger memory, such as a FIFO buffer memory, is required. As a result, the sensor device can be designed in a simple and compact manner and is therefore also cost-effective.
[0019] The sensor device can be implemented as an integrated circuit, for example on a piece of silicon. This allows further improvement in compactness and simplicity as well as price advantages.
[0020] Preferably, the time period and thus the duration of the measuring process can be set. In particular, the time period and thus the duration of the measuring process can be set via the communication interface of the sensor device. The measuring accuracy can be increased by a longer time period.
[0021] The display signal may correspond to a first value of the digital signal. The digital signal may be an interrupt signal. The sensor device may, for example, have an output or a pin, in particular an interrupt output or an interrupt pin, at which the display signal is output as a first value of the digital signal, for example "LOW". If there is no display signal, this can be done in reverse, with the digital signal at the output having a second value, for example "HIGH". Outputting the display signal as a first value of the digital signal at the output of the sensor device is advantageous, because it is possible to switch very quickly between the first value and the second value.
[0022] The signal detection device may output a second value of the digital signal different from the first value, outside the duration of outputting the display signal corresponding to the first value.
[0023] According to a further development of the invention, the signal detection device is designed to change the first value to the second value as soon as at least one and preferably exactly one signal value is at least partially read out from the memory. It can be provided that the memory is erased after the signal value is read out. It can also be provided that after the signal value is read out, the signal value determined in the subsequent time period is stored, while the signal value stored in the previous time period is overwritten.
[0024] The sensor device and in particular the signal detection device can be designed to output a display signal via a communication interface, in particular an interrupt output, of the sensor device. Thus, the signal value that can or should be read out can be easily determined by an external device, such as an external control device.
[0025] According to one embodiment of the present invention, the sensor device and in particular the signal detection device is designed to store only at least one and preferably exactly one signal value of the respective current time period in the memory. This means that the memory can be kept small.
[0026] The sensor device and in particular the signal acquisition device can be designed to delete or overwrite signal values from a previous time period from the memory.
[0027] The invention also relates to a detector, in particular for determining light flicker, wherein the detector has a photoelectric sensor device according to the invention. The detector also has a control device which is communicatively connected to the sensor device. The control device can be configured to read out at least one signal value for a respective time period. Furthermore, the control device can be designed to determine the flicker frequency of the detected light using signals from a plurality of time periods, in particular using an FFT method or quadrature detection. FFT stands for Fast Fourier Transformation and is a method known per se for calculating frequency components from determined signal values.
[0028] The control device can define the time period, in particular via a communication interface between the sensor device and the control device. The time period can thus be adapted to the desired requirements. The longer the time period is selected, the less noise is present. Conversely, a shorter time period enables a faster measurement.
[0029] The control device can be designed to detect the display signal, in particular via a communication interface between the sensor device and the control device, such as an interrupt output, and read out at least one signal value from the memory. The sensor device responds to the detection of the display signal. The control device can therefore read the memory after receiving the display signal.
[0030] The control device may be designed to collect or store the signal values read out from a plurality of consecutive time periods. Thus, the signal values from a plurality of time periods may be used for subsequent analysis.
[0031] The control device can be designed to determine the flickering frequency of the detected light based on the signal values from a plurality of consecutive time periods. In particular, an FFT method or an orthogonal detection method can be used here.
[0032] The present invention also relates to an electronic device, in particular a portable electronic device, having a photoelectric sensor device according to the present invention or a detector according to the present invention, wherein the detector surface of the photoelectric detection device is arranged in the housing of the photoelectric detection device so that light incident from the outside can be detected by the detector surface.
[0033] The electronic device may be a mobile phone, a smartphone, a tablet or a camera. As described above, the flicker frequency of the ambient light may be determined in the electronic device. The electronic device may have a camera for image or video recording. The frame frequency for image or video capture may be synchronized with the flicker frequency. Thus, the effect of "banding" may be avoided or at least reduced.
[0034] The invention further relates to a method for operating an optoelectronic sensor device according to the invention, in which method:
[0035] An electric signal is provided during one of the repeated time periods, the electric signal being generated according to the detected light, at least one signal value of the electric signal is stored in a memory during the one time period, and after the one time period has elapsed, a display signal is output.
[0036] The invention also relates to a method for operating a photodetector according to the invention, in which method:
[0037] The sensor device outputs a display signal after a period of time has passed.
[0038] the control device detects the display signal and reads out at least one signal value from a memory of the sensor device in response to the detection of the display signal,
[0039] After the readout, no display signal is displayed until the next time period has elapsed, and
[0040] During the next time period, at least one signal value of the electrical signal is again stored in the memory.
[0041] The term "light" is to be understood in a broad sense and relates in particular to electromagnetic radiation in general. In addition to visible light, the term "light" may also include, in particular, infrared light and / or ultraviolet light. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] The embodiments of the present invention are explained in more detail below with reference to the accompanying drawings.
[0043] Figure 1 shows a block diagram of a detector having a sensor device and a control device,
[0044] Figure 2 A block diagram of a detector with a sensor device and a control device according to the invention is shown, and
[0045] Figure 3 A timing diagram of a sensor device according to the invention is shown. DETAILED DESCRIPTION
[0046] Figure 1 The detector shown comprises an optoelectronic sensor device 11 and a control device 13 communicatively connected to the sensor device 11. Both the sensor device 11 and the control device 13 can be implemented in respective chips.
[0047] The sensor device 11 comprises a photodetection device 15, here in the form of a plurality of photodiodes, each having a detector face for detecting light. Each photodiode 15 can, for example, detect light of a different wavelength, for example by arranging different color filters in front of the detector face of the photodiode 15. This achieves a spectral resolution of the detected light.
[0048] Based on the light detected by the photodiode 15, each photodiode 15 generates an electrical signal, which is provided to a signal conditioning circuit 17 assigned to the corresponding photodiode 15. In the corresponding signal conditioning circuit 17, the signal provided by the relevant photodiode 15 can be modified, for example, in a manner suitable for analog-to-digital conversion. For example, an anti-aliasing filter can be used to process the signal. In addition, the electrical signal can be converted into a digital signal value in the corresponding signal conditioning circuit 17.
[0049] The sensor device 11 can have a signal detection device 21 which comprises at least one data memory 19. The corresponding digital signal values can be stored in the data memory 19. The signal values from different photodiodes 15 are preferably stored in different data memories 19, in particular memory registers.
[0050] The signal detection device 21 can have an optional command register 23 , in which commands for controlling the signal conditioning circuit 17 can be stored and used.
[0051] The signal detection device 21 includes a communication interface 25, through which it can communicate with the control device 13. The communication interface 25 may be an I2C interface capable of communicating via a clock line (SCL) and a data line (SDA). I2C stands for Inter-Integrated Circuit.
[0052] Furthermore, the signal detection device 21 comprises an interrupt output 27 , which is also referred to as an interrupt pin, via which an interrupt signal INT can be output and which in turn can be detected by the control device 13 .
[0053] exist Figure 2 The detector according to the present invention shown in the block diagram of comprises a sensor device 11 and a control device 13 which is communicatively connected to the sensor device 11. Both the sensor device 11 and the control device 13 can be implemented in a chip. For example, the sensor device 11 can be implemented as an integrated circuit in a silicon chip.
[0054] The sensor device 11 comprises a photoelectric detection device 15, for example in the form of one or more photodiodes or in the form of a photodiode array. The detection device 15 is designed to detect light and provide an electrical signal in accordance with the detected light. For example, a photodiode generates an electric current in accordance with the intensity of the light absorbed by the photodiode. In addition, the detection device 15 may comprise an analog-to-digital converter, so that the electrical signal can be provided in the form of an instantaneous signal value.
[0055] A signal detection device 21 is provided for storing the signal value of the electric signal in the memory 19 during one of the repetitive time periods. In order to determine the flicker frequency, for example when there are a plurality of photodiodes, the signal value of a photodiode which detects light in a wavelength range at or near the maximum of the spectral light sensitivity of the human eye during the day can be stored in each time period. Thus, a lighting reaction can be detected to a certain extent.
[0056] After a time period has elapsed, the signal detection device 21 outputs a display signal via the interrupt output 27, which can be received by the control device 13. The display signal is the first state of the interrupt signal (preferably the low state), otherwise it is output in its second state (preferably its higher state).
[0057] The control device 13 can communicate with the sensor device 11 via the communication interface 25. In particular, the control device 13 can determine the length of a time period and read out the signal values stored in the memory 19 within a time period.
[0058] Figure 3 The function of the sensor device 11 over a plurality of consecutive time periods T is shown in a timing diagram. The states of the sensor device 11 are shown in the bottom row A. In the middle row I 2 C shows the communication via the communication interface 25, wherein the communication interface is an I2C communication interface. The interrupt signal at the interrupt output 27 Displayed in the upper row.
[0059] During a first time period T, 301, the control device 13 is in an idle mode, also called standby mode. Communication between the control device 13 and the sensor device 11 starts 303 via the communication interface 25. The normal state 305 of the interrupt signal is displayed at the interrupt output 27 (see INT), here in the form of a high signal level.
[0060] During the second time period T, 307, measurements are taken (see Figure 3 During this time period 307 , a determined signal value of the electrical signal is stored in the memory 19 .
[0061] After the second time period 307 has elapsed and thus at the beginning of the subsequent third time period 311, a display signal 313 is output at the interrupt output 27, because the interrupt signal output changes from the normal state (see INT, 305) to a state of a low signal level. This state 313 is maintained for a duration t1. The duration t1 may correspond to the duration required to read out the first byte of the signal value determined during the second time period 307 from the memory.
[0062] After the duration t1 has elapsed, the state at the interrupt output terminal 27 changes back to the normal state 305. Therefore, INT returns to the normal state 305 with a high signal level. Figure 3 As shown in the second row of FIG, the data transmission 315 between the control device 13 and the sensor device 11 for reading all bytes of the signal value of the previous time period can extend to most of the subsequent time period. For example, the duration t1 can be approximately half of the duration of the data transmission 315.
[0063] The above process is repeated accordingly for subsequent time windows, for example the fourth time period 317 and the fifth time period 319. The measuring process ends with a corresponding command from the control device 13 to the sensor device 11 (not shown).
[0064] The control device 13 or a downstream device may collect and further process the signal values measured over a plurality of time periods T. For example, the possible flicker frequency of the detected light may be calculated by an FFT method. The most likely flicker frequency can be determined from the inverse of twice the time period (f max =1 / (2·T)).
[0065] Reference Numbers List
[0066] 11 Sensor equipment
[0067] 13 Control Devices
[0068] 15 Detection device, photodiode
[0069] 17 Signal conditioning circuit
[0070] 19 Data storage
[0071] 21. Signal detection device
[0072] 23 Instruction register
[0073] 25 Communication Interface
[0074] 27 Interrupt output terminal
[0075] 301 First Time Period
[0076] 303 Communication started
[0077] 305 Normal state
[0078] 307 Second Time Period
[0079] 309 Measurement Run
[0080] 311 The third time period
[0081] 313 Display signal
[0082] 315 Data Transmission
[0083] 317 The Fourth Time Period
[0084] 319 Fifth Time Period
[0085] INT interrupt signal
[0086] SCL clock line
[0087] SDA cable
[0088] T time period
[0089] t1 duration
[0090] t2 duration.
Claims
1. A photoelectric sensor device having: a photoelectric detection device (15) designed to detect light and provide an electrical signal based on the detected light, the electrical signal being dependent on the intensity of the detected light; and a signal detection device (21) which is designed to store at least one signal value of the electrical signal in a memory (19) during one of the recurring time periods, It is characterized in that The signal detection device (21) is further configured to output a display signal different from the at least one signal value via the communication interface of the sensor device after the one time period has elapsed and at the beginning of a next time period, to indicate that the at least one signal value can be read out from the memory (19).
2. The photoelectric sensor device according to claim 1, characterized in that The time period can be adjusted via a communication interface (25) of the sensor device (11).
3. The photoelectric sensor device according to claim 1 or 2, characterized in that The display signal corresponds to a first value of a digital signal, and the digital signal is an interrupt signal.
4. The photoelectric sensor device according to claim 3, characterized in that Outside of the duration (t1) for outputting the display signal corresponding to the first value, the sensor device (11) outputs a second value of the digital signal that is different from the first value.
5. The photoelectric sensor device according to claim 4, characterized in that The sensor device (11) is designed to change the first value to a second value as soon as at least one byte of the signal value is read out from the memory (19).
6. The photoelectric sensor device according to claim 1 or 2, characterized in that The sensor device (11) is designed to output the display signal via a communication interface of the sensor device (11), the communication interface being an interrupt output (27).
7. The photoelectric sensor device according to claim 1 or 2, characterized in that The signal detection device (21) is designed to store in the memory (19) only at least one signal value of the respective current time period.
8. The photoelectric sensor device according to claim 7, characterized in that The signal detection device (21) is designed to delete or overwrite at least one of the signal values from a previous time period from the memory (19).
9. The photoelectric sensor device according to claim 1 or 2, characterized in that The display signal corresponds to a first value of a digital signal, the digital signal being an interrupt signal, and the sensor device (11) is designed to change the first value to a second value as soon as at least one byte of the signal value is read out from the memory (19).
10. The photoelectric sensor device according to claim 1 or 2, characterized in that The sensor device (11) is designed to store exactly one signal value in the memory (19) per period of time.
11. The photoelectric sensor device according to claim 10, characterized in that The signal detection device (21) is designed to store exactly one signal value in the memory (19) per time period.
12. The photoelectric sensor device according to claim 1 or 2, characterized in that The memory (19) is a storage register having a storage capacity of 2 bytes.
13. A detector, wherein: The detector comprises: The optoelectronic sensor device (11) according to any one of claims 1 to 12, and A control device (13) is communicatively connected to the sensor device (11).
14. The detector according to claim 13, wherein: The detector is used to determine light flicker.
15. The detector according to claim 13 or 14, characterized in that The control device (13) sets a time period by means of a communication interface (25) between the sensor device (11) and the control device (13).
16. The detector according to claim 13 or 14, characterized in that The control device (13) is designed to detect the display signal by means of a communication interface between the sensor device (11) and the control device (13), and to read out at least one signal value from the memory (19) of the sensor device (11) in response to the detection of the display signal, the communication interface being an interrupt output (27).
17. The detector according to claim 16, characterized in that The control device (13) is designed to collect the read-out signal values of a plurality of consecutive time periods.
18. The detector according to claim 13 or 14, characterized in that The control device (13) is designed to determine the flickering frequency of the detected light based on signal values of a plurality of consecutive time periods.
19. An electronic device, comprising: A photoelectric sensor device according to any one of claims 1 to 12, or The detector according to any one of claims 13 to 18, in, The photoelectric detection device (15) is arranged in the housing of the electronic device so that the photoelectric detection device can detect light incident from the outside.
20. The electronic device according to claim 19, characterized in that The electronic device is a portable electronic device.
21. The electronic device according to claim 19, characterized in that The electronic device is a mobile phone, a tablet or a camera.
22. The electronic device according to claim 21, characterized in that The mobile phone is a smart phone.
23. A method for operating an optoelectronic sensor device according to any one of claims 1 to 12, It is characterized in that providing an electrical signal during one of the repeated time periods, wherein the electrical signal is generated based on the detected light intensity, During the one time period, at least one signal value of the electrical signal is stored in the memory (19), and The display signal is output via the communication interface of the sensor device after the period of time has elapsed.
24. A method for operating a detector according to any one of claims 13 to 18, It is characterized in that The sensor device (11) outputs the display signal after a time period has elapsed, The control device (13) detects the display signal and reads out at least one signal value from the memory (19) of the sensor device (11) in response to the detection of the display signal. After said reading, said display signal is not displayed until a next time period has elapsed, and During this next time period, at least one signal value of the electrical signal is again stored in the memory (19).
Citation Information
Patent Citations
Image sensor
CN101300825A
Photographic flicker detection and compensation
CN102668542A
Illuminance sensor, proximity sensor, electronic device, and surveillance system
CN110546469A
Method and apparatus for reducing flicker effects from discharge lamps during pipelined digital video capture
CN1315110A
Securely provisioning a service to a customer equipment
US20180034805A1
