Photoelectric conversion device, method for controlling photoelectric conversion device, and storage medium

By using the signal difference between effective pixels and optical black pixels in the photoelectric conversion device to calculate the correction value, the black level shift problem caused by the avalanche photodiode dark current under long-term driving is solved, and effective signal correction and image processing are achieved. Quality improvement.

CN118574029APending Publication Date: 2024-08-30CANON KK
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410198761.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-02-28
Filing Date
2024-02-22
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

When the photoelectric conversion device is driven for a long time, the increase in the dark current of the avalanche photodiode (APD) causes the black level deviation of the signal. It is difficult to fully correct the black level deviation of the signal using the traditional optical black pixel (OB pixel) correction method. .

Method used

By including effective pixels and optical black pixels in the photoelectric conversion device, the correction value is calculated using the signal difference inserted and removed by the light shielding part, which is used to correct the signal of the effective pixel and reduce the black level deviation.

Benefits of technology

Even under long-term driving, the black level deviation in the photoelectric conversion device can be effectively reduced and the image quality can be improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118574029A
    Figure CN118574029A
Patent Text Reader

Abstract

The invention provides a photoelectric conversion apparatus, a control method of the photoelectric conversion apparatus, and a storage medium. The photoelectric conversion device includes: a plurality of pixels including an effective pixel configured to receive light and an optical black pixel shielded from the light; a determination unit for determining a correction value for correcting a signal value of the effective pixel on the basis of a signal acquired from the optical black pixel; and an output unit for outputting an image using the correction value. The determination unit determines the correction value based on a difference between a first signal value indicating a signal value of the optical black pixel in a state in which a light shielding portion is inserted into an optical path of an imaging optical system and a second signal value indicating a signal value of the effective pixel, and a third signal value indicating a signal value of the effective pixel in a state in which the light shielding portion is inserted into the optical path of the imaging optical system. The third signal value indicates a signal value of the optical black pixel in a state where the light shielding portion is removed from the optical path of the imaging optical system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a photoelectric conversion device. Background Art

[0002] Japanese Patent Application Laid-Open No. 2022-106649 discusses a photoelectric conversion device that digitally counts the number of photons incident on an avalanche photodiode (APD) and outputs the count value from a pixel as a photoelectric conversion digital signal.

[0003] In addition to the signal based on the photoelectric conversion of the incident light, the signal of the pixel including the APD also includes the signal caused by the dark electron generated at the trap level of the pixel. Zhang Chao reported the phenomenon of increased dark current due to long-term driving of the photoelectric conversion device with APD in "SPAD requirements from consumer electronics to automotive," Int. SPAD Sensor Workshop (2022).

[0004] When dark current increases due to long-term driving of the photoelectric conversion device, the black level of the signal gradually shifts, which leads to a decrease in image quality when the output of the photoelectric conversion device is used to form an image.

[0005] There is known a method of using a commonly used solid-state image sensor to correct the black level of an effective pixel by using a value of optical black pixels (OB pixels) located outside an effective pixel region in an image pickup device. Summary of the invention

[0006] However, in a photoelectric conversion device including an avalanche photodiode (APD), the greater the amount of light incident on the APD, the greater the avalanche current that flows, so new trap levels may appear in the pixel. In addition, a large avalanche current causes a local temperature increase and the possibility that dark electrons generated at the trap level flow into the avalanche multiplication region increases.

[0007] Therefore, when the photoelectric conversion device is driven for a long time, the black level of the effective pixel area with a lot of incident light and the black level of the OB pixel without incident light are offset differently. Therefore, it is difficult to fully correct the black level deviation of the signal using the conventional black level correction using the OB pixel.

[0008] The present disclosure aims to reduce black level deviation in a photoelectric conversion device including an APD even when the photoelectric conversion device is driven for a long time.

[0009] According to one aspect of the present invention, there is provided a photoelectric conversion device, the photoelectric conversion device comprising: a photoelectric conversion unit including a plurality of pixels composed of avalanche photodiodes, the plurality of pixels including effective pixels configured to receive light and optical black pixels shielded from light; a determination unit for determining a correction value for correcting a signal value of the effective pixel based on a signal acquired from the optical black pixel; and an output unit for outputting an image using the correction value. The determination unit determines the correction value based on a difference between a first signal value and a second signal value, the first signal value indicating a signal value of the optical black pixel in a state where a light shielding portion is inserted into an optical path of an imaging optical system, the second signal value indicating a signal value of the effective pixel, and the third signal value indicating a signal value of the optical black pixel in a state where the light shielding portion is removed from the optical path of the imaging optical system.

[0010] Further features of the present invention will become apparent from the following description of exemplary embodiments with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Figure 1 is a diagram showing a configuration example of a photoelectric conversion element.

[0012] Figure 2 is a diagram showing a configuration example of a sensor substrate.

[0013] Figure 3 is a block diagram showing a configuration example of a circuit substrate.

[0014] Figure 4 FIG. 4 is a diagram showing an example of an equivalent circuit of a pixel and a signal processing circuit corresponding to the pixel.

[0015] Figure 5 is a diagram schematically showing the relationship between an avalanche photodiode (APD) operation and an output signal.

[0016] Figure 6 is a block diagram showing a functional configuration example of a photoelectric conversion device according to the first exemplary embodiment.

[0017] Figure 7 is a flowchart illustrating processing performed by the photoelectric conversion apparatus according to the first exemplary embodiment.

[0018] Figure 8is a flowchart illustrating processing performed by the photoelectric conversion apparatus according to the second exemplary embodiment.

[0019] Fig. 9 : is a setting screen showing the photoelectric conversion apparatus according to the second exemplary embodiment.

[0020] FIG. 10A to FIG. 10C is a diagram illustrating signal processing of the photoelectric conversion device according to the second exemplary embodiment.

[0021] Fig.11 is a flowchart illustrating processing performed by the photoelectric conversion apparatus according to the third exemplary embodiment.

[0022] Fig.12 is a block diagram showing a functional configuration example of a photoelectric conversion system. DETAILED DESCRIPTION

[0023] Various embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be noted that the embodiments described below are only examples for implementing the present invention, and the present invention is not limited to the embodiments described below. The features or elements described in the claims discussed in the embodiments below as shown in the figure, or the above overview, can be implemented individually or as a combination of multiple elements or their features when necessary, or when a combination of elements or features in a single embodiment is beneficial, or when there is no explicit description. In addition, in all drawings, the same figure mark is given to components, elements or features with corresponding functions, and their redundant description will be omitted.

[0024] Figure 1 1 is a diagram showing a configuration example of a photoelectric conversion element according to the first exemplary embodiment. A photoelectric conversion device including a photoelectric conversion element 100 having a stacked structure in which two substrates (e.g., a sensor substrate 11 and a circuit substrate 21) are stacked and electrically connected will be described below as an example.

