Photosensitive Circuit, Image Processing Method and Electronic Device
By designing a circuit for collecting and calculating noise signals in the photosensitive circuit, the noise problem of the photosensitive circuit when acquiring image signals is solved, the noise removal effect is achieved, and the image display effect and imaging quality are improved.
Patent Information
- Application Number
- CN202210743426.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-28
- Publication Date
- 2025-06-27
- Estimated Expiration
- 2042-06-28
AI Technical Summary
The photosensitive circuit is susceptible to external interference when collecting image signals, resulting in unnecessary noise in the image signals, and thus dark fringes are generated when displaying images, affecting the imaging quality.
A photosensitive circuit is designed, including a photosensitive element, a power supply, a first sampling circuit, a second sampling circuit and a first computing circuit. The second acquisition module separately collects the noise signal generated at the power supply, and calculates it with the voltage signal at the photosensitive element collected by the first acquisition module, removes the noise signal, and outputs a pure image signal.
It effectively removes noise in the image signal, avoids dark fringes when displaying images, and improves the display effect and imaging quality of the image.
Smart Images

Figure CN115134479B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the technical field of terminal devices, and particularly relates to a photosensitive circuit, an image processing method, and an electronic device. Background Art
[0002] With the continuous development of science and technology, taking pictures with digital cameras or mobile phones has gradually replaced traditional cameras. Digital cameras or mobile phones use photosensitive elements to replace the photosensitive film in traditional cameras, convert optical signals into electrical signals, and then record them on a memory card after analog-to-digital conversion.
[0003] In some scenarios, a digital camera or a mobile phone samples an image signal through a photosensitive circuit, and then converts the image signal from an analog signal to a digital signal through a subsequent AD conversion circuit, and converts the digital signal into a final image signal through a processing circuit. During this process, due to external interference or influence, the image signal collected by the photosensitive circuit will have unnecessary noise, such as power supply noise. If this noise is superimposed on the image signal, dark stripes will be generated when the image is displayed, and the imaging quality is poor, affecting the display effect of the image. Summary of the Invention
[0004] The purpose of the embodiments of this application is to provide a photosensitive circuit, an image processing method, and an electronic device, which can remove the noise in the image signal, avoid generating dark stripes when displaying the image, and improve the imaging quality.
[0005] In a first aspect, the embodiments of this application provide a photosensitive circuit, including: a photosensitive element for photosensing and outputting a first voltage signal, where the first voltage signal includes a noise signal generated by the power supply and an image signal generated by the photosensitive element photosensing; a power supply electrically connected to the photosensitive element for power supply; a first sampling circuit electrically connected to the photosensitive element for collecting the first voltage signal output by the photosensitive element; a second sampling circuit electrically connected to the power supply for collecting a second voltage signal of the power supply, where the second voltage signal carries the noise signal generated by the power supply; a first arithmetic circuit, where the first arithmetic circuit is electrically connected to the first sampling circuit and the second sampling circuit respectively, for performing arithmetic operations on the first voltage signal and the second voltage signal to remove the noise signal and output the image signal.
[0006] In a second aspect, the embodiments of this application provide an image processing method, including: obtaining a first voltage signal output by a photosensitive element photosensing, where the first voltage signal includes a noise signal generated by the power supply and an image signal generated by the photosensitive element photosensing; obtaining a second voltage signal of the power supply, where the second voltage signal carries the noise signal generated by the power supply; performing arithmetic processing on the first voltage signal and the second voltage signal to remove the noise signal and obtain an image signal.
[0007] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor. When the program or instruction is executed by the processor, the steps of the method in the second aspect are implemented.
[0008] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method in the second aspect are implemented.
[0009] In a fifth aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method in the second aspect.
[0010] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the second aspect.
[0011] In the embodiment of the present application, a photosensitive circuit provides a photosensitive element for photosensing and outputting a first voltage signal. The first voltage signal includes a noise signal generated by a power supply and an image signal generated by the photosensitive element through photosensing; a power supply, electrically connected to the photosensitive element for power supply; a first sampling circuit, electrically connected to the photosensitive element and capable of collecting the first voltage signal of the photosensitive element; a second sampling circuit, electrically connected to the power supply and capable of collecting a second voltage signal of the power supply, and the second voltage signal carries the noise signal generated by the power supply; a first arithmetic circuit, which is electrically connected to the first sampling circuit and the second sampling circuit respectively, and is used to perform arithmetic operations on the first voltage signal and the second voltage signal to remove the noise signal and output an image signal.
[0012] In this way, the second acquisition module separately acquires the noise signal generated at the power supply, and the first acquisition module acquires the voltage signal at the photosensitive element. Due to external influence, the image signal at the photosensitive element acquired by the first acquisition module will be superimposed with the noise signal generated at the power supply. The first arithmetic circuit performs arithmetic operations on the noise signal at the power supply acquired by the second acquisition module and the image signal superimposed with the noise signal generated at the power supply, so as to remove the noise signal included in the voltage signal acquired by the first acquisition module and output a pure image signal. Since the noise signal superimposed on the image signal is removed, no dark stripes will be generated when displaying the image, improving the display effect and imaging quality of the image. Description of the Drawings
[0013] Figure 1 Shows a schematic structural diagram of the photosensitive circuit provided by the embodiment of the present application;
[0014] Figure 2Shows a schematic structural diagram of a photosensitive circuit provided by an embodiment of the present application;
[0015] Figure 3 Shows a schematic flowchart of an image processing method provided by an embodiment of the present application;
[0016] Figure 4 Shows a schematic hardware structure diagram of an electronic device provided by an embodiment of the present application;
[0017] Figure 5 Shows a schematic structural diagram of an electronic device provided by an embodiment of the present application.
[0018] Reference numerals:
[0019] 101 - photosensitive element; 102 - power supply; 103 - first sampling circuit; 104 - second sampling circuit; 105 - first operation circuit; 1020 - power follower. Detailed implementation manners
[0020] Next, the technical solutions in the embodiments of the present application will be clearly described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art belong to the scope of protection of the present application.
[0021] The terms "first", "second", etc. in the description and claims of the present application are used to distinguish similar objects, rather than to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. generally belong to the same category, and do not limit the number of objects. For example, the first object can be one or multiple. In addition, "and / or" in the description and claims means at least one of the connected objects, and the character " / " generally represents an "or" relationship between the associated objects before and after.
[0022] In some scenarios, the photosensitive process of the pixel photosensitive circuit is divided into four steps, namely reset, exposure, first sampling, end of exposure, and second sampling. Then, the difference is taken between the results of the first sampling and the second sampling to obtain the image signal. The analog signal is then converted into a digital signal by the subsequent AD conversion circuit, and the digital signal is converted into an image signal by circuits such as ISP and CPU. The most important thing in this process is to perform a subtraction operation between the signals of the two samplings to obtain the required image signal. Since the power supply in the pixel photosensitive circuit is easily interfered by the outside world, it is easy to cause different noise values in the signals of the two samplings. Therefore, subtracting the signals of the two samplings will generate unnecessary noise errors. When this noise is superimposed on the image signal, it will affect the display effect of the image signal and easily generate dark stripes.
[0023] The following will Figure 1 and Figure 2 , through specific embodiments and their application scenarios, the photosensitive circuit provided by the embodiments of the present application will be described in detail.
[0024] As Figure 1 shown, the photosensitive circuit includes: a photosensitive element 101 for photosensitively outputting a first voltage signal, the first voltage signal including a noise signal generated by a power supply 102 and an image signal generated by photosensitively sensing of the photosensitive element 101; a power supply 102 electrically connected to the photosensitive element 101 for power supply; a first sampling circuit 103 electrically connected to the photosensitive element 101 for collecting the first voltage signal output by the photosensitive element 101; a second sampling circuit 104 electrically connected to the power supply 102 for collecting a second voltage signal of the power supply 102, the second voltage signal carrying the noise signal generated by the power supply 102; a first arithmetic circuit 105, the first arithmetic circuit 105 being electrically connected to the first sampling circuit 103 and the second sampling circuit 104 respectively for performing an operation on the first voltage signal and the second voltage signal to remove the noise signal in the first voltage signal and output an image signal.
[0025] Specifically, a pixel unit includes a photosensitive element 101, a power supply 102, a source follower 1020, a selection switch Q4, and a reset switch Q1. Multiple pixel units form a pixel photosensitive array. Among them, the power supply 102 is used to supply power to the photosensitive element 101. The power supply 102 can be an AVDD power supply 102, and the photosensitive element 101 can be a photosensitive diode W1. The reset switch is used for exposure reset, and the selection switch is used to select the pixel column for exposure from the pixel photosensitive array. The selection switch and the reset switch can be double-base diodes.
[0026] In a possible implementation, the second sampling circuit 104 includes: a first sampling branch, the input end of the first sampling branch is connected to the power supply 102, and the output end of the first sampling branch is connected to the positive input end of the first operational amplifier, for collecting a first voltage sub-signal of the power supply 102 at the start of exposure; a second sampling branch, the input end of the second sampling branch is connected to the power supply 102, and the output end of the second sampling branch is connected to the negative input end of the first operational amplifier, for collecting a second voltage sub-signal of the power supply 102 after the end of exposure; a first operational amplifier, the first operational amplifier operates on the first voltage sub-signal and the second voltage sub-signal to obtain a second voltage signal.
[0027] Please refer to Figure 2 , the sampling unit includes a first sampling circuit 103, a second sampling circuit 104 and a first operational circuit 105. Among them, the first sampling branch includes a first switching device Q9, a first capacitor C4 and a second switching device Q11, and the second sampling branch includes a third switching device Q10, a second capacitor C5 and a fourth switching device Q12; the input end of the first switching device Q9 is connected to the power supply 102, the output end of the first switching device Q9 is respectively connected to the input ends of the first capacitor C4 and the second switching device Q11, and the output end of the second switching device Q11 is connected to the positive input end of the first operational amplifier M1; the input end of the third switching device Q10 is connected to the power supply 102, the output end of the third switching device Q10 is respectively connected to the input ends of the second capacitor C5 and the fourth switching device Q12, and the output end of the fourth switching device Q12 is connected to the negative input end of the first operational amplifier M1; at the start of exposure, control the first switching device Q9 to conduct to store the first voltage sub-signal in the first capacitor C4, and control the third switching device Q10 to conduct to store the second voltage sub-signal in the second capacitor C5; after the end of exposure, control the second switching device Q11 and the fourth switching device Q12 to conduct, and input the first voltage sub-signal and the second voltage sub-signal into the first operational amplifier M1.
[0028] Specifically, the first switching device Q9 to the fourth switching device Q12 can all be double-base diodes. The emitters of the four double-base diodes are all used to receive the control timing sequence, and the exposure reset is performed through the reset switch. After performing an exposure reset once as the start of the exposure, the exposure is carried out after the exposure starts. Among them, in the first sampling branch, the first base of the double-base diode serving as the first switching device Q9 is connected to the positive pole of the AVDD power supply 102, and the second base of the double-base diode Q9 is respectively connected to the first base of the double-base diode serving as the second switching device Q11 and the first capacitor C4. The second base of the double-base diode Q11 is connected to the non-inverting input terminal of the first operational amplifier M1. In the second sampling branch, the first base of the double-base diode serving as the third switching device Q10 is connected to the positive pole of the AVDD power supply 102, and the second base of the double-base diode Q10 is respectively connected to the first base of the double-base diode serving as the fourth switching device Q12 and the second capacitor C5. The second base of the double-base diode Q12 is connected to the inverting input terminal of the first operational amplifier M1.
[0029] After performing an exposure reset once through the reset switch Q1, the exposure pixel columns are selected by the selection switch. At the start of the exposure, the control timing sequence CLK1 controls the double-base diode Q9 to sample the voltage of the AVDD power supply 102 and store it in the first capacitor C4. After the exposure ends, the control timing sequence CLK2 controls the double-base diode Q10 to sample the voltage of the AVDD power supply 102 and store it in the second capacitor C5. After the exposure ends, the control timing sequence CLK3 controls the double-base diode Q11 and the double-base diode Q12 to conduct, and inputs the first voltage sub-signal in the first capacitor C4 and the second voltage sub-signal in the second capacitor C5 into the first operational amplifier M1 for operation.
[0030] In a possible implementation manner, the first sampling circuit 103 includes: a third sampling branch, the input end of the third sampling branch is connected to the photosensitive element 101, and the output end of the third sampling branch is connected to the non-inverting input terminal of the second operational amplifier M2, and is used to collect the third voltage sub-signal of the photosensitive element 101 at the start of the exposure; a fourth sampling branch, the input end of the fourth sampling branch is connected to the photosensitive element 101, and the output end of the fourth sampling branch is connected to the inverting input terminal of the second operational amplifier M2, and is used to collect the fourth voltage sub-signal of the photosensitive element 101 after the exposure ends; the second operational amplifier M2, and the second operational amplifier M2 operates on the third voltage sub-signal and the fourth voltage sub-signal to obtain the first voltage signal.
[0031] Please refer to Figure 2, the third sampling branch includes a fifth switching device Q5, a third capacitor C1, and a sixth switching device Q7, and the fourth sampling branch includes a seventh switching device Q6, a fourth capacitor C2, and an eighth switching device Q8; the input end of the fifth switching device Q5 is connected to the photosensitive element 101, the output end of the fifth switching device Q5 is respectively connected to the input ends of the third capacitor C1 and the sixth switching device Q7, and the output end of the sixth switching device Q7 is connected to the positive input end of the second operational amplifier M2; the input end of the seventh switching device Q6 is connected to the photosensitive element 101, the output end of the seventh switching device Q6 is respectively connected to the input ends of the fourth capacitor C2 and the eighth switching device Q8, and the output end of the eighth switching device Q8 is connected to the negative input end of the second operational amplifier M2; at the beginning of the exposure, the fifth switching device Q5 is controlled to conduct to store the third voltage sub-signal in the third capacitor C1, and the seventh switching device Q6 is controlled to conduct to store the fourth voltage sub-signal in the fourth capacitor C2; after the exposure ends, the sixth switching device Q7 and the eighth switching device Q8 are controlled to conduct, and the third voltage sub-signal and the fourth voltage sub-signal are input to the second operational amplifier M2.
[0032] Specifically, as Figure 2 shown, the fifth switching device Q5 to the eighth switching device Q8 can all be double-base diodes. The emitters of the four double-base diodes are all used to receive the control timing CLK1, and the exposure is reset through the reset switch. One exposure reset is used as the start of the exposure, and the exposure is carried out after the start of the exposure. Among them, in the third sampling branch, the first base of the double-base diode serving as the fifth switching device Q5 is connected to the cathode of the photosensitive diode W1, and the second base of the double-base diode Q5 is respectively connected to the first base of the double-base diode serving as the sixth switching device Q7 and the third capacitor C1, and the second base of the double-base diode Q7 is connected to the positive input end of the second operational amplifier M2. In the fourth sampling branch, the first base of the double-base diode serving as the seventh switching device Q6 is connected to the anode of the photosensitive diode W1, and the second base of the double-base diode Q6 is respectively connected to the first base of the double-base diode serving as the eighth switching device Q8 and the fourth capacitor C2, and the second base of the double-base diode Q8 is connected to the negative input end of the second operational amplifier M2.
[0033] After an exposure reset is performed through the reset switch Q1, the exposure pixel columns are selected by the selection switch. At the start of exposure, the timing control CLK1 controls the double-base diode Q5 to sample the voltage of the photosensitive diode W1 and store it in the third capacitor C1. After the exposure ends, the timing control CLK2 controls the double-base diode Q6 to sample the voltage of the photosensitive diode W1 and store it in the fourth capacitor C2. After the exposure ends, the timing control CLK3 controls the double-base diode Q7 and the double-base diode Q8 to conduct, and inputs the third voltage sub-signal in the third capacitor C1 and the fourth voltage sub-signal in the fourth capacitor C2 into the second operational amplifier M2 for operation.
[0034] In a possible implementation, the first operation circuit 105 includes a third operational amplifier M3. The output terminal of the first sampling circuit 103 is electrically connected to the non-inverting input terminal of the third operational amplifier M3, and the output terminal of the second sampling circuit 104 is electrically connected to the inverting input terminal of the third operational amplifier M3.
[0035] Among them, the non-inverting input terminal of the third operational amplifier M3 is connected to the output terminal of the second operational amplifier M2, and the inverting input terminal of the third operational amplifier M3 is connected to the output terminal of the first operational amplifier M1, so as to operate on the first voltage signal and the second voltage signal.
[0036] It is worth noting that the above Figure 2Among them, the first capacitor C4, the second capacitor C5, the third capacitor C1, and the fourth capacitor C2 are all grounded to GND. Before the exposure starts, the double-base diodes Q11, Q7, Q8, and Q12 are not conducting. The control timing CLK1 controls the double-base diodes Q9 and Q5 to conduct to respectively collect the voltage of the AVDD power supply 102 and the voltage of the photosensitive diode W1 and store them correspondingly in the first capacitor C4 and the second capacitor C5. After the exposure ends, the control timing CLK2 controls the double-base diodes Q6 and Q10 to conduct to respectively collect the voltage of the AVDD power supply 102 and the voltage of the photosensitive diode W1 again, and the control timing CLK3 controls the double-base diodes Q11, Q7, Q8, and Q12 to conduct, input the first voltage sub-signal and the second voltage sub-signal into the first operational amplifier M1, input the third voltage sub-signal and the fourth voltage sub-signal into the second operational amplifier M2. After the first operational amplifier M1 performs the operation, the power supply 102 noise VCDS2 at two sampling moments before and after the exposure is obtained. After the second operational amplifier M2 performs the operation, the image signal VCDS1 mixed with the power supply 102 noise is obtained. The third operational amplifier M3 performs the operation on VCDS1 and VCDS2 to obtain the effective image signal VCSD after removing the power supply 102 noise, eliminating the influence of the power supply 102 noise. Finally, the final image signal is obtained through the subsequent circuit. In this way, through the circuit for eliminating the power supply 102 noise provided by the embodiment of the present application, by collecting the voltage of the power supply 102 before and after the exposure and performing the operation through the first operational amplifier, the noise of the power supply 102 before and after the exposure is obtained; then through the third operational amplifier, the image signal doped with noise is operated with the noise of the power supply 102 before and after the exposure, effectively filtering out the power supply 102 noise, improving the imaging quality, and reducing the generation of phenomena such as dark stripes.
[0037] In addition, in order to further reduce the power supply 102 noise, a magnetic shielding element can be added during the circuit routing to shield the interference of magnetic fields such as inductance on the AVDD power supply 102, enhance the anti-interference ability of the AVDD power supply 102, reduce the probability of generating dark stripes, and further improve the imaging quality.
[0038] Through the technical solution disclosed in the embodiments of the present application, the second acquisition module separately acquires the noise signal generated at the power supply, and the first acquisition module acquires the voltage signal at the photosensitive element. Due to external influence, the image signal at the photosensitive element acquired by the first acquisition module will be superimposed with the noise signal generated at the power supply. The first arithmetic circuit performs an operation on the noise signal at the power supply acquired by the second acquisition module and the image signal superimposed with the noise signal generated at the power supply, so as to remove the noise signal included in the voltage signal acquired by the first acquisition module and output a pure image signal. Since the superimposed noise signal on the image signal is removed, no dark stripes will be generated when displaying the image, improving the display effect and imaging quality of the image.
[0039] Figure 3 The flowchart shows a schematic flow of an image processing method provided by an embodiment of the present application. This method can be executed by a terminal device. In other words, the method can be executed by software or hardware installed in the terminal device. As Figure 3 shown, the method may include the following steps.
[0040] Step S301: Obtain a first voltage signal output by the photosensitive element upon photosensing.
[0041] Among them, the first voltage signal includes the noise signal generated by the power supply and the image signal generated by the photosensitive element upon photosensing.
[0042] Specifically, step S301 includes: obtaining a first voltage sub-signal of the photosensitive element at the start of exposure and a second voltage sub-signal of the photosensitive element at the end of exposure; performing an operation on the first voltage sub-signal and the second voltage sub-signal through a first operational amplifier to obtain the first voltage signal.
[0043] Step S303: Obtain a second voltage signal of the power supply.
[0044] Among them, the second voltage signal carries the noise signal generated by the power supply.
[0045] Specifically, step S303 includes: obtaining a third voltage sub-signal of the power supply at the start of exposure; obtaining a fourth voltage sub-signal of the power supply at the end of exposure; performing an operation on the third voltage sub-signal and the fourth voltage sub-signal through a second operational amplifier to obtain the second voltage signal.
[0046] Step S305: Perform arithmetic processing on the first voltage signal and the second voltage signal to remove the noise signal and obtain an image signal.
[0047] After obtaining the image signal, display the image corresponding to the image signal.
[0048] Specifically, the image signal obtained by performing an operation on the first voltage signal and the second voltage signal to remove the noise signal is a valid image signal. When displaying the image corresponding to the valid image signal, since the noise interference is eliminated, the imaging quality is improved and dark stripes are avoided.
[0049] It should be noted that the image processing method provided in the embodiments of the present application is implemented based on the above photosensitive circuit. The similarities or similarities between the image processing method provided in the embodiments of the present application and the above photosensitive circuit can be referred to each other, and the embodiments of the present application will not be elaborated herein.
[0050] Through the technical solution provided in the embodiments of the present application, the second acquisition module separately acquires the noise signal generated at the power supply, and the first acquisition module acquires the voltage signal at the photosensitive element. Due to external influences, the image signal at the photosensitive element acquired by the first acquisition module will be superimposed with the noise signal generated at the power supply. The first arithmetic circuit performs an operation on the noise signal at the power supply acquired by the second acquisition module and the image signal superimposed with the noise signal generated at the power supply, so as to remove the noise signal included in the voltage signal acquired by the first acquisition module and output a pure image signal. Since the noise signal superimposed on the image signal is removed, dark stripes will not be generated when displaying the image, and the display effect and imaging quality of the image are improved.
[0051] Optionally, as Figure 4 shown, the embodiments of the present application further provide an electronic device 400, including a processor 401 and a memory 402. The memory 402 stores a program or instruction that can run on the processor 401. When the program or instruction is executed by the processor 401, it implements each step of the above image processing method embodiment and can achieve the same technical effect. To avoid repetition, it will not be elaborated here.
[0052] It should be noted that the electronic device in the embodiments of the present application includes a mobile electronic device and a non-mobile electronic device.
[0053] Figure 5 FIG. is a schematic diagram of the hardware structure of an electronic device for implementing the embodiments of the present application.
[0054] The electronic device 500 includes, but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, and a processor 510 and other components.
[0055] Those skilled in the art can understand that the electronic device 500 may further include a power supply (such as a battery) for supplying power to each component. The power supply can be logically connected to the processor 510 through a power management system, so as to implement functions such as management of charging, discharging, and power consumption management through the power management system.Figure 5 The structure of the electronic device shown does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have a different component arrangement, which will not be elaborated here.
[0056] The processor 510 is configured to obtain a first voltage signal output by the photosensitive element during photosensing. The first voltage signal includes a noise signal generated by the power supply and an image signal output by the photosensitive element during photosensing. The processor 510 is further configured to obtain a second voltage signal of the power supply, where the second voltage signal carries the noise signal generated by the power supply. The processor 510 performs arithmetic processing on the first voltage signal and the second voltage signal to remove the noise signal and obtain the image signal.
[0057] The display unit 506 is configured to display an image corresponding to the image signal.
[0058] The processor 510 is further configured to obtain a first voltage sub-signal of the photosensitive element at the start of exposure and a second voltage sub-signal of the photosensitive element at the end of exposure. The processor 510 performs arithmetic on the first voltage sub-signal and the second voltage sub-signal through a first operational amplifier to obtain the first voltage signal.
[0059] The processor 510 is further configured to obtain a third voltage sub-signal of the power supply at the start of exposure and a fourth voltage sub-signal of the power supply at the end of exposure. The processor 510 performs arithmetic on the third voltage sub-signal and the fourth voltage sub-signal through a second operational amplifier to obtain the second voltage signal.
[0060] It should be understood that in the embodiments of the present application, the input unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042. The graphics processor 5041 processes image data of a static picture or a video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode.
[0061] The display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 507 includes at least one of a touch panel 5071 and other input devices 5072. The touch panel 5071 is also referred to as a touch screen. The touch panel 5071 may include a touch detection device and a touch controller. The other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be elaborated here.
[0062] The memory 509 can be used to store software programs and various data. The memory 509 mainly includes a first storage area for storing programs or instructions and a second storage area for storing data. Among them, the first storage area can store an operating system, application programs or instructions required for at least one function (such as a sound playback function, an image playback function, etc.). In addition, the memory 509 can include volatile memory or non-volatile memory, or the memory 509 can include both volatile and non-volatile memory. Among them, the non-volatile memory can be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash memory. The volatile memory can be a Random Access Memory (RAM), a Static RAM (SRAM), a Dynamic RAM (DRAM), a Synchronous DRAM (SDRAM), a Double Data Rate SDRAM (DDR SDRAM), an Enhanced SDRAM (ESDRAM), a Synch link DRAM (SLDRAM), and a Direct Rambus RAM (DRRAM). The memory 509 in the embodiments of the present application includes but is not limited to these and any other suitable types of memory.
[0063] The processor 510 can include one or more processing units; optionally, the processor 510 integrates an application processor and a modem processor. Among them, the application processor mainly processes operations related to the operating system, user interface, and application programs, etc., and the modem processor mainly processes wireless communication signals, such as a baseband processor. It can be understood that the above modem processor may not be integrated into the processor 510.
[0064] The embodiments of the present application also provide a readable storage medium. A program or instruction is stored on the readable storage medium. When the program or instruction is executed by a processor, it implements each process of the above-mentioned embodiment of the image processing method and can achieve the same technical effect. To avoid repetition, it will not be elaborated here.
[0065] Among them, the processor is the processor in the electronic device in the above-mentioned embodiment. The readable storage medium includes computer-readable storage media, such as computer read-only memory, random access memory, magnetic disk, or optical disc, etc.
[0066] Another embodiment of the present application provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement each process of the above-mentioned embodiment of the image processing method, and can achieve the same technical effects. To avoid repetition, it will not be elaborated here.
[0067] It should be understood that the chip mentioned in the embodiments of the present application can also be referred to as a system-on-chip, system chip, chip system, or system-on-chip, etc.
[0068] The embodiments of the present application provide a computer program product. The program product is stored in a storage medium. The program product is executed by at least one processor to implement each process of the above-mentioned embodiment of the image processing method, and can achieve the same technical effects. To avoid repetition, it will not be elaborated here.
[0069] It should be noted that in this article, the term "including", "comprising", or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article, or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or further includes elements inherent to such process, method, article, or device. Without more limitations, an element defined by the statement "including one..." does not exclude the existence of another identical element in the process, method, article, or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed. It may also include performing functions in a substantially simultaneous manner or in the reverse order according to the functions involved. For example, the described method may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, the features described with reference to certain examples may be combined in other examples.
[0070] Through the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiments can be implemented by means of software plus a necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases, the former is a better implementation method. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. The computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disc), and includes several instructions to enable a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of the various embodiments of the present application.
[0071] The embodiments of the present application have been described above in conjunction with the accompanying drawings. However, the present application is not limited to the above specific embodiments. The above specific embodiments are merely illustrative rather than restrictive. Under the inspiration of the present application, those of ordinary skill in the art can also make many forms without departing from the purpose of the present application and the scope protected by the claims, and all of them fall within the protection scope of the present application.
Claims
1. A photosensitive circuit, characterized in that, Comprising: A photosensitive element for photosensitively outputting a first voltage signal, where the first voltage signal includes a noise signal generated by a power supply and an image signal generated by the photosensitive element through photosensitization; The power supply, electrically connected to the photosensitive element, for supplying power; A first sampling circuit, electrically connected to the photosensitive element, for sampling the first voltage signal output by the photosensitive element; A second sampling circuit, electrically connected to the power supply, for sampling a second voltage signal of the power supply, where the second voltage signal carries the noise signal generated by the power supply; A first arithmetic circuit, where the first arithmetic circuit is electrically connected to the first sampling circuit and the second sampling circuit respectively, for performing an operation on the first voltage signal and the second voltage signal to remove the noise signal and output the image signal; The second sampling circuit includes: A first sampling branch, where the first sampling branch includes a first switching device, a first capacitor, and a second switching device, for sampling a first voltage sub-signal of the power supply at the start of exposure; A second sampling branch, where the second sampling branch includes a third switching device, a second capacitor, and a fourth switching device, for sampling a second voltage sub-signal of the power supply after the end of exposure; The input end of the first switching device is connected to the power supply, the output end of the first switching device is respectively connected to the input ends of the first capacitor and the second switching device, and the output end of the second switching device is connected to the positive-phase input end of a first operational amplifier; The input end of the third switching device is connected to the power supply, the output end of the third switching device is respectively connected to the input ends of the second capacitor and the fourth switching device, and the output end of the fourth switching device is connected to the inverting input end of the first operational amplifier.
2. The photosensitive circuit according to claim 1, characterized in that: At the start of exposure, control the first switching device to conduct to store the first voltage sub-signal in the first capacitor; After the end of exposure, control the third switching device to conduct to store the second voltage sub-signal in the second capacitor, control the second switching device and the fourth switching device to conduct, and input the first voltage sub-signal and the second voltage sub-signal into the first operational amplifier.
3. The photosensitive circuit according to claim 1, wherein The first switching device, the second switching device, the third switching device, and the fourth switching device are all diacs.
4. The photosensitive circuit according to claim 1, wherein, The first sampling circuit includes: A third sampling branch, where the input end of the third sampling branch is connected to the photosensitive element, and the output end of the third sampling branch is connected to the positive-phase input end of a second operational amplifier, for sampling a third voltage sub-signal of the photosensitive element at the start of exposure; A fourth sampling branch, where the input end of the fourth sampling branch is connected to the photosensitive element, and the output end of the fourth sampling branch is connected to the inverting input end of the second operational amplifier, for sampling a fourth voltage sub-signal of the photosensitive element after the end of exposure; A second operational amplifier, where the second operational amplifier performs an operation on the third voltage sub-signal and the fourth voltage sub-signal to obtain the first voltage signal.
5. The photosensitive circuit according to claim 4, characterized in that, The third sampling branch includes a fifth switching device, a third capacitor, and a sixth switching device, and the fourth sampling branch includes a seventh switching device, a fourth capacitor, and an eighth switching device; The input end of the fifth switching device is connected to the photosensitive element. The output end of the fifth switching device is respectively connected to the third capacitor and the input end of the sixth switching device, and the output end of the sixth switching device is connected to the positive input end of the second operational amplifier; The input end of the seventh switching device is connected to the photosensitive element. The output end of the seventh switching device is respectively connected to the fourth capacitor and the input end of the eighth switching device, and the output end of the eighth switching device is connected to the negative input end of the second operational amplifier; At the start of exposure, control the fifth switching device to conduct to store the third voltage sub-signal into the third capacitor; After the exposure ends, control the seventh switching device to conduct to store the fourth voltage sub-signal into the fourth capacitor, and control the sixth switching device and the eighth switching device to conduct, and input the third voltage sub-signal and the fourth voltage sub-signal into the second operational amplifier.
6. The photosensitive circuit according to claim 1, wherein The first arithmetic circuit includes a third operational amplifier. The output end of the first sampling circuit is electrically connected to the positive input end of the third operational amplifier, and the output end of the second sampling circuit is electrically connected to the negative input end of the third operational amplifier.
7. An image processing method, characterized in that, Based on the photosensitive circuit according to any one of claims 1-6, the image processing method includes: Obtain a first voltage signal output by the photosensitive element through photosensing. The first voltage signal includes a noise signal generated by the power supply and an image signal generated by the photosensitive element through photosensing; Obtain a second voltage signal of the power supply. The second voltage signal carries the noise signal generated by the power supply; Perform arithmetic processing on the first voltage signal and the second voltage signal to remove the noise signal and obtain the image signal.
8. The image processing method according to claim 7, wherein, The obtaining the first voltage signal output by the photosensitive element through photosensing includes: Obtain a third voltage sub-signal of the photosensitive element at the start of exposure and a fourth voltage sub-signal of the photosensitive element after the exposure ends; Perform arithmetic on the third voltage sub-signal and the fourth voltage sub-signal through a first operational amplifier to obtain the first voltage signal.
9. The image processing method according to claim 7, wherein Obtaining the second voltage signal of the power supply includes: Obtain a first voltage sub-signal of the power supply at the start of exposure; Obtain a second voltage sub-signal of the power supply after the exposure ends; Perform arithmetic on the first voltage sub-signal and the second voltage sub-signal through a second operational amplifier to obtain the second voltage signal.
Citation Information
Patent Citations
Low noise sample and hold circuit
CN1951104A
Sensor array reading circuit
JP2009171241A