The disclosure relates to a sensing technology, and more particularly to an optical sensing circuit and an optical sensing method.
Each sensing pixel in a conventional optical sensor corresponds to a readout circuit equipped with an independent analog to digital converter (ADC) to read out a sensed result of a photodiode (PD) in the sensing pixel. In other words, the excessive number of the ADCs in the conventional optical sensor leads to the overly large circuit area occupied by the readout circuit, which even results in the difficulty in effectively reducing the volume of the optical sensor.
The disclosure provides an optical sensing circuit and an optical sensing method capable of effectively generating sensed values and reducing a circuit area occupied by a readout circuit of the optical sensing circuit.
In an embodiment of the disclosure, an optical sensing circuit includes a first photosensitive unit, a second photosensitive unit, an arithmetic unit, and a control unit. The first photosensitive unit and the second photosensitive unit are configured to provide a sensing current during a light sensing period. The arithmetic unit is configured to generate a combined current according to the sensing current during the light sensing period. The control unit is coupled to the arithmetic unit to generate a first sensed value of the first photosensitive unit and a second sensed value of the second photosensitive unit according to the combined current.
In an embodiment of the disclosure, an optical sensing method includes following steps: a sensing current is provided during a light sensing period by a first photosensitive unit and a second photosensitive unit, a combined current is generated according to the sensing current during the light sensing period by an arithmetic unit, and a first sensed value of the first photosensitive unit and a second sensed value of the second photosensitive unit are generated according to the combined current by a control unit.
In view of the above, in the optical sensing circuit and the optical sensing method provided in one or more embodiments of the disclosure, the first photosensitive unit and the second photosensitive unit may share one arithmetic unit and one control circuit to generate the first sensed value and the second sensed value, so as to effectively reduce the circuit area occupied by the optical sensing circuit.
In order for the features and advantages of the disclosure to be more comprehensible, the following specific embodiments are described in detail in conjunction with the drawings.
Embodiments of the disclosure are described in detail with reference to the drawings for betting understanding of the disclosure. Whenever possible, devices/components/steps represented by the same reference numbers in the drawings and embodiments represent the same or similar parts.
In this embodiment, the first photosensitive unit 111 and the second photosensitive unit 112 are coupled to a first input terminal and a second input terminal of the first arithmetic unit 121, respectively. An output terminal of the first arithmetic unit 121 is coupled to an input terminal of the first ADC 131. The third photosensitive unit 113 and the fourth photosensitive unit 114 are coupled to a first input terminal and a second input terminal of the second arithmetic unit 122, respectively. An output terminal of the second arithmetic unit 122 is coupled to an input terminal of the second ADC 132. An output terminal of the first ADC 131 is coupled to the control circuit 133, and an output terminal of the second ADC 132 is coupled to the control circuit 133.
In this embodiment, the control circuit 133 may be, for instance, a digital signal processor (DSP), a programmable logic controller (PLC), or an application specific integrated circuit (ASIC), which should however not be construed as a limitation in the disclosure.
In this embodiment, the first arithmetic unit 121 and the second arithmetic unit 122 are further coupled to a switch signal output terminal of the control circuit 133 to obtain a switch signal SS provided by the control circuit 133. The first photosensitive unit 111, the second photosensitive unit 112, the third photosensitive unit 113, the fourth photosensitive unit 114, the first ADC 131, and the second ADC 132 are further coupled to an enabling signal output terminal of the control circuit 133 to obtain an enabling signal ES provided by the control circuit 133.
In this embodiment, the optical sensing circuit 100 may be applied to sense ambient light or flashing light sensing, which should however not be construed as a limitation in the disclosure. The first photosensitive unit 111, the second photosensitive unit 112, the third photosensitive unit 113, and the fourth photosensitive unit 114 may be a photodiode (PD) respectively and may respectively act as a sensing pixel of different colors. The first photosensitive unit 111, the second photosensitive unit 112, the third photosensitive unit 113, and the fourth photosensitive unit 114 may sense the ambient light or the flashing light to generate sensed values corresponding to different colors, respectively. For instance, the respective PD of the first photosensitive unit 111, the second photosensitive unit 112, and the third photosensitive unit 113 may be equipped with a color filter and may be configured to sense red light waveband, green light waveband, and blue light waveband in a visible light signal, respectively. The fourth photosensitive unit 114 may be configured to sense all wavebands of the visible light signal, so that the control unit 130 may generate sensed values of the red light, the green light, the blue light, and the visible light.
In this embodiment, taking the first photosensitive unit 111 and the second photosensitive unit 112 as examples, the first photosensitive unit 111 and the second photosensitive unit 112 may provide sensing currents (I01/I01′/I02/I02′) during a light sensing period. The first arithmetic unit 121 may generate a combined current (I11/I12) according to the sensing current during the light sensing period. The control unit 130 may generate a first sensed value of the first photosensitive unit 111 and a second sensed value of the second photosensitive unit 112 according to the combined current (I11/I12). Specific implementation manner of each step provided above will be elaborated below with reference to
In step S230, the optical sensing circuit 100 may generate a first combined current I11 according to the first sensing current I01 and the second sensing current I02 during the first light sensing period EP1 by the first arithmetic unit 121. As shown in
In step S240, the optical sensing circuit 100 may provide another first sensing current I01′ during a second light sensing period EP2 by the first photosensitive unit 111. In step S250, the optical sensing circuit 100 may provide another second sensing current I02′ during the second light sensing period EP2 by the second photosensitive unit 112. The first photosensitive unit 111 and the second photosensitive unit 112 may receive the enabling signal ES provided by the control circuit 133, respectively, so as to respectively perform an exposure operation during the second light sensing period EP2. As shown in
In step S260, the optical sensing circuit 100 may generate a second combined current I12 according to the another first sensing current I01′ and the another second sensing current I02′ during the second light sensing period EP2 by the first arithmetic unit 121. As shown in
In step S270, the optical sensing circuit 100 may generate a first sensed value D11 of the first photosensitive unit 111 and a second sensed value D12 of the second photosensitive unit 112 by the control unit 130 according to the first combined current I11 and the second combined current I12. In this embodiment, the first ADC 131 may convert the first combined current I11 and the second combined current I12 into a first digital signal V11 and a second digital signal V12. Next, the control circuit 133 may calculate the first sensed value and the second sensed value according to a first phase count value of the first digital signal V11 and a second phase count value of the second digital signal V12.
For instance, the first phase count value may represent a digital value of the first digital signal V11 and may correspond to a current value of the first combined current I11 (I11=I01+I02), and the second phase count value may represent a digital value of the second digital signal V12 and may correspond to a current value of the second combined current I12 (I12=I01′−I02′). It is assumed that the first sensing current I01 and the another first sensing current I01′ are respectively obtained in two exposure periods that are close to each other and have the same exposure time length, and thus the value of the first sensing current I01 may be close to or equal to the value of the another first sensing current I01′. Thereby, the control circuit 133 may add the first phase count value and the second phase count value to obtain the first arithmetic value, and the first arithmetic value may correspond to a value close or equal to twice the first sensing current I01 (I11+I12=2×I01). Similarly, it is assumed that the second sensing current I02 and the another second sensing current I02′ are respectively obtained in two exposure periods that are close to each other and have the same exposure time length, and thus the value of the second sensing current I02 may be close to or equal to the value of the another second sensing current I02′. Thereby, the control circuit 133 may subtract the first phase count value and the second phase count value from each other to obtain the second arithmetic value, and the second arithmetic value may correspond to a value close or equal to twice the second sensing current I02 (I11−I12=2×I02). As a result, the control circuit 133 may divide the first arithmetic value and the second arithmetic value by a reference value (the reference value may be, for instance, 2) to obtain the first sensed value D11 of the first photosensitive unit 111 and the second sensed value D12 of the second photosensitive unit 112. The first sensed value D11 may be close or equal to the value obtained by directly converting the first sensing current I01 (or the another first sensing current I01′), i.e., equal or analogous to the sensed result of the first photosensitive unit 111 during the first light sensing period EP1 (or the second light sensing period EP2). The second sensed value D12 may be close or equal to the value obtained by directly converting the second sensing current I02 (or the another second sensing current I02′), i.e., equal or analogous to the sensed result of the second photosensitive unit 112 during the first light sensing period EP (or the second light sensing period EP2). In addition, the reference value may be determined according to the sum of the first light sensing period EP1 and the second light sensing period EP2 and a multiple of the actual time length of one frame, and the reference value is a positive integer.
Note that the detailed manner of calculating and generating a third sensed value D13 and a fourth sensed value D14 of the third photosensitive unit 113 and the fourth photosensitive unit 114 may be deduced from the descriptions above and thus is briefly explained below.
In this embodiment, the optical sensing circuit 100 may provide a third sensing current I03 during the first light sensing period EP1 by the third photosensitive unit 113. The optical sensing circuit 100 may provide a fourth sensing current I04 during the first light sensing period EP1 by the fourth photosensitive unit 114. The third photosensitive unit 113 and the fourth photosensitive unit 114 may receive the enabling signal ES provided by the control circuit 133, respectively, so as to respectively perform an exposure operation during the first light sensing period EP1. The optical sensing circuit 100 may generate a third combined current I13 according to the third sensing current I03 and the fourth sensing current I04 during the first light sensing period EP1 by the second arithmetic unit 122. For instance, the second arithmetic unit 122 may add the third sensing current I03 and the fourth sensing current I04 generated during the first light sensing period EP1 to generate the third combined current I13 (I13=I03+I04).
In this embodiment, the optical sensing circuit 100 may provide another third sensing current I03′ in the second light sensing period EP2 through the third sensing current I03. The optical sensing circuit 100 may provide another fourth sensing current I04′ during the second light sensing period EP2 by the fourth photosensitive unit 114. The third photosensitive unit 113 and the fourth photosensitive unit 114 may receive the enabling signal ES provided by the control circuit 133, respectively, so as to respectively perform an exposure operation during the second light sensing period EP2. The optical sensing circuit 100 may generate a fourth combined current I14 according to the another third sensing current I03′ and the another fourth sensing current I04′ during the second light sensing period EP2 by the second arithmetic unit 122. For instance, the second arithmetic unit 122 may subtract the another third sensing current I03′ and the another fourth sensing current I04′ from each other to generate the fourth combined current I14 (I14=I03′−I04′). Thereby, the optical sensing circuit 100 may generate the third sensed value D13 of the third photosensitive unit 113 and the fourth sensed value D14 of the fourth photosensitive unit 114 according to the third combined current I13 and the fourth combined current I14 by the control unit 130.
As such, the optical sensing circuit 100 provided in this embodiment may effectively obtain the first sensed value D11 of the first photosensitive unit 111, the second sensed value D12 of the second photosensitive unit 112, the third sensed value D13 of the third photosensitive unit 113, and the fourth sensed value D14 of the fourth photosensitive unit 114. Moreover, in this embodiment, the optical sensing circuit 100 may obtain the sensed results of four photosensitive units by applying just two ADCs; hence, the optical sensing circuit 100 provided in this embodiment may effectively reduce the circuit area occupied by the ADC circuit in the optical sensing circuit 100.
In addition, in this embodiment, four photosensitive units exemplarily correspond to two arithmetic units, for instance, while the configuration manner and/or the circuit coupling manner the photosensitive units and the arithmetic units provided in the disclosure is not limited to what is shown in
In this embodiment, the arithmetic unit 421 includes a first current mirror circuit 4211, a second current mirror circuit 4221, a first multiplexer 4212, and a second multiplexer 4222. The first photosensitive unit 411 and the second photosensitive unit 412 may be a PD, respectively. The output terminal of the first multiplexer 4212 and an output terminal of the second multiplexer 4222 are coupled to the operational amplifier 431 by the circuit node N1 or coupled to the control unit 130 shown in
In this embodiment, the first current mirror circuit 4211 includes a first transistor T1, a second transistor T2, a third transistor T3, a fourth transistor T4, and a fifth transistor T5. A first terminal of the first transistor T1 is coupled to a voltage V1. The voltage V1 may be, for instance, a device operating voltage (VDD). A second terminal of the first transistor T1 is coupled to the cathode of the first photosensitive unit 411. A control terminal of the first transistor T1 is coupled to the second terminal of the first transistor T1. A first terminal of the second transistor T2 is coupled to the voltage V1. A second terminal of the second transistor T2 is coupled to the first input terminal of the first multiplexer 4212, and a control terminal of the second transistor T2 is coupled to the control terminal of the first transistor T1. A first terminal of the third transistor T3 is coupled to the voltage V1. A control terminal of the third transistor T3 is coupled to the control terminal of the first transistor T1. A first terminal of the fourth transistor T4 is coupled to a second terminal of the third transistor T3. A second terminal of the fourth transistor T4 is coupled to the voltage V2. A control terminal of the fourth transistor T4 is coupled to the first terminal of the fourth transistor T4. A first terminal of the fifth transistor T5 is coupled to the second input terminal of the first multiplexer 4212. A second terminal of the fifth transistor T5 is coupled to the voltage V2. A control terminal of the fifth transistor T5 is coupled to the control terminal of fourth transistor T4.
In this embodiment, the first transistor T1, the second transistor T2, and the third transistor T3 are respectively a p-type transistor, and the fourth transistor T4 and the fifth transistor T5 are respectively an n-type transistor. In this embodiment, the second terminal of the second transistor T2 may replicate the first sensing current I01 generated by the first photosensitive unit 411 during the first light sensing period and the second light sensing period. The first terminal of the fifth transistor T5 may replicate a first reverse sensing current 401 generated by the first photosensitive unit 411 during the first light sensing period and the second light sensing period.
In this embodiment, the second current mirror circuit 4221 includes a sixth transistor T6, a seventh transistor T7, an eighth transistor T8, a ninth transistor T9, and a tenth transistor T10. A first terminal of the sixth transistor T6 is coupled to the voltage V1. A second terminal of the sixth transistor T6 is coupled to the cathode of the first photosensitive unit 411. A control terminal of the sixth transistor T6 is coupled to the second terminal of the sixth transistor T6. A first terminal of the seventh transistor T7 is coupled to the voltage V1. A second terminal of the seventh transistor T7 is coupled to the first input terminal of the first multiplexer 4212, and a control terminal of the seventh transistor T7 is coupled to the control terminal of the sixth transistor T6. A first terminal of the eighth transistor T8 is coupled to the voltage V1. A control terminal of the eighth transistor T8 is coupled to the control terminal of the sixth transistor T6. A first terminal of the ninth transistor T9 is coupled to a second terminal of the eighth transistor T8. A second terminal of the ninth transistor T9 is coupled to the voltage V2. A control terminal of the ninth transistor T9 is coupled to the first terminal of the ninth transistor T9. A first terminal of the tenth transistor T10 is coupled to the second input terminal of the first multiplexer 4212. A second terminal of the tenth transistor T10 is coupled to the voltage V2. A control terminal of the tenth transistor T10 is coupled to the control terminal of the ninth transistor T9.
In this embodiment, the sixth transistor T6, the seventh transistor T7, and the eighth transistor T8 are respectively a p-type transistor, and the ninth transistor T9 and the tenth transistor T10 are respectively an n-type transistor. In this embodiment, the second terminal of the seventh transistor T7 may replicate the second sensing current I02 generated by the second photosensitive unit 412 during the first light sensing period and the second light sensing period. The first terminal of the tenth transistor T10 may replicate a second reverse sensing current −I02 generated by the second photosensitive unit 412 during the first light sensing period and the second light sensing period.
In this embodiment, the first multiplexer 4212 and the second multiplexer 4222 may respectively receive the switch signals SS1 and SS2 provided by a control unit (e.g., the control unit 130 shown in
In other words, the first multiplexer 4212 and the second multiplexer 4222 output the first sensing current I01 and the second sensing current I02 during the first light sensing period EP1, so that the circuit node N1 transmits the first combined current (i.e., I01+I02) to the operational amplifier 431 or a back-end control unit (e.g., the control unit 130 in
To sum up, in the optical sensing circuit and the optical sensing method provided in one or more embodiments of the disclosure, the arithmetic unit may be effectively applied in two adjacent exposure periods to combine the sensing currents of the two photosensitive units according to a specific arithmetic method, and the respective sensed values of the two photosensitive units are calculated by the back-end control circuit. In this way, the optical sensing circuit and optical sensing method of the disclosure may effectively generate the sensed value of the photosensitive unit, and may also effectively reduce the circuit area occupied by the readout circuit in the optical sensing circuit.
Although the disclosure has been disclosed in the above embodiments, the embodiments are not intended to limit the disclosure. Persons skilled in the art may make some changes and modifications without departing from the spirit and scope of the disclosure. Therefore, the protection scope of the disclosure shall be defined by the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
111116354 | Apr 2022 | TW | national |
This application claims the priority benefit of U.S. Provisional Application No. 63/255,966, filed on Oct. 15, 2021 and Taiwan Application No. 111116354, filed on Apr. 29, 2022. The entirety of each of the above-mentioned patent applications is hereby incorporated by reference herein and made a part of this specification.
Number | Date | Country | |
---|---|---|---|
63255966 | Oct 2021 | US |