[0025] Alternatively, a non-stacked structure in which the configuration included in the sensor substrate and the configuration included in the circuit substrate are arranged on a common semiconductor layer may also be used. The sensor substrate 11 includes a pixel region 12. The circuit substrate 21 includes a circuit region 22 configured to process a signal detected by the pixel region 12.

[0026] <Sensor substrate>

[0027] Figure 2is a diagram showing an example of a configuration of a sensor substrate 11. The pixel area 12 of the sensor substrate 11 includes a plurality of pixels 101 that are two-dimensionally cross-arranged in a plurality of row directions and column directions. The pixel area 12 includes an effective pixel area 13 and an optical black pixel (hereinafter referred to as an "OB pixel") area 14. Light can enter the effective pixel area 13 via the imaging optical system of the photoelectric conversion device. The OB pixel area 14 includes a light shielding member on each light incident surface of the pixel 101 for shielding the photoelectric conversion unit from incident light. Each pixel 101 includes a photoelectric conversion unit 102, and the photoelectric conversion unit 102 includes an avalanche photodiode (hereinafter referred to as an "APD"). There is no particular limitation on the number of rows and columns of the pixel array of the pixel area 12. In addition, although Figure 2 The case where the OB pixels are provided on the upper side of the effective pixel region 13 is shown, but the OB pixels may be provided on the lower side, right side, or left side of the effective pixel region 13 or may be provided in a plurality of regions such as the upper side and the left side.

[0028] Although in Figure 2 Although not shown in the figure, it is desirable to separate the OB pixels in the effective pixel area 13 and the OB pixel area 14 and place them at a predetermined distance or more from each other. That is, the OB pixels are spaced a predetermined distance from the effective pixels to prevent or reduce erroneous counts in the OB pixels. As is well known, a phenomenon known as avalanche light emission occurs in a photoelectric conversion device including an APD. In the event of avalanche light emission, the generated secondary electrons may enter adjacent pixels, which may increase the count of the values ​​of the adjacent pixels, resulting in erroneous counts. Therefore, in the case where the effective pixels and the OB pixels are close to each other, there is a possibility that the count of the OB pixels will increase due to the avalanche light emission caused by the incident light on the effective pixels. Therefore, it is desirable to separate the OB pixels in the effective pixel area 13 and the OB pixel area and place them at a predetermined distance or more from each other to prevent erroneous counts in the OB pixels.

[0029] <Circuit Board>

[0030] Figure 3 1 is a diagram showing a configuration example of the circuit substrate 21. The circuit substrate 21 includes a signal processing circuit 103, a reading circuit 112, a control pulse generating section 115, a horizontal scanning circuit 111, a signal line 113, and a vertical scanning circuit 110. The signal processing circuit 103 processes the Figure 2 The charge photoelectrically converted by the photoelectric conversion unit 102 of the pixel 101 including the OB pixel.

[0031] The vertical scanning circuit 110 receives the control pulse provided from the control pulse generating section 115, and provides the control pulse to the pixel 101. The vertical scanning circuit 110 is composed of a logic circuit such as a shift register and an address decoder. The signal output from the photoelectric conversion section 102 of the pixel 101 is processed by the signal processing circuit 103. The signal processing circuit 103 includes a counter and a memory, and stores a digital value in the memory. The horizontal scanning circuit 111 inputs a control pulse for selecting each column in sequence to the signal processing circuit 103 to read the signal from the memory of the pixel 101 storing the digital signal. From the signal processing circuit 103 of the pixel 101 selected by the vertical scanning circuit 110, a signal is output to the signal line 113 for each selected column. The signal output to the signal line 113 is output to the outside of the photoelectric conversion device via the output circuit 114.

[0032] <Connection between sensor substrate and circuit substrate>

[0033] like Figure 2 and Figure 3 As shown in , in a plan view, a plurality of signal processing circuits 103 are placed in a region overlapping with the pixel region 12. In a plan view, a vertical scanning circuit 110, a horizontal scanning circuit 111, a reading circuit 112, an output circuit 114, and a control pulse generating section 115 are placed so as to overlap with a region between an edge of the sensor substrate 11 and an edge of the pixel region 12. In other words, the sensor substrate 11 includes the pixel region 12 and a non-pixel region around at least a portion of the pixel region 12. In a plan view, the vertical scanning circuit 110, the horizontal scanning circuit 111, the reading circuit 112, the output circuit 114, and the control pulse generating section 115 are placed in a region overlapping with the non-pixel region.

[0034] The layout of the signal line 113, the read circuit 112, and the output circuit 114 is not limited to Figure 3 For example, the signal line 113 may extend in the row direction, and the reading circuit 112 may be placed at the end of the extended signal line 113. In addition, the function of the signal processing unit does not have to be provided one for each photoelectric conversion unit 102, but a plurality of photoelectric conversion units 102 may share one signal processing unit to perform signal processing in sequence.

[0035] <Equivalent Circuit of Pixel>

[0036] Figure 4 It is shown Figure 2 and Figure 3FIG. 2 is a diagram of an equivalent circuit of each pixel 101 in FIG. 2 and a signal processing circuit 103 corresponding to the pixel 101. The APD 201 generates a charge pair based on incident light by photoelectric conversion. One of the two nodes of the APD 201 is connected to a power line supplied with a driving voltage VL (first voltage). The other of the two nodes of the APD 201 is connected to a power line supplied with a driving voltage VH (second voltage) higher than the voltage VL. Figure 4 In the embodiment, one node of the APD 201 is an anode and the other node of the APD 201 is a cathode. A reverse bias voltage for causing the APD 201 to perform an avalanche multiplication operation is provided to the anode and cathode of the APD 201. By creating a state in which the above voltage is provided, the charge generated by the incident light causes avalanche multiplication and generates an avalanche current.

[0037] In the case of providing a reverse bias voltage, there are Geiger mode and linear mode. In Geiger mode, the APD 201 is operated at a voltage difference between the anode and the cathode that is greater than the breakdown voltage. In linear mode, the APD 201 is operated at a voltage difference between the anode and the cathode that is close to the breakdown voltage or less than or equal to the breakdown voltage. The APD 201 operated in Geiger mode is called a single photon avalanche diode (SPAD). For example, in the case of a SPAD, the voltage VL (first voltage) is -30V, and the voltage VH (second voltage) is 1V.

[0038] A quenching element 202 is connected to a power supply line supplied with a driving voltage VH, and is also connected to one of the anode and the cathode of the APD 201. The quenching element 202 functions as a load circuit (quenching circuit) during signal multiplication caused by avalanche multiplication, and has a function of reducing the voltage supplied to the APD 201 to prevent avalanche multiplication (quenching operation). The quenching element 202 also has a function of restoring the voltage supplied to the APD 201 to the driving voltage VH by passing a current corresponding to the voltage drop caused by the quenching operation (recharging operation).

[0039] The signal processing circuit 103 includes a waveform shaping section 210, a counter circuit 211, and a selection circuit 212. Figure 4 The case where the signal processing circuit 103 includes the waveform shaping unit 210 , the counter circuit 211 , and the selection circuit 212 is shown, but in this specification, the signal processing circuit 103 should include at least one of the waveform shaping unit 210 , the counter circuit 211 , and the selection circuit 212 .

[0040] The waveform shaping section 210 shapes the voltage change in the cathode of the APD 201 acquired when detecting photons, and outputs a pulse signal. For example, an inverter circuit is used as the waveform shaping section 210. Figure 4 Although the case where a single inverter is used as the waveform shaping section 210 is shown, a circuit having a plurality of inverters connected in series may be used, or other circuits capable of producing a waveform shaping effect may be used.

[0041] The counter circuit 211 counts the pulse signal output from the waveform shaping section 210 and stores the count value. When a control pulse RES is supplied via the driving line 213, the signal stored in the counter circuit 211 is reset.

[0042] The control pulse SEL is Figure 4 The drive line 214 ( Figure 3 (not shown) from Figure 3 The vertical scanning circuit 110 in FIG. 1 is provided to the selection circuit 212, and the counter circuit 211 and the signal line 113 are switched between electrical connection and disconnection. The selection circuit 212 includes, for example, a buffer circuit for outputting a signal.

[0043] A switch such as a transistor may be provided to switch the electrical connection between the quenching element 202 and the APD 201 or between the photoelectric converter 102 and the signal processing circuit 103. Similarly, the supply of the voltage VH or VL to the photoelectric converter 102 may be electrically switched using a switch such as a transistor.

[0044] <Circuit drive>

[0045] Figure 5 is a diagram schematically showing the relationship between the APD operation and the output signal. Node A and node B indicate the input side and the output side of the waveform shaping section 210, respectively. From time t0 to time t1, a potential difference VH-VL is applied to the APD 201. When a photon is incident on the APD 201 at time t1, avalanche multiplication occurs in the APD 201, and an avalanche multiplication current flows in the quenching element 202 and the voltage of the node A drops. After the voltage drop amount further increases and the potential difference applied to the APD 201 decreases, the avalanche multiplication in the APD 201 stops at time t2, and the voltage level of the node A does not decrease by more than a predetermined value. Thereafter, from time t2 to time t3, a current compensating for the voltage drop flows from the voltage VL into the node A, and at time t3, the node A stabilizes to the original potential level. At this time, the portion of the output waveform exceeding the threshold from the node A is shaped by the waveform shaping section 210, and the shaped portion is output from the node B as a signal.

[0046] <System Block Diagram>

[0047] Figure 6 is a system block diagram showing the photoelectric conversion apparatus 300 according to the first exemplary embodiment. Figure 6 Some of the functional blocks shown in the figure are implemented by causing a computer of the photoelectric conversion device 300 (e.g., the control unit 302 acting as a central processing unit (CPU)) to execute a computer program stored in a memory (storage unit 305) as a storage medium. Alternatively, some or all of the functional blocks may be implemented using hardware. Examples of hardware include a field programmable gate array (FPGA), a dedicated circuit (application-specific integrated circuit (ASIC)), and a processor (reconfigurable processor, digital signal processor (DSP)). Figure 6 The functional modules shown in FIG. 1 do not have to be enclosed in the same housing and may be formed as separate devices connected to each other via signal paths.

[0048] The photoelectric conversion device 300 includes an imaging unit 301 (photoelectric conversion element 100, imaging optical system 3010, light shielding mechanism 3011 for shielding light from entering the photoelectric conversion element 100), a control unit 302, a signal processing unit 303, a storage unit 305, and a detection unit 304. The signal processing unit 303 processes a signal acquired by the photoelectric conversion element 100.

[0049] The imaging unit 301 includes a photoelectric conversion element 100 that outputs an image signal, an imaging optical system 3010, and a light shielding mechanism 3011 for shielding the photoelectric conversion element 100 from incident light. The photoelectric conversion element 100 includes a plurality of pixels composed of an APD and including effective pixels and OB pixels. The effective pixels receive light, while the OB pixels are shielded from light. The photoelectric conversion element 100 acquires signal values ​​from the OB pixels and the effective pixels. The light shielding mechanism 3011 also includes a light shielding portion and a driving portion. The light shielding portion is formed of a material such as a pigment that absorbs light. The driving portion controls the open / closed state of the light shielding portion 3011. The driving portion is composed of, for example, an ammeter, and controls the open / closed state of the light shielding mechanism 3011 by controlling the voltage applied to the ammeter. The light shielding mechanism 3011 may be composed of an aperture of the imaging optical system 3010 and an open / close mechanism for opening / closing the aperture. By completely closing the aperture, the photoelectric conversion element 100 is shielded from incident light. Instead of changing the position or shape of the light shielding portion and the hole, the photoelectric conversion portion 102 may be shielded from incident light by changing the applied voltage using a liquid crystal filter whose transmittance can be controlled based on the applied voltage.

[0050] The control unit 302 controls imaging. Specifically, the control unit 302 receives a user instruction and determines whether to start or end imaging. The control unit 302 also detects image acquisition conditions of the photoelectric conversion device 300. The image acquisition conditions are a set of parameters indicating the state during imaging, such as time, parameters, and temperature of the photoelectric conversion element 100.

[0051] The signal processing unit 303 acquires a signal output from the photoelectric conversion element 100 and outputs an image based on a correction value determined based on the signal value of the OB pixel. The signal processing unit 303 includes a signal acquisition unit 3030 and a storage unit 305. The signal acquisition unit 3030 determines a black level correction value based on the signal acquired by the photoelectric conversion device 300. The storage unit 305 stores the black level correction value determined by the signal acquisition unit 3030. The signal processing unit 303 also includes an image output unit 3031. The image output unit 3031 corrects the signal value of the pixel 101 acquired by the photoelectric conversion element 100 by using the black level correction value stored in the storage unit 305, and outputs an image.

[0052] The photoelectric conversion device 300 further includes a detection unit 304. The detection unit 304 detects a change in the image acquisition condition of the photoelectric conversion device 300 (a change from the first condition to the second condition). The control unit 302 detects, from the image acquisition condition, an internal change in the image acquisition condition caused by a change in a parameter set for the photoelectric conversion device 300 and an external change in the image acquisition condition caused by continuous use time and an external environment. The detection unit 304 detects, for example, a change in the sensor temperature acquired by a thermometer based on the photoelectric conversion element 100 and a change in the digital gain set for the photoelectric conversion device 300.

[0053] The photoelectric conversion device 300 according to the present exemplary embodiment uses three types of signals as described below in black level correction. Specifically, the photoelectric conversion device 300 calculates the difference between a first signal value calculated based on the signal of the OB pixel area 14 in a state where the shading mechanism 3011 is inserted into the optical path of the imaging optical system 3010 and a second signal value calculated based on the signal of the effective pixel area 13. Then, the photoelectric conversion device 300 calculates a third signal value based on the signal of the OB pixel area 14 in a state where the shading mechanism 3011 is removed from the optical path of the imaging optical system 3010. Thereafter, the photoelectric conversion device 300 calculates a black level correction value by using a fourth signal value, which is the difference between the first signal value and the second signal value, and the third signal value. Thus, even in the case where the photoelectric conversion device 300 including the APD is driven for a long time, the black level deviation can be sufficiently reduced.

[0054] <Flowchart>

[0055] Figure 7 is a flowchart showing black level correction signal processing. Figure 7 (and the following Figure 8 and Fig.11 The processing shown in the flowchart in ) is performed by Fig.12The control unit 801 (CPU) in the embodiment is performed based on a computer program stored in the storage unit 802, and the control unit 801 (CPU) is a computer. Hereinafter, the letter "S" is added at the beginning of each step number to omit the phrase "step number". The black level correction according to the present exemplary embodiment includes two stages, such as a preparation stage (steps S400 to S404) and a correction stage (steps S405 to S409). In the preparation stage, the shading mechanism 3011 is inserted into the optical path of the imaging optical system 3010, and data for correction is acquired. In the correction stage, correction processing is performed during the acquisition of the captured image. A black level correction signal processing method as a photoelectric conversion device control method will be described below.

[0056] First, the preparation stage will be described. In step S400, the control unit 302 determines whether a correction value update is required. In the case where a period of time has passed since the first or last imaging or in the case where the image acquisition conditions have changed ("Yes" in step S400), the processing proceeds to step S401. In the case where a previous correction value can be used as described below, the preparation stage can be skipped, and the processing can proceed to step S405. In step S401, the imaging unit 301 inserts the shading mechanism 3011 into the optical path of the imaging optical system 3010. In step S402, the signal processing unit 303 acquires a first signal value from the signal of the OB pixel area 14 in a state where the shading mechanism 3011 is inserted into the optical path of the imaging optical system 3010, and stores the acquired first signal value in the storage unit 305. The average value or median value of the plurality of pixels 101 of the OB pixel area 14 can be used as the first signal value. At this time, each pixel whose signal value differs from the expected signal value by a specific threshold or more than a specific threshold can be excluded as a defective pixel. Alternatively, an average value of a plurality of frames may be calculated to calculate the first signal value.

[0057] In step S403, the signal processing unit 303 acquires a second signal value from the signal of the effective pixel area 13 in a state where the light shielding mechanism 3011 is inserted into the optical path of the imaging optical system 3010, and stores the acquired second signal value in the storage unit 305. An average value or a median value of a plurality of pixels 101 of the effective pixel area 13 may be used as the second signal value. Similar to the first signal value, defective pixels may also be excluded, and an average value of a plurality of frames may be calculated. Thereafter, in step S404, the signal processing unit 303 determines a fourth signal value indicating a difference between the second signal value and the first signal value. The above steps are a preparation stage.

[0058] The correction phase will now be described. In step S405, the control unit 302 determines whether to start video recording. In a case where the correction value update is completed and video recording can be started ("Yes" in step S405), the processing enters step S406. In the case where a user instruction to stop video recording is issued, the processing ends. In the case where video recording is to be started, the video recording unit 301 removes the shading mechanism 3011 from the optical path of the video recording optical system 3010 and starts acquiring captured images. In step S407, the signal processing unit 303 calculates the third signal value based on the signal of the OB pixel area 14 during the acquisition of the captured image. Then, in step S408, the signal processing unit 303 determines the black level correction value C based on the fourth signal value and the third signal value. Specifically, the fourth signal value L is used. OFF and the third signal value L OB , calculate the correction value C as follows.

[0059] Correction value C = L OB +L OFF ×α(Formula 1)

[0060] In Formula 1, α is a correction coefficient for correcting the difference between the first image acquisition condition in the preparation stage during the insertion of the light shielding mechanism 3011 and the second image acquisition condition in the correction stage during the removal of the light shielding mechanism 3011. As shown in Formula 1, using the fifth signal value and the third signal value L OB Calculate the correction value C by correcting the fourth signal value L by using α OFF The details of α will be described below. By calculating the value L of each signal from the pixel 101 in the effective pixel area 13 B(X,Y) Subtract the correction value C from the pixel to obtain the signal value L of the effective pixel with the corrected black level. B_COR(X,Y) Specifically, the signal processing unit 303 (image output unit 3031) corrects the signal values ​​of the effective pixels by using the correction value C and outputs an image.

[0061] L BCOR(X,Y) =L B(X,Y) -C (Formula 2)

[0062] In step S409, the control unit 302 determines whether to continue imaging. In the case of continuing imaging ("No" in step S409), the process returns to step S407. In the case of needing to update the correction value or in the case of issuing a user instruction, the process may return to step S401. In the case of issuing an instruction to end imaging or in the case of setting imaging for a predetermined time and the predetermined time has passed, imaging ends.

[0063] As described above, the photoelectric conversion device 300 according to the present exemplary embodiment calculates the black level correction value C by using the fourth signal value and the third signal value. Thus, even in the case where the photoelectric conversion device 300 is driven for a long time, the black level deviation can be sufficiently reduced. The effect of the present invention will be described below by comparison with the conventional black level correction method.

[0064] <Effect>

[0065] For the sake of simplicity, the following description will be made by taking the case where α is 1 as an example. The case where α is 1 is a case where there is no difference between the first image acquisition condition in the preparation stage during the insertion of the light shielding mechanism 3011 and the second image acquisition condition in the correction stage during the removal of the light shielding mechanism 3011. The following description will be made of the case where α is not 1. The case where α is not 1 is a case where there is a difference between the first image acquisition condition in the preparation stage during the insertion of the light shielding mechanism 3011 and the second image acquisition condition in the correction stage during the removal of the light shielding mechanism 3011.

[0066] The black level L of the OB pixel can be used OB , Black level L of effective pixels EFF and the number of photons incident on the effective pixel L PH , the signal value L3 of the OB pixel and the signal value L5 of the effective pixel in the correction stage are calculated as follows.

[0067] L3=L OB ,L5=L EFF +L PH (Formula 3)

[0068] The conventional black level correction method corrects the black level by subtracting the signal value L3 of the OB pixel from the signal value L5 of the effective pixel. Specifically, the correction signal value L of the effective pixel is calculated as follows: 99 .

[0069] L 99 =L5-L3=L EFF +L PH -L OFF (Formula 4)

[0070] As shown in Formula 4, in order to make L 99 Equal to the number of photons incident on the effective pixel L PH , that is, in order to correctly correct the black level, L EFF and L OBHowever, as described above, in the case where a photoelectric conversion device including a photoelectric conversion element having an APD is driven for a long time, the black level of an effective pixel area having a large amount of incident light and the black level of an OB pixel having no incident light become different from each other. Therefore, in the case where a conventional black level correction method is used, L EFF With L OB The difference between them may increase and it may be difficult to adequately correct the black level deviation of the signal.

[0071] In contrast, in addition to acquiring the signal value L3 of the OB pixel in the correction phase, the photoelectric conversion element 100 according to the present exemplary embodiment acquires the signal value L1 of the OB pixel and the signal value L2 of the effective pixel in the preparation phase, and performs black level correction using the difference L4 between L2 and L1. In the case where α is 1, L1 is equal to L OB And L2 is equal to L EFF , so the correction signal value L6 of the effective pixel is as follows.

[0072] L6=L5-(L3+L2-L1)=L5-L2=L EFF +L PH -L EFF =L PH (Formula 5)

[0073] Specifically, by performing correction according to the present exemplary embodiment, even when the black level of the effective pixel region 13 having a large amount of incident light and the black level of the OB pixel having no incident light are different from each other, the number of photons L incident on the effective pixel can be correctly calculated. PH .

[0074] <Correction Factor>

[0075] Next, a correction coefficient α for correcting a difference between a first image acquisition condition in a preparation stage during insertion of the light shielding mechanism 3011 and a second image acquisition condition in a correction stage during removal of the light shielding mechanism 3011 will be described below.

[0076] The image acquisition conditions include, for example, the time for integrating the number of photons incident on the photoelectric conversion section 102 (integration time), the digital gain for multiplying the integrated number of photons, and the temperature of the photoelectric conversion element 100. When the dark current value changes depending on the integration time, the digital gain, and the temperature of the photoelectric conversion element 100, α is used to correct the dark current difference between the first image acquisition condition in the preparation stage and the second image acquisition condition in the correction stage. The detection unit 304 detects a change in the image acquisition condition of the photoelectric conversion device 300 including the photoelectric conversion element 100. The detection unit 304 may also be configured to detect a change in the image acquisition condition when an image processing parameter such as a digital gain is controlled by the control unit 302.

[0077] The black level L of the OB pixel in the preparation stage OB The black level L of the effective pixel EFF The difference between OFF(preparation) As shown below.

[0078] L OFF(preparation) =L EFF -L OB (Formula 6)

[0079] Since the dark current is proportional to the integration time and digital gain, the difference L between the effective pixel and the OB pixel is proportional to the integration time and digital gain. OFF(preparation) , the difference in black level during the correction phase L OFF(correction) As shown below.

[0080] L OFF(correction) =L OFF(preparation) ×(T O ×D O ) / (T P ×D P ) (Formula 7)

[0081] In Formula 7, T O and D O are the integration time and digital gain of the preparation phase, and T P and D P are the integration time and digital gain of the preparation phase, respectively. Therefore, the correction coefficient α is calculated as follows.

[0082] α=(T O ×D O ) / (T P ×D P ) (Formula 8)

[0083] Although the correction of the difference in integration time and digital gain has been described above, it is more desirable to calculate the correction coefficient in consideration of the temperature difference of the photoelectric conversion element 100 between the preparation stage and the correction stage.

[0084] The reason is as follows: Generally speaking, the higher the temperature, the larger the dark current, that is, the dark current has temperature dependency, which may differ depending on the characteristics of the APD used in the photoelectric conversion element 100 .

[0085] As described above, the use of the correction coefficient α enables the black level deviation to be reduced while taking into account the dark current difference between the first image acquisition condition in the preparation stage and the second image acquisition condition in the correction stage. Specifically, by calculating the black level correction value based on the fifth signal value (the fifth signal value obtained by correcting the fourth signal value using α) and the third signal value, the black level deviation can be reduced while taking into account the dark current difference between the first image acquisition condition and the second image acquisition condition.

[0086] Generally speaking, the optimal values ​​of the integration time and digital gain used in the correction stage vary depending on the subject to be photographed in the correction stage, and therefore the integration time and digital gain used in the correction stage are not always the same as those used in the preparation stage. Since the black level deviation can be reduced while using the integration time and digital gain that are optimal for the subject to be photographed in the correction stage, it is desirable to use the correction coefficient α.

[0087] <Variant 1>

[0088] In the case where the pixel 101 of the photoelectric conversion element 100 includes an on-chip color filter and the photoelectric conversion device 300 is capable of acquiring color information, the OB pixel signal value and the signal value of the effective pixel can be acquired for each color channel in steps S402, S403, and S406. As described above, the greater the amount of incident light, the greater the possibility that a large amount of dark current flows. When an ordinary subject is photographed, the amount of light incident on the green pixel is greater than the amount of light incident on the red pixel and the blue pixel, so the possibility that the dark current in the green pixel increases significantly is higher than the possibility that the dark current in the red pixel and the blue pixel increases significantly. By calculating the signal value of each color channel, the black level deviation caused by the difference in dark current increase between color channels can be reduced. Specifically, in the shielded state, the first signal value of each of the red pixel, the blue pixel, and the green pixel is acquired from the OB pixel. Similarly, in the shielded state, the second signal value of each of the red pixel, the blue pixel, and the green pixel is acquired from the effective pixel. In addition, in the light incident state, the third signal value of each of the red pixel, the blue pixel, and the green pixel is acquired from the OB pixel. Based on the acquired signal value, the correction value for each color is calculated.

[0089] As described above, in a photoelectric conversion device including an APD, the greater the amount of light incident on the APD, the greater the avalanche current that flows, so that a new trap level may appear in the pixel 101. Since the characteristics of the new trap level that appears when the photoelectric conversion device is driven for a long time are not always the same as the characteristics of the trap level that caused the dark current before the photoelectric conversion device was driven, the temperature dependence of the dark current may be different. Therefore, when the photoelectric conversion device is driven for a long time, the temperature dependence of the dark current may change depending on the driving time.

[0090] Therefore, while taking into account the temperature-dependent change of the dark current caused by the driving of the photoelectric conversion device, the photoelectric conversion device according to the second exemplary embodiment calculates a plurality of fourth signal values ​​at different temperatures in the preparation stage to correct the black level deviation. The photoelectric conversion device has a functional configuration and a hardware configuration that are substantially the same as those of the photoelectric conversion device of the first exemplary embodiment, and only the differences will be described below.

[0091] According to the present exemplary embodiment, the control unit 302 controls the temperature of the photoelectric conversion device. The temperature control includes, for example, obtaining a measurement value (temperature) of a thermometer, activating a temperature control unit (cooling device), and cooling level control. A Peltier element, a heater, and / or a fan can be used as the temperature control unit.

[0092] Figure 8 is a flowchart illustrating black level correction signal processing according to the second exemplary embodiment.

[0093] In step S500, the control unit 302 determines whether a correction value update is required. In the case where a period of time has passed since the first or last imaging or in the case where the image acquisition conditions have changed ("Yes" in step S500), the process proceeds to step S501. In the case where a previous correction value can be used as described below, the preparation stage can be skipped and the process proceeds to step S511. In step S501, the imaging unit 301 inserts the shading mechanism 3011 into the optical path of the imaging optical system 3010. In step S502, the control unit 302 controls the temperature of the photoelectric conversion element 100 to the first temperature TL. After the temperature of the photoelectric conversion element 100 reaches the first temperature TL, the photoelectric conversion element 100 is controlled to be at the first temperature TL. Figure 7 As in steps S402 to S404 in FIG. 1 , in steps S503 to S505, the signal processing unit 303 obtains a first signal value at the temperature TL from the signal of the OB pixel area 14, and obtains a second signal value at the temperature TL from the signal of the effective pixel. Then, the signal processing unit 303 determines a fourth signal value at the temperature TL based on the difference between the first signal value and the second signal value.

[0094] In step S506, the control unit 302 controls the temperature of the photoelectric conversion element 100 to a second temperature TH higher than the first temperature TL. After the temperature of the photoelectric conversion element 100 reaches the second temperature TH, Figure 7 As in steps S402 to S404 in , in steps S507 to S509, the signal processing unit 303 obtains a first signal value at temperature TH from the signal of the OB pixel area 14, and obtains a second signal value at temperature TH from the signal of the effective pixel. Then, the signal processing unit 303 determines a fourth signal value at temperature TH based on the difference between the first signal value and the second signal value at temperature TH. Finally, in step S510, the signal processing unit 303 determines the dark current temperature dependence coefficient β based on the second signal value at temperature TL obtained in step S504 and the second signal value at temperature TH obtained in step S508. As is known to all, in general, the dark current temperature dependence can be approximated by the following Arrhenius equation:

[0095]

[0096] Where T is the temperature and k is the Boltzmann constant.

[0097] <Calculation of β>

[0098] Therefore, the dark current temperature dependence coefficient β is calculated as follows:

[0099]

[0100] Among them, L EFF_TL is the second signal value at temperature TL, and L EFF_TH is the second signal value at temperature TH.

[0101] As described above, the photoelectric conversion device according to the second exemplary embodiment calculates the second signal values ​​at a plurality of different temperatures in the preparation stage to calculate the dark current temperature dependency coefficient β after driving the photoelectric conversion device. Thus, it is possible to correct the black level deviation while taking into account the change in the dark current temperature dependency caused by driving the photoelectric conversion device.

[0102] The correction phase is similar to Figure 7. Specifically, in step S511, the control unit 302 determines whether to start video recording. In the case of starting video recording ("Yes" in step S511), the processing enters step S512. In the case of not starting video recording ("No" in step S511), the processing ends. In step S512, the video recording unit 301 removes the shading mechanism 3011 and starts video recording. In step S513, the signal processing unit 303 calculates the third signal value based on the signal of the OB pixel area 14. At this time, the control unit 302 obtains the temperature of the photoelectric conversion element 100. In step S514, the signal processing unit 303 obtains the correction value based on the temperature of the photoelectric conversion element 100, the fourth signal value, the third signal value and the dark current temperature dependence coefficient β. The signal processing unit 303 uses the correction value to correct the signal value of the effective pixel and outputs an image.

[0103] <Variation Example: Execution Condition Setting>

[0104] Although in Figure 8 In the embodiment, steps S501 to S504 for calculating the signal value at temperature TL and steps S507 to S509 for calculating the signal value at temperature TH are performed continuously, but the steps at temperature TL and the steps at temperature TH can also be performed separately. In this case, the control unit 302 controls so that the acquisition of the first signal value of the OB pixel and the acquisition of the second signal value of the valid pixel are performed under the execution condition set by the user. In this case, step S506 can be changed to a process for determining whether the control unit 302 satisfies the set execution condition. The control unit 302 also acquires the signal value at the predetermined temperature set by the user when each predetermined temperature is reached. Another option is that the condition set by the user may not be time but temperature. Since the signal for correction can be acquired at the same temperature each time, it is ideal to specify the temperature as a condition. At this time, for example, two different values ​​such as 20 degrees and 40 degrees can also be set.

[0105] Generally speaking, the temperature control unit takes about several minutes to change the temperature, depending on the type of the temperature control unit. Therefore, in the case where steps S504 and S505 are performed continuously, a normal captured image cannot be obtained for several minutes. On the contrary, in the case where the shading mechanism 3011 is removed in steps S504 and S505 and the subsequent steps are performed after the temperature reaches TH, a normal captured image can be obtained during the several minutes between steps S504 and S505. Therefore, this is more ideal because the time during which the captured image cannot be obtained is reduced.

[0106] The control unit 302 may use the time set by the user as a trigger to obtain the first signal value and the second signal value. Figure 8In the example shown, the photoelectric conversion device includes a temperature control unit and controls the temperature of the photoelectric conversion element 100 to TL and TH, but the temperature control unit does not necessarily have to be included in the photoelectric conversion device. For example, in the case of using the photoelectric conversion device to monitor an external location, the photoelectric conversion device is usually used continuously for 24 hours a day, and thus the temperature of the photoelectric conversion device may vary between daytime and nighttime. Therefore, the temperature difference between daytime and nighttime can be used to obtain a signal at a relatively low temperature at night, and to obtain a signal at a relatively high temperature during the daytime.

[0107] A specific example will now be described. Fig. 9 A setting screen for acquiring the temperature dependency of dark current in the case of monitoring using a photoelectric conversion device is shown. Fig. 9 The photoelectric conversion device shown in is configured to obtain the first signal value and the second signal value for correction at a predetermined time every day. Fig. 9 In the photoelectric conversion device shown in , the control unit 302 performs control so that the first signal value is acquired from the OB pixel and the second signal value is acquired from the effective pixel under the execution condition (predetermined time) set by the user. Fig. 9 In the example shown in , the correction data is acquired at 2:00 when the nighttime temperature is relatively low and at 14:00 when the daytime temperature is relatively high. Fig. 9 The shading mechanism 3011 is automatically inserted at the time set in the control unit 100, and steps S501 to S505 are performed at night and steps S507 to S509 are performed during the day. In this case, step S506 is skipped.

[0108] FIG. 10A to FIG. 10C FIG. 4 shows a flow chart for updating the value of the dark current temperature dependence coefficient β. Fig. 10A As shown in , the photoelectric conversion device stores in advance the second signal value LEFF_TL0 at the temperature TL0 and the second signal value LEFF_TH0 at the temperature TH0. Therefore, the initial value β0 of the current temperature dependence coefficient is calculated as shown below.

[0109]

[0110] like Fig. 10B As shown in , in the case where steps S501 to S504 are performed at night, the second signal value LEFF_TL1 at the temperature TL1 is acquired. At this time, LEFF_TL0 is updated to LEFF_TL1, and the dark current temperature dependency coefficient β1 is obtained.

[0111]

[0112] like Fig. 10CAs shown in FIG. 1 , when steps S507 to S509 are performed during the day, the second signal value L at the temperature TH1 is obtained. EFF_TH1 Similarly, L EFF_TH0 Updated to L EFF_TH1 , and the dark current temperature dependence coefficient β2 is obtained.

[0113]

[0114] As described above, as the photoelectric conversion device drive time increases, the dark current temperature dependency coefficient is periodically updated. Thus, taking into account the change in dark current temperature dependency, the black level deviation can be corrected regardless of the photoelectric conversion device drive time.

[0115] Although in Fig. 9 In the example shown in , the acquisition of correction data is set at a set time every day, but the setting is not necessarily every day, and it can also be weekly, monthly or annual. Another option is that instead of two types of daytime and nighttime, three or more acquisitions of signals for correction can be set, or the user can be allowed to acquire signals for correction at a desired time.

[0116] In the case where the photoelectric conversion element 100 does not include a temperature control unit and uses the change in ambient temperature to obtain a signal for correction, especially in the case where the condition set by the user is not temperature but time, the temperature of the photoelectric conversion element 100 when obtaining the signal may not always be the same every time. Therefore, in the case where the temperature of the photoelectric conversion element 100 when obtaining the signal is higher than or equal to the threshold value, it is desirable to update the second signal value (L _EFF_TH1 ), and when the temperature is lower than the threshold, it is more desirable to update the second signal value (L _EFF_TL1 ). In particular, in the case where the user obtains the signal for correction at the desired time, since the temperature of the photoelectric conversion element 100 cannot be obtained, it is ideal to automatically change the second signal value to be updated based on the threshold. Specifically, under the conditions set by the user, it is ideal to classify the correction data according to the temperature of the photoelectric conversion element 100 when it is executed, and it is ideal to store the classified data as data for each temperature. The control unit 302 determines whether the temperature of the photoelectric conversion element 100 at the time set by the user is higher than or equal to the threshold, and when the temperature is higher than or equal to the threshold, the signal processing unit 303 obtains the second signal value at a high temperature. When the temperature is lower than the threshold, the signal processing unit 303 obtains the second signal value at a low temperature.

[0117] <Correction of Black Level Difference for Each Pixel>

[0118] As described above, in a photoelectric conversion device including an APD, the greater the amount of light incident on the APD, the greater the avalanche current that flows, and thus a new trap level may appear in the pixel 101. Therefore, in the case where the photoelectric conversion device is used as a monitoring camera for point-monitoring a specific location, the dark current increase rate may be higher in a pixel with a large amount of incident light than in a pixel with less incident light. Specifically, the black level may vary from pixel to pixel.

[0119] Therefore, the photoelectric conversion device according to the third exemplary embodiment acquires the second signal value of each pixel and performs correction to reduce the difference between the black levels of the pixels. The photoelectric conversion device has substantially the same functional configuration and hardware configuration as the photoelectric conversion device according to the first exemplary embodiment, and only the differences will be described below.

[0120] Fig.11 is a flowchart showing the black level correction signal processing according to the third exemplary embodiment. In step S600, the control unit 302 determines whether the correction value update is required. In the case of performing the correction value update ("Yes" in step S600), the processing proceeds to step S601, and in the case of not performing the update ("No" in step S600), the processing proceeds to step S605. In step S601, the imaging unit 301 inserts the shading mechanism 3011 into the optical path of the imaging optical system 3010. Then, in step S602, the signal processing unit 303 acquires the first signal value from the signal of the OB pixel area 14 using the signal acquisition unit 3030 in the state where the shading mechanism 3011 is inserted into the optical path of the imaging optical system 3010, and stores the acquired first signal value in the storage unit 305. In step S603, the signal processing unit 303 acquires the second signal value from the signal of the effective pixel area 13 using the signal acquisition unit 3030 in a state where the light shielding mechanism 3011 is inserted into the optical path of the imaging optical system 3010, and stores the acquired second signal value in the storage unit 305. At this time, the signal processing unit 303 acquires the average value of the plurality of pixels 101 of the effective pixel area 13 as the second signal value and acquires the sixth signal value of each pixel 101 of the effective pixel area 13, and stores the acquired second signal value and the acquired sixth signal value in the storage unit 305. Thereafter, in step S604, the signal processing unit 303 determines the fourth signal value obtained by subtracting the first signal value from the second signal value. The above steps are a preparation stage.

[0121] The correction phase will now be described. In step S605, the control unit 302 determines whether to start imaging. In the case of starting imaging ("Yes" in step S605), the processing proceeds to step S606, and in the case of not starting imaging ("No" in step S605), the processing ends. In step S606, the imaging unit 301 removes the shading mechanism 3011 from the optical path of the imaging optical system 3010 and starts acquiring a captured image. In step S607, the signal processing unit 303 acquires a third signal value from the signal of the OB pixel area 14 during the acquisition of the captured image. In step S608, the signal processing unit 303 determines a correction value based on the sixth signal value, the fourth signal value, and the third signal value. Specifically, the sixth signal value L is used. D(X,Y) , the fourth signal value L OFF and the third signal value L OB , calculate the correction value C as follows.

[0122] L B_COR =L B(X,Y) -C1-C2(X,Y)(Formula 14)

[0123] C1=L OB +L OFF ×α1(Formula 15)

[0124] C2(X,Y)=L D(X,Y) ×α2(Formula 16)

[0125] In the formula, α1 and α2 are correction coefficients for correcting the difference between the image acquisition condition in the preparation stage during the insertion of the shading mechanism 3011 and the image acquisition condition in the correction stage during the removal of the shading mechanism 3011. As described above, not only the third signal value and the fourth signal value of each pixel 101 of the effective pixel area 13 are used, but also the sixth signal value. Thus, it is possible to correct the black level deviation in consideration of the change in the dark current in each pixel 101. In step S609, the control unit 302 determines whether to continue the video recording. In the case of continuing the video recording ("No" in step S609), the process returns to step S607.

[0126] Although the sixth signal value is calculated for each pixel 101, the sixth signal value may be calculated for each region cut out of the image region to a predetermined size. In this case, the image processing load is reduced compared to the case where the calculation is performed for each pixel 101.

[0127] <Photoelectric conversion system>

[0128] Fig.12800 is a system block diagram showing a photoelectric conversion system using a photoelectric conversion device according to any one of the first to third exemplary embodiments. The photoelectric conversion system 800 includes a photoelectric conversion device 300 including a photoelectric conversion element 100, a control unit 801, a storage unit 802, and a communication unit 803.

[0129] The photoelectric conversion element 100 captures an optical image formed by the imaging optical system 3010. The signal read from the photoelectric conversion element 100 is subjected to processing such as image generation, first correction processing, second correction processing, black level correction, gamma curve adjustment, noise reduction, and data compression processing by the signal processing unit 303, and a final image is generated. In the case where the photoelectric conversion element 100 includes a red-green-blue (RGB) on-chip color filter, it is desirable to further perform white balance correction and color conversion processing.

[0130] The control unit 801 includes a CPU as a computer therein, and functions as a control unit that controls the operations of the components of the entire photoelectric conversion device 300 based on a computer program stored in a memory as a storage medium. The control unit 801 controls the length of the exposure period of each frame of the photoelectric conversion element 100 via the control pulse generation section 115 of the photoelectric conversion element 100, and controls the insertion and removal of the light shielding mechanism 3011.

[0131] The storage unit 802 includes, for example, a recording medium such as a memory card and a hard disk. The communication unit 803 includes a wireless interface and / or a wired interface, outputs a generated image to the outside of the photoelectric conversion system 800, and receives a signal from the outside.

[0132] Other embodiments

[0133] The embodiments of the present invention may also be implemented by providing software (program) for performing the functions of the above-described embodiments to a system or device via a network or various storage media, and a computer or a central processing unit (CPU) or a microprocessing unit (MPU) of the system or device reads and executes the program.

[0134] While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments.The following claims are to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures and functions.

Claims

1. A photoelectric conversion device, comprising: a photoelectric conversion unit including a plurality of pixels composed of avalanche photodiodes, the plurality of pixels including effective pixels configured to receive light and optical black pixels shielded from light; a determining unit configured to determine a correction value for correcting a signal value of the valid pixel based on a signal acquired from the optical black pixel; as well as an output unit, the output unit being configured to output an image using the correction value, wherein the determination unit determines the correction value based on a difference between a first signal value and a second signal value and a third signal value, wherein the first signal value indicates a signal value of the optical black pixel in a state where the shading portion is inserted into an optical path of the imaging optical system, the second signal value indicates a signal value of the valid pixel, and the third signal value indicates a signal value of the optical black pixel in a state where the shading portion is removed from the optical path of the imaging optical system.

2. The photoelectric conversion device according to claim 1, further comprising a detection unit, wherein the detection unit is used to detect an image acquisition condition of the photoelectric conversion device. in, In a case where the detection unit detects that a first condition in a state where the shading portion is inserted into the optical path of the imaging optical system and a second condition in a state where the shading portion is removed from the optical path of the imaging optical system are different from each other, the determination unit determines the correction value based on a fifth signal value obtained by correcting a fourth signal value indicating the difference between the first signal value and the second signal value using a correction coefficient for correcting the difference between the first condition and the second condition.

3. The photoelectric conversion device according to claim 2, wherein: The first condition and the second condition indicate at least one of an integration time for integrating the number of photons incident on the pixel of the photoelectric conversion unit and a digital gain for multiplying the integrated number of photons.

4. The photoelectric conversion device according to claim 2, wherein: The first condition and the second condition indicate a temperature of the photoelectric conversion unit.

5. The photoelectric conversion device according to claim 1, in, The photoelectric conversion unit includes an on-chip color filter, and The determining unit obtains the first signal value, the second signal value, and the third signal value of each color channel.

6. The photoelectric conversion device according to claim 2, wherein: The determination unit determines the correction value using the correction coefficient obtained by using the second signal value at a first temperature and the second signal value at a second temperature higher than the first temperature.

7. The photoelectric conversion device according to claim 6, wherein: The output unit removes the light shielding portion and outputs a normal captured image during a period between acquiring the second signal value at the first temperature and acquiring the second signal value at the second temperature. 8 . The photoelectric conversion device according to claim 6 , further comprising a control unit configured to perform control so as to obtain the first signal value and the second signal value under an execution condition set by a user.

9. The photoelectric conversion device according to claim 8, wherein: In a case where the execution condition is time, the control unit performs control so as to acquire the first signal value and the second signal value using the time set by the user as a trigger.

10. The photoelectric conversion device according to claim 9, in, The control unit determines whether the temperature of the photoelectric conversion unit at the time set by the user is higher than or equal to a threshold value, and When the temperature is higher than or equal to the threshold, the determining unit obtains the second signal value at a high temperature, whereas when the temperature is lower than the threshold, the determining unit obtains the second signal value at a low temperature.

11. The photoelectric conversion device according to claim 1, wherein The determination unit further determines the correction value using a signal value of each of the effective pixels in a state in which the light shielding section is inserted into the optical path of the imaging optical system.

12. A control method for a photoelectric conversion device, the photoelectric conversion device comprising a photoelectric conversion unit, the photoelectric conversion unit comprising a plurality of pixels composed of avalanche photodiodes, the plurality of pixels comprising effective pixels configured to receive light and optical black pixels shielded from light, the method comprising: determining a correction value for correcting a signal value of the effective pixel based on a signal acquired from the optical black pixel; as well as outputting an image based on the correction value, wherein the correction value is determined based on a difference between a first signal value and a second signal value and a third signal value, the first signal value indicating a signal value of the optical black pixel in a state where a shading portion is inserted into an optical path of an imaging optical system, the second signal value indicating a signal value of the valid pixel, and the third signal value indicating a signal value of the optical black pixel in a state where the shading portion is removed from the optical path of the imaging optical system.

13. A non-transitory computer-readable storage medium storing a program for causing a computer to execute a control method of a photoelectric conversion device, the photoelectric conversion device comprising a photoelectric conversion unit, the photoelectric conversion unit comprising a plurality of pixels composed of avalanche photodiodes, the plurality of pixels comprising effective pixels configured to receive light and optical black pixels shielded from light, the method comprising: determining a correction value for correcting a signal value of the effective pixel based on a signal acquired from the optical black pixel; as well as outputting an image based on the correction value, wherein the correction value is determined based on a difference between a first signal value and a second signal value and a third signal value, the first signal value indicating a signal value of the optical black pixel in a state where a shading portion is inserted into an optical path of an imaging optical system, the second signal value indicating a signal value of the valid pixel, and the third signal value indicating a signal value of the optical black pixel in a state where the shading portion is removed from the optical path of the imaging optical system.