Pixel control method, pixel module, device, terminal and storage medium
By using filters and motion sensor pixels in the TOF camera module to control the exposure of the depth sensor pixels, and only exposing at the target position, the problem of high power consumption caused by all pixels in the TOF camera being fully exposed is solved, improving battery life and Measure efficiency.
Patent Information
- Application Number
- CN202011317906.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-23
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2040-11-23
AI Technical Summary
When the TOF camera measures the distance between the target object and the terminal, all pixels are exposed, resulting in high power consumption and insufficient battery life.
By introducing filters and motion sensor pixels into the camera module, the depth sensor pixels are exposed only at the target position, and the exposure is controlled using point-like light pulses and motion sensor pixels to avoid all pixels being exposed.
It reduces the power consumption of the camera module in distance measurement, improves battery life, reduces the collection of useless information, and improves measurement efficiency.
Smart Images

Figure CN112505661B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of image sensors, and in particular to a pixel control method, a pixel module, a device, a terminal and a storage medium. Background Art
[0002] With the continuous development of science and technology, terminals can realize more and more functions. In daily life, people can use terminals to measure the distance between the target object and the terminal.
[0003] At present, the hardware commonly used in terminals for measuring the distance between a target object and a terminal is a TOF (Time-Of-Flight) camera, in which a TOF camera uses a time-of-flight ranging method to measure the distance between a target object and a terminal. Its working principle can be as follows: a light source in a TOF camera emits a light signal, a single photon avalanche diode (SPAD) in the TOF camera receives the light signal reflected from the target object, and the time interval between the emitted light signal and the received light signal reflected from the target object is used to measure the distance between the target object and the terminal.
[0004] Since in a TOF camera, each pixel on the sensor that receives the light signal returned by the target object needs to be fully exposed, there is a problem of high sensor power consumption when the TOF camera is exposed. Summary of the invention
[0005] The embodiments of the present application provide a pixel control method, a pixel module, a device, a terminal and a storage medium, which can reduce the power consumption of the terminal when the terminal uses the time-of-flight ranging method to measure the distance between the target object and the terminal. The technical solution is as follows:
[0006] On the one hand, an embodiment of the present application provides a pixel control method, which is applied to a camera module, wherein the camera module includes: a light source, a filter, a depth sensor pixel, and at least one motion sensor pixel, and the method includes:
[0007] emitting a point-shaped light pulse of a first wavelength by the light source;
[0008] exposing the depth sensor pixels at the target position through the first motion sensor pixels;
[0009] Among them, the first motion sensor pixel is a motion sensor pixel that receives a reflected light pulse, and the reflected light pulse is a light pulse that passes through the filter after being reflected by the external environment from the point light pulse of the first wavelength, and the wavelength filtered by the filter is the same as the first wavelength, and the at least one motion sensor pixel includes the first motion sensor pixel.
[0010] On the one hand, an embodiment of the present application provides a pixel module, wherein the camera module includes: a light source, a filter, a depth sensor pixel, and at least one motion sensor pixel;
[0011] The light source is used to emit point-shaped light pulses of a first wavelength;
[0012] The first motion sensor pixel is used to expose the depth sensor pixel at the target position;
[0013] Among them, the first motion sensor pixel is a motion sensor pixel that receives a reflected light pulse, and the reflected light pulse is a light pulse that passes through the filter after being reflected by the external environment from the point light pulse of the first wavelength, and the wavelength filtered by the filter is the same as the first wavelength, and the at least one motion sensor pixel includes the first motion sensor pixel.
[0014] On the other hand, an embodiment of the present application provides a pixel control device, which is used in a camera module, wherein the camera module includes: a light source, a filter, a depth sensor pixel and at least one motion sensor pixel, and the pixel control device includes:
[0015] An optical pulse emission module, used for emitting a point optical pulse of a first wavelength through the light source;
[0016] A pixel exposure module, configured to expose the depth sensor pixels at a target position through the first motion sensor pixels;
[0017] Among them, the first motion sensor pixel is a motion sensor pixel that receives a reflected light pulse, and the reflected light pulse is a light pulse that passes through the filter after being reflected by the external environment from the point light pulse of the first wavelength, and the wavelength filtered by the filter is the same as the first wavelength, and the at least one motion sensor pixel includes the first motion sensor pixel.
[0018] On the other hand, an embodiment of the present application provides a terminal, characterized in that the terminal includes a camera module as described in one aspect above.
[0019] On the other hand, an embodiment of the present application provides a computer-readable storage medium, which includes instructions. When the computer-readable storage medium is executed on a computer, the computer executes the pixel control method as described in one aspect above.
[0020] On the other hand, an embodiment of the present application provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the pixel control method as described in one aspect above.
[0021] On the other hand, an embodiment of the present application provides an application publishing platform, which is used to publish a computer program product, wherein when the computer program product runs on a computer, the computer executes the pixel control method as described in one aspect above.
[0022] The technical solution provided by the embodiments of the present application may at least include the following beneficial effects:
[0023] In the present application, the camera module includes: a light source, a filter, a depth sensor pixel and at least one motion sensor pixel, and the light source emits a point light pulse of a first wavelength; the depth sensor pixel at the target position is exposed through the first motion sensor pixel; wherein the first motion sensor pixel is a motion sensor pixel that receives a reflected light pulse, and the reflected light pulse is a light pulse that is reflected by the external environment from the point light pulse of the first wavelength and then passes through the filter, and the wavelength filtered by the filter is the same as the first wavelength, and at least one motion sensor pixel includes the first motion sensor pixel. The present application can control the exposure of the depth sensor pixel at the target position through the first motion sensor pixel, avoid the power consumption problem caused by exposing all pixels on the sensor, reduce the power consumption required for the camera module to measure the distance, and improve the endurance of the camera module to measure the distance. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0025] Figure 1 1 is a schematic diagram of the architecture of a camera module using a TOF solution provided by an exemplary embodiment of the present application;
[0026] Figure 2 and Figure 3 An exemplary embodiment of the present application relates to Figure 1 A schematic diagram of light reflection between a light source and a sensor;
[0027] Figure 4 is a method flow chart of a pixel control method provided by an exemplary embodiment of the present application;
[0028] Figure 5 is a method flow chart of a pixel control method provided by an exemplary embodiment of the present application;
[0029] Figure 6 is a schematic diagram of a layout structure of pixels on a sensor involved in an exemplary embodiment of the present application;
[0030] Figure 7 is a method flow chart of a pixel control method provided by an exemplary embodiment of the present application;
[0031] Figure 8 is a schematic diagram of a layout structure of pixels on a sensor involved in an exemplary embodiment of the present application;
[0032] Fig. 9 This is a method flow of a pixel control method provided by an exemplary embodiment of the present application;
[0033] Fig.10 is a schematic diagram of a layout structure of pixels on a sensor involved in an exemplary embodiment of the present application;
[0034] Fig.11 is a method flow chart of a pixel control method provided by an exemplary embodiment of the present application;
[0035] Fig.12 is a structural schematic diagram of a camera module involved in an exemplary embodiment of the present application;
[0036] Fig.13 is a method flow chart of a pixel control method provided by an exemplary embodiment of the present application;
[0037] Fig.14 is a schematic diagram of a terminal structure involved in an exemplary embodiment of the present application;
[0038] Fig.15 is a schematic diagram of a corresponding relationship between transmittance and wavelength involved in an exemplary embodiment of the present application;
[0039] Fig.16 It is a structural block diagram of a pixel control device provided by an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0040] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0041] The term "multiple" as used herein refers to two or more than two. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the related objects are in an "or" relationship.
[0042] The solution provided by the present application can be used in real-life scenarios where people use terminals in their daily lives and run applications in the terminals. To facilitate understanding, some terms and application scenarios involved in the embodiments of the present application are briefly introduced below.
[0043] Dynamic Vision Sensor (DVS), also known as event camera, neuromorphic camera or silicon retinal sensor, is an imaging sensor that can respond to local brightness changes.
[0044] Time-of-Flight (TOF) ranging is a two-way ranging technology that mainly uses the flight time of a signal between two asynchronous transceivers to measure the distance between nodes. TOF ranging technology is a method of time of flight measurement.
[0045] Exposure time: The time the shutter is open in order to project light onto the photosensitive surface of the camera's photosensitive material.
[0046] With the development of science and technology, there are more and more application scenarios for real-time distance measurement. For example, in the vehicle terminal in the driving system, it is often necessary to measure the distance between the objects around it and the vehicle terminal. The terminal in the projection system also needs to measure the projection distance. Terminals equipped with 3D imaging applications need to be modeled, etc. The above TOF technology is mostly used in these scenarios.
[0047] Among them, the above-mentioned TOF technology is mainly used in various cameras. The camera can measure the distance by emitting light pulses to the target object and measuring the transmission time of the light pulses between the camera and the target object. The data is used to determine how far the target object is from the camera, and then the distance of each object in the captured image is known. In a three-dimensional (3D) depth camera, the TOF technology can be used to draw a depth map, and a 3D stereo image can be drawn for each object in the captured image.
[0048] With the continuous improvement of TOF measurement methods, TOF technology can be divided into two types: DTOF (Direct Time-of-Flight) and ITOF (Indirect Time-of-Flight).
[0049] Among them, the core components of the camera module or camera using the DTOF solution include vertical cavity surface emitting lasers (VCSEL), single photon avalanche diodes (SPAD) and time digital converters (TDC). Among them, SPAD is a photoelectric detection avalanche diode with single photon detection capability, which can generate corresponding current in response to receiving light signals. The camera module or camera using the DTOF solution emits light pulses into the external environment through VCSEL, and SPAD receives light pulses reflected from various objects in the external environment. TDC can record the flight time of each received light pulse, that is, the time interval between the VCSEL emitting light pulses into the external environment and the SPAD receiving light pulses reflected from various objects in the external environment. Optionally, the camera module or camera using the DTOF solution may also emit N light pulses to the target object within a single frame measurement time, and receive N light pulses reflected by the target object, and then make a histogram of the N recorded flight times, and use the flight time with the highest frequency to calculate the depth of the target object.
[0050] Among them, in a camera module or camera that adopts the ITOF solution, the camera module or camera can emit modulated light pulses into the external environment, and then the sensor receives the light pulses reflected back by various objects in the external environment, and calculates the phase difference between the transmitted signal and the received signal based on the accumulated charge of the sensor during the exposure time, thereby obtaining the depth of each object.
[0051] In addition, the above-mentioned event camera does not use a shutter to capture images like a conventional camera. Instead, each pixel in the event camera operates independently and asynchronously, and when the light pulse received by the pixel on the sensor changes, these changes can be output through the pixel on the sensor, otherwise the pixel on the sensor of the event camera remains silent. Among them, the advantages of event cameras over cameras using TOF solutions are their low latency (1μs), no motion blur, high dynamic range (140dB), ultra-low power consumption (average: 1mW vs. 1W), etc. No matter which pixel on the sensor receives a light pulse change that exceeds the set threshold, the pixel on the sensor can output the pixel address and change direction (polarity), which is brightening or darkening.
[0052] However, cameras using DVS can only output information about brightness changes, but not the depth information of the target object, and cannot measure the distance of the target object in the external environment in real time. Therefore, in applications such as gesture recognition, only 2D information can be obtained, but no 3D information, and the external environment cannot be modeled. Therefore, in the relevant technology, most of the current TOF solutions are still used to measure the distance of the target object in the external environment and obtain the depth information of the target object.
[0053] Please refer to Figure 1 , which shows a schematic diagram of the architecture of a camera module using a TOF solution provided by an exemplary embodiment of the present application. Figure 1 As shown, the camera module 100 includes a light source 101, a lens 102, a filter 103, and a sensor 104. The sensor 104 is composed of sensor pixels that use a TOF solution to measure distance. When the light source 101 emits a light pulse to the external environment, the object in the external environment reflects the light pulse, which is received by each pixel on the sensor 104 through the lens 102 and the filter 103, thereby calculating the distance between the object in the external environment and the camera module.
[0054] Please refer to Figure 2 and Figure 3 , which shows that an exemplary embodiment of the present application involves Figure 1 A schematic diagram of light reflection between a light source and a sensor. Figure 2 As shown, it includes a light source 201 and a sensor 202. The light pulse emitted by the light source 201 is a surface light source, and the corresponding sensor 202 can also receive it. This solution is also called a floodlight solution, and the modeling resolution is high. Figure 3 As shown, it includes a light source 301 and a sensor 302. The light pulse emitted by the light source 301 is a point light source, and the corresponding sensor 202 can also receive it. This solution is also called a speckle solution. Figure 3 and Figure 2 If the light sources use the same energy, Figure 3 It can emit point-shaped light pulses with stronger energy and a longer effective distance.
[0055] For the camera module or camera using the TOF solution, each pixel (PIXEL) on the sensor requires the back-end processor to calculate Q0, Q90, Q180, Q270, and then calculate the corresponding distance, and use the algorithm for filtering and other processing. Among them, the more pixels on the sensor, the more data there is, and the greater the complexity of the back-end algorithm. In practical applications, for example, in gesture recognition and other solutions, the objects in the external environment are actually only the hands that are moving, and the depth information of other objects in the external environment (such as doors, windows, etc.) is unchanged. If the camera module using the TOF solution receives all the light pulses reflected back by all objects in the external environment, the sensor will collect useless information in the gesture recognition process, resulting in a waste of power consumption. For the speckle solution, not all pixels on the sensor can collect light spots. Therefore, for pixels that are not hit by the light spots, if the pixels here are exposed, power consumption will also be wasted.
[0056] In order to solve the problem of power consumption waste in the above-mentioned related technologies and reduce the power consumption of the sensor in the camera module, this application provides a pixel control method, please refer to Figure 4 , which shows a method flow chart of a pixel control method provided by an exemplary embodiment of the present application. The method can be applied to a camera module, which includes: a light source, a filter, a depth sensor pixel and at least one motion sensor pixel. Figure 4 As shown, the pixel control method may include the following steps.
[0057] Step 401: emitting a point light pulse of a first wavelength via a light source.
[0058] In the camera module of the present application, the light source of the above-mentioned speckle solution can be used to emit point-shaped light pulses to the external environment through the light source. The wavelength of the point-shaped light pulse can be any wavelength set by the developer.
[0059] Step 402 : exposing the depth sensor pixels at the target position via the first motion sensor pixels.
[0060] Among them, the first motion sensor pixel is a motion sensor pixel that receives a reflected light pulse, which is a light pulse that passes through the filter after being reflected by a point light pulse of the first wavelength from the external environment, and the wavelength filtered by the filter is the same as the first wavelength, and at least one motion sensor pixel includes the first motion sensor pixel.
[0061] That is, the first motion sensor pixel may be a motion sensor pixel that receives the reflected light pulse among the at least one motion sensor pixel. The target position may be a position corresponding to the depth sensor pixel used by the camera module for distance measurement.
[0062] In the present application, the wavelength filtered by the filter is the wavelength of the point-shaped light pulse emitted by the light source to the external environment, so that at least one motion sensor pixel and depth sensor pixel in the camera module receive the point-shaped light pulse of the same wavelength. In the camera module, the selective exposure is performed through the relationship between at least one motion sensor pixel and the depth sensor pixel. After the motion sensor pixel identifies the position of the point-shaped light pulse, the depth sensor pixel at the target position is exposed for distance measurement, thereby avoiding exposing the depth sensors at other positions and reducing power consumption.
[0063] In summary, in the present application, the camera module includes: a light source, a filter, a depth sensor pixel and at least one motion sensor pixel, and the light source emits a point light pulse of a first wavelength; through the first motion sensor pixel, the depth sensor pixel at the target position is exposed; wherein the first motion sensor pixel is a motion sensor pixel that receives a reflected light pulse, and the reflected light pulse is a light pulse that is reflected by the external environment from the point light pulse of the first wavelength and then passes through the filter, and the wavelength filtered by the filter is the same as the first wavelength, and at least one motion sensor pixel includes the first motion sensor pixel. The present application can control the exposure of the depth sensor pixel at the target position through the first motion sensor pixel, avoid the power consumption problem caused by exposing all pixels on the sensor, reduce the power consumption required for the camera module to measure the distance, and improve the endurance of the camera module to measure the distance.
[0064] In one possible implementation, the depth sensor pixel and at least one motion sensor pixel may be disposed on the same sensor. Figure 1 In the structure shown, the sensor includes both depth sensor pixels and motion sensor pixels, wherein the motion sensor pixels and the depth sensor pixels can be combined to form a pixel group.
[0065] Please refer to Figure 5 , which shows a method flow chart of a pixel control method provided by an exemplary embodiment of the present application. The method can be applied to a camera module, which includes: a light source, a filter, a depth sensor pixel and at least one motion sensor pixel. Figure 5 As shown, the pixel control method may include the following steps.
[0066] Step 501: emitting a point light pulse of a first wavelength through a light source.
[0067] Step 502 : According to the motion sensor pixel in the first pixel group that receives the reflected light pulse, a first enable signal is sent to each depth sensor pixel in the first pixel group to expose the depth sensor pixel at a position corresponding to the first enable signal.
[0068] The reflected light pulse is a light pulse that is transmitted through the filter after being reflected by the external environment from the point-shaped light pulse of the first wavelength, and the wavelength filtered by the filter is the same as the first wavelength.
[0069] According to the pixel positions on the sensor, the pixels on the sensor in the camera module can be grouped to form a plurality of first pixel groups, so as to realize selective exposure according to the relationship between the motion sensor pixels and the depth sensor pixels according to the plurality of first pixel groups. Optionally, the camera module may include a first pixel group, the first pixel group including a motion sensor pixel and at least one depth sensor pixel; a motion sensor pixel in the first pixel group is electrically connected to each depth sensor pixel.
[0070] Please refer to Figure 6 , which shows a schematic diagram of the layout structure of pixels on a sensor involved in an exemplary embodiment of the present application. Figure 6 As shown, the sensor 600 includes a motion sensor pixel 601, a depth sensor pixel 602, and a first pixel group 603. The first pixel group 603 includes a motion sensor pixel and a depth sensor pixel. The motion sensor pixel in the first pixel group is electrically connected to the motion sensor pixel. When the motion sensor pixel receives a reflected light pulse, a first enable signal can be sent to the depth sensor pixel, so that the depth sensor pixel at the position corresponding to the first enable signal is exposed.
[0071] Optional, Figure 6 The first pixel group 603 is exemplary. In actual applications, the first pixel group 603 may include a motion sensor pixel and multiple (two, three, four, etc.) depth sensor pixels. The motion sensor may be electrically connected to all the depth sensor pixels and, upon receiving a reflected light pulse, may send a first enable signal to each depth sensor pixel, thereby exposing the depth sensor pixel at the position corresponding to the first enable signal.
[0072] Optionally, the depth sensor pixel may be a TOF pixel, and the motion sensor pixel may be a DVS pixel or a Dynamic and Active Pixel Vision Sensor (DAVIS) pixel. That is, in the subsequent measurement process, the camera module may output the depth information of each object in the external environment according to the TOF pixel, and output the polarity (information of whether the brightness increases or decreases) of each object in the external environment and the time information of the received reflected light pulse according to the DVS pixel or the DAVIS pixel, thereby modeling each object in the external environment according to the two sensor pixels.
[0073] In summary, in the present application, the camera module includes: a light source, a filter, a depth sensor pixel and at least one motion sensor pixel, and the light source emits a point light pulse of a first wavelength; through the first motion sensor pixel, the depth sensor pixel at the target position is exposed; wherein the first motion sensor pixel is a motion sensor pixel that receives a reflected light pulse, and the reflected light pulse is a light pulse that is reflected by the external environment from the point light pulse of the first wavelength and then passes through the filter, and the wavelength filtered by the filter is the same as the first wavelength, and at least one motion sensor pixel includes the first motion sensor pixel. The present application can control the exposure of the depth sensor pixel at the target position through the first motion sensor pixel, avoid the power consumption problem caused by exposing all pixels on the sensor, reduce the power consumption required for the camera module to measure the distance, and improve the endurance of the camera module to measure the distance.
[0074] In addition, by setting two different pixels on the same sensor, there is no need to perform image alignment processing in the subsequent image processing process, which is beneficial to improving the efficiency of object measurement or modeling.
[0075] In a possible implementation, the depth sensor pixel and at least one motion sensor pixel may be disposed on the same sensor. The motion sensor pixel and the depth sensor pixel may be combined to form a second pixel group. Figure 7 , which shows a method flow chart of a pixel control method provided by an exemplary embodiment of the present application. The method can be applied to a camera module, which includes: a light source, a filter, a depth sensor pixel and at least one motion sensor pixel. Figure 7 As shown, the pixel control method may include the following steps.
[0076] Step 701: emitting a point light pulse of a first wavelength through a light source.
[0077] Step 702 : According to the motion sensor pixels in the second pixel group that receive the reflected light pulse, a second enable signal is sent to the depth sensor pixels in the second pixel group to expose the depth sensor pixels at positions corresponding to the positions that receive the second enable signal.
[0078] Similarly, the pixels on the sensor in the camera module can be grouped according to the pixel position on the sensor to form a plurality of second pixel groups, so as to realize selective exposure according to the relationship between the motion sensor pixels and the depth sensor pixels according to the plurality of second pixel groups. Optionally, the camera module may include a second pixel group, the second pixel group including at least one motion sensor pixel and one depth sensor pixel; each motion sensor pixel in the second pixel group is electrically connected to a depth sensor pixel.
[0079] Please refer to Figure 8 , which shows a schematic diagram of the layout structure of pixels on a sensor involved in an exemplary embodiment of the present application. Figure 8 As shown, the sensor 800 includes a motion sensor pixel 801, a depth sensor pixel 802, and a second pixel group 803. The second pixel group 803 includes two motion sensor pixels and one depth sensor pixel. The two motion sensor pixels in the second pixel group are electrically connected to the motion sensor pixel. When any motion sensor pixel receives a reflected light pulse, a second enable signal can be sent to the electrically connected depth sensor pixel, so that the depth sensor pixel at the position corresponding to the second enable signal is exposed.
[0080] Optional, Figure 8 The second pixel group 803 is also exemplary. In actual applications, the second pixel group 803 may include three, four, etc. motion sensor pixels and one depth sensor pixel. The depth sensor pixel may be electrically connected to all the motion sensor pixels, and when any motion sensor pixel receives a reflected light pulse, a second enable signal may be sent to the electrically connected depth sensor pixel, thereby exposing the depth sensor pixel at the position corresponding to the second enable signal.
[0081] In summary, in the present application, the camera module includes: a light source, a filter, a depth sensor pixel and at least one motion sensor pixel, and the light source emits a point light pulse of a first wavelength; through the first motion sensor pixel, the depth sensor pixel at the target position is exposed; wherein the first motion sensor pixel is a motion sensor pixel that receives a reflected light pulse, and the reflected light pulse is a light pulse that is reflected by the external environment from the point light pulse of the first wavelength and then passes through the filter, and the wavelength filtered by the filter is the same as the first wavelength, and at least one motion sensor pixel includes the first motion sensor pixel. The present application can control the exposure of the depth sensor pixel at the target position through the first motion sensor pixel, avoid the power consumption problem caused by exposing all pixels on the sensor, reduce the power consumption required for the camera module to measure the distance, and improve the endurance of the camera module to measure the distance.
[0082] In one possible implementation, the depth sensor pixel and at least one motion sensor pixel may be disposed on the same sensor. The motion sensor pixel and the depth sensor pixel may be combined to form a third pixel group. Fig. 9 , which shows a method flow chart of a pixel control method provided by an exemplary embodiment of the present application. The method can be applied to a camera module, which includes: a light source, a filter, a depth sensor pixel and at least one motion sensor pixel. Fig. 9 As shown, the pixel control method may include the following steps.
[0083] Step 901: emitting a point light pulse of a first wavelength through a light source.
[0084] Step 902 : According to the motion sensor pixels in the third pixel group that receive the reflected light pulse, a third enable signal is sent to the depth sensor pixels in the third pixel group to expose the depth sensor pixels at positions corresponding to the positions that receive the third enable signal.
[0085] Similarly, the pixels on the sensor in the camera module can be grouped according to the pixel position on the sensor to form a plurality of third pixel groups, so as to realize selective exposure according to the relationship between the motion sensor pixels and the depth sensor pixels according to the plurality of third pixel groups. Optionally, the camera module may include a third pixel group, the third pixel group includes at least one motion sensor pixel and at least one depth sensor pixel; each motion sensor pixel in the third pixel group is electrically connected to its adjacent depth sensor pixel.
[0086] Please refer to Fig.10 , which shows a schematic diagram of the layout structure of pixels on a sensor involved in an exemplary embodiment of the present application. Fig.10As shown, the sensor 1000 includes a motion sensor pixel 1001, a depth sensor pixel 1002, a third pixel group 1003, a first motion sensor pixel 1003a, and a second motion sensor pixel 1003b. The third pixel group 1003 includes two motion sensor pixels and ten depth sensor pixels. The two motion sensor pixels in the third pixel group are electrically connected to the five adjacent motion sensor pixels. When the first motion sensor pixel 1003a receives a reflected light pulse, it can send a third enable signal to each depth sensor pixel electrically connected to itself, thereby exposing the depth sensor pixel at the corresponding position receiving the third enable signal. When the second motion sensor pixel 1003b receives a reflected light pulse, it can send a third enable signal to each depth sensor pixel electrically connected to itself, thereby exposing the depth sensor pixel at the corresponding position receiving the third enable signal.
[0087] In summary, in the present application, the camera module includes: a light source, a filter, a depth sensor pixel and at least one motion sensor pixel, and the light source emits a point light pulse of a first wavelength; through the first motion sensor pixel, the depth sensor pixel at the target position is exposed; wherein the first motion sensor pixel is a motion sensor pixel that receives a reflected light pulse, and the reflected light pulse is a light pulse that is reflected by the external environment from the point light pulse of the first wavelength and then passes through the filter, and the wavelength filtered by the filter is the same as the first wavelength, and at least one motion sensor pixel includes the first motion sensor pixel. The present application can control the exposure of the depth sensor pixel at the target position through the first motion sensor pixel, avoid the power consumption problem caused by exposing all pixels on the sensor, reduce the power consumption required for the camera module to measure the distance, and improve the endurance of the camera module to measure the distance.
[0088] It should be noted that the above Figure 6 , Figure 8 and Fig.10 The several pixel groups shown can also be used in combination, and the embodiments of the present application are not limited to this.
[0089] In one possible implementation, the depth sensor pixel and at least one motion sensor pixel arranged on the same sensor are not electrically connected. In this solution, after the motion sensor receives the reflected light pulse, the target position can be obtained through the processor and the depth sensor at the target position can be exposed.
[0090] Please refer to Fig.11 , which shows a method flow chart of a pixel control method provided by an exemplary embodiment of the present application. The method can be applied to a camera module, which includes: a light source, a filter, a depth sensor pixel and at least one motion sensor pixel. Fig.11 As shown, the pixel control method may include the following steps.
[0091] Step 1101: emitting a point light pulse of a first wavelength via a light source.
[0092] Optionally, the light source is controlled by a processor. For example, the camera module controls the emission frequency of the light source through the processor, and controls the light source to emit point waves of the first wavelength to the external environment according to a fixed period.
[0093] Step 1102 , receiving a reflected light pulse via at least one motion sensor pixel.
[0094] The reflected light pulse is a light pulse that is transmitted through the filter after being reflected by the external environment from the point-shaped light pulse of the first wavelength, and the wavelength filtered by the filter is the same as the first wavelength.
[0095] After the light source emits a point light pulse of the first wavelength, due to the reflection effect of the external environment, the motion sensor on the sensor arranged in the camera module will automatically receive the reflected light pulse reflected back from the external environment.
[0096] Step 1103 , obtaining first position information, where the first position information is used to indicate the position coordinates of the motion sensor pixel that receives the reflected light pulse on the same sensor.
[0097] Optionally, developers can pre-mark the coordinates of each motion sensor pixel and depth sensor pixel on the sensor and store them in a memory. When the motion sensor pixel in the camera module receives a reflected light pulse, the position coordinates corresponding to the motion sensor pixel in the memory can be obtained and used as the first position information.
[0098] Step 1104, determining the target location according to the first location information.
[0099] Optionally, the memory further stores a first correspondence table, which may include a correspondence between each first position information and a target position. The processor may query the first correspondence table to find the target position according to the first position information.
[0100] Please refer to Table 1, which shows a first corresponding relationship table involved in an exemplary embodiment of the present application.
[0101] First location information Target location (1,1) (1,2) (1,3) (1,4) (2,1) (2,2) …… ……
[0102] As shown in Table 1, if the first position information obtained by the processor in the above step is (1, 3), then the processor can query the target position as (1, 4) according to the first correspondence table, thereby determining the target position.
[0103] Step 1105 , expose the depth sensor pixels at the target location.
[0104] Optionally, after determining the depth sensor at the target position as described above, the processor in the camera module may control the exposure of the depth sensor pixels at the target position to perform distance measurement, thereby avoiding exposing depth sensors at other positions and reducing power consumption.
[0105] In summary, in the present application, the camera module includes: a light source, a filter, a depth sensor pixel and at least one motion sensor pixel, and the light source emits a point light pulse of a first wavelength; through the first motion sensor pixel, the depth sensor pixel at the target position is exposed; wherein the first motion sensor pixel is a motion sensor pixel that receives a reflected light pulse, and the reflected light pulse is a light pulse that is reflected by the external environment from the point light pulse of the first wavelength and then passes through the filter, and the wavelength filtered by the filter is the same as the first wavelength, and at least one motion sensor pixel includes the first motion sensor pixel. The present application can control the exposure of the depth sensor pixel at the target position through the first motion sensor pixel, avoid the power consumption problem caused by exposing all pixels on the sensor, reduce the power consumption required for the camera module to measure the distance, and improve the endurance of the camera module to measure the distance.
[0106] In one possible implementation, the depth sensor pixels and at least one motion sensor pixel may be disposed on different sensors. Optionally, the camera module may be further divided into a depth module and a motion module, the depth module may include a light source and a first sensor, and the motion module may include a second sensor.
[0107] Please refer to Fig.12 , which shows a schematic diagram of the structure of a camera module involved in an exemplary embodiment of the present application. Fig.12 As shown, the camera module 1200 includes a depth module 1201 and a motion module 1202. The depth module 1201 is composed of a light source and a first sensor, and the motion module is a second sensor.
[0108] In order to solve the problem of power consumption waste in the above-mentioned related technologies and reduce the power consumption of the sensor in the camera module, this application provides a pixel control method, please refer to Fig.13 , which shows a method flow chart of a pixel control method provided by an exemplary embodiment of the present application. The method can be applied to Fig.12 In the camera module shown, the camera module includes: a light source, a filter, a depth sensor pixel and at least one motion sensor pixel. Fig.13 As shown, the pixel control method may include the following steps.
[0109] Step 1301: emit a point light pulse of a first wavelength through a light source.
[0110] Similarly, the above Fig.12 The camera module may also include a processor, and the light source is controlled by the processor.
[0111] Step 1302, obtaining calibration parameters of the first sensor and the second sensor respectively, where the calibration parameters are basic parameters of the camera module and position parameters of the camera module in the world coordinate system.
[0112] Among them, the basic parameters of the camera module can be the focal length, pixel size, and projection distortion of the camera. Projection distortion can be used to indicate the difference between the image captured by the camera module and the actual object. The position parameters of the camera module in the world coordinate system can be the position and rotation direction of the camera module relative to the world coordinate system. These position parameters can be measured by hardware such as a gyroscope and set in the camera module. Optionally, the developer can set the above calibration parameters in the camera module in advance, and when they need to be obtained, they can directly obtain these calibration parameters from the memory.
[0113] Step 1303 : Acquire second position information, where the second position information is used to indicate the position coordinates of the motion sensor pixel that receives the reflected light pulse on the first sensor.
[0114] Optionally, the method for acquiring the second location information may be similar to the method for acquiring the first location information described above, which will not be described in detail here.
[0115] Step 1304 , calculating third position information according to respective calibration parameters of the first sensor and the second sensor, and the second position information, where the third position information is used to indicate position coordinates of the depth sensor pixel on the second sensor.
[0116] Optionally, the processor of the camera module can bring the above-obtained parameters (the calibration parameters of the first sensor and the second sensor, and the second position information) into a pre-set algorithm to calculate the third position information. The algorithm can also be pre-written by the developer and set in the processor of the camera module, and the processor of the camera module can directly call it.
[0117] Step 1305: The position on the second sensor corresponding to the third position information is used as the target position.
[0118] After calculating the position coordinates of the depth sensor pixel on the second sensor, the processor will confirm that the position corresponding to the position coordinates is the target position.
[0119] Step 1306 , expose the depth sensor pixels at the target location.
[0120] The processor in the camera module exposes the depth sensor pixels at the target location on the second sensor to perform depth measurement.
[0121] In summary, in the present application, the camera module includes: a light source, a filter, a depth sensor pixel and at least one motion sensor pixel, and the light source emits a point light pulse of a first wavelength; through the first motion sensor pixel, the depth sensor pixel at the target position is exposed; wherein the first motion sensor pixel is a motion sensor pixel that receives a reflected light pulse, and the reflected light pulse is a light pulse that is reflected by the external environment from the point light pulse of the first wavelength and then passes through the filter, and the wavelength filtered by the filter is the same as the first wavelength, and at least one motion sensor pixel includes the first motion sensor pixel. The present application can control the exposure of the depth sensor pixel at the target position through the first motion sensor pixel, avoid the power consumption problem caused by exposing all pixels on the sensor, reduce the power consumption required for the camera module to measure the distance, and improve the endurance of the camera module to measure the distance.
[0122] In one possible implementation, the camera module in each of the above embodiments may be used in a terminal. Optionally, the terminal may be a terminal including a camera. For example, the terminal may be a mobile phone, a camera, a tablet computer, an e-book reader, smart glasses, a smart watch, an MP4 (Moving Picture Experts Group Audio Layer IV) player, a notebook computer, a laptop computer, a portable computer, a desktop computer, and the like.
[0123] Taking mobile phones as an example, the applications in mobile phones include the above Fig.13 For the camera module shown, please refer to Fig.14 , which shows a schematic diagram of the structure of a terminal involved in an exemplary embodiment of the present application. Fig.14 As shown, the terminal 1400 includes a camera module 1401 , a depth module 1402 and a motion module 1403 .
[0124] Optionally, the depth module 1402 in the mobile phone includes a light source and a second sensor, and all pixels on the second sensor are TOF pixels. The motion module 1403 in the mobile phone includes a first sensor, and all pixels on the first sensor are DVS pixels.
[0125] In actual applications, the mobile phone may need to use the camera module to shoot a dynamic object in the external environment (i.e., a target object, such as a moving person, animal, limb, moving car, etc.). The mobile phone transmits a point light pulse of a first wavelength to the external environment through the light source in the depth module 1402. After the DVS pixel on the first sensor receives the light pulse that is reflected by the external environment from the point light pulse of the first wavelength and passes through the filter, the mobile phone can calculate the position coordinates of the TOF pixel on the second sensor that needs to be exposed based on the calibration parameters of the first sensor and the second sensor, and the position coordinates of the DVS pixel on the first sensor that receives the reflected light pulse, thereby exposing the TOF pixel corresponding to the position coordinate, without the need to expose all TOF pixels on the second sensor and thus causing a waste of power consumption.
[0126] Optionally, taking the first wavelength of 940nm as an example, please refer to Fig.15 , which shows a schematic diagram of the corresponding relationship between transmittance and wavelength involved in an exemplary embodiment of the present application. Fig.15 As shown, a first curve 1501 is included, which can reflect the transmittance of the terminal at different wavelengths. It can be seen from the first curve 1501 that the transmittance of the terminal at 940nm is the highest, and targeted optimization of the terminal in this wavelength region can be achieved.
[0127] In summary, in the present application, the camera module includes: a light source, a filter, a depth sensor pixel and at least one motion sensor pixel, and the light source emits a point light pulse of a first wavelength; through the first motion sensor pixel, the depth sensor pixel at the target position is exposed; wherein the first motion sensor pixel is a motion sensor pixel that receives a reflected light pulse, and the reflected light pulse is a light pulse that is reflected by the external environment from the point light pulse of the first wavelength and then passes through the filter, and the wavelength filtered by the filter is the same as the first wavelength, and at least one motion sensor pixel includes the first motion sensor pixel. The present application can control the exposure of the depth sensor pixel at the target position through the first motion sensor pixel, avoid the power consumption problem caused by exposing all pixels on the sensor, reduce the power consumption required for the camera module to measure the distance, and improve the endurance of the camera module to measure the distance.
[0128] In addition, by realizing that both the TOF pixel and the DVS pixel receive light pulses of the same wavelength, the photoelectric efficiency of the terminal for this wavelength can also be improved.
[0129] The following is a physical device embodiment of the camera module of the present application, which can be used to execute the method embodiment of the present application. For details not disclosed in the physical device embodiment of the camera module of the present application, please refer to the method embodiment of the present application.
[0130] An embodiment of the present application provides a camera module, the camera module comprising: a light source, a filter, a depth sensor pixel and at least one motion sensor pixel;
[0131] Wherein, the light source is used to emit point-shaped light pulses of a first wavelength;
[0132] The first motion sensor pixel is used to expose the depth sensor pixel at the target position;
[0133] Among them, the first motion sensor pixel is a motion sensor pixel that receives a reflected light pulse, and the reflected light pulse is a light pulse that passes through the filter after being reflected by the external environment from the point light pulse of the first wavelength, and the wavelength filtered by the filter is the same as the first wavelength, and the at least one motion sensor pixel includes the first motion sensor pixel.
[0134] In one possible implementation, the depth sensor pixel and at least one motion sensor pixel are on the same sensor.
[0135] In one possible implementation, the camera module includes a first pixel group, the first pixel group includes a motion sensor pixel and at least one depth sensor pixel; one motion sensor pixel in the first pixel group is electrically connected to each depth sensor pixel; one motion sensor pixel is further used to send a first enable signal to each depth sensor pixel in the first pixel group;
[0136] In one possible implementation, the camera module includes a second pixel group, the second pixel group includes at least one motion sensor pixel and one depth sensor pixel; one depth sensor pixel in the second pixel group is electrically connected to each motion sensor pixel; and one depth sensor pixel is also used to receive a second enable signal sent by each motion sensor pixel in the second pixel group.
[0137] In one possible implementation, the camera module includes a third pixel group, which includes at least one motion sensor pixel and at least one depth sensor pixel to form the third pixel group; each motion sensor pixel in the third pixel group is electrically connected to the depth sensor pixel adjacent to itself; each motion sensor pixel in the third pixel group is also used to send a third enable signal to each depth sensor pixel in the third pixel group that is electrically connected to itself.
[0138] In one possible implementation, the camera module also includes a processor;
[0139] The motion sensor pixel is further used to send first position information to the processor, where the first position information is used to indicate the position coordinates of the motion sensor pixel that receives the reflected light pulse on the same sensor;
[0140] The processor is used to receive the first position information, determine the target position according to the first position information, and expose the depth sensor pixels at the target position.
[0141] In one possible implementation, the depth sensor pixel is on a first sensor, and at least one motion sensor pixel is on a second sensor.
[0142] In one possible implementation, the camera module also includes a processor;
[0143] The processor is used to obtain calibration parameters of the first sensor and the second sensor respectively, where the calibration parameters are basic parameters of the camera module and position parameters of the camera module in a world coordinate system;
[0144] The processor is further used to receive second position information sent by the motion sensor pixel, where the second position information is used to indicate the position coordinates of the motion sensor pixel that receives the reflected light pulse on the first sensor;
[0145] The processor is further used to calculate third position information according to respective calibration parameters of the first sensor and the second sensor and the second position information, where the third position information is used to indicate the position coordinates of the depth sensor pixel on the second sensor;
[0146] The processor is further configured to use the position on the second sensor corresponding to the third position information as the target position.
[0147] In one possible implementation, the depth sensor pixel is a time-of-flight TOF pixel, and at least one motion sensor pixel is a dynamic vision sensor DVS pixel or a dynamic active pixel vision sensor DAVIS pixel.
[0148] In summary, in the present application, the camera module includes: a light source, a filter, a depth sensor pixel and at least one motion sensor pixel, and the light source emits a point light pulse of a first wavelength; through the first motion sensor pixel, the depth sensor pixel at the target position is exposed; wherein the first motion sensor pixel is a motion sensor pixel that receives a reflected light pulse, and the reflected light pulse is a light pulse that is reflected by the external environment from the point light pulse of the first wavelength and then passes through the filter, and the wavelength filtered by the filter is the same as the first wavelength, and at least one motion sensor pixel includes the first motion sensor pixel. The present application can control the exposure of the depth sensor pixel at the target position through the first motion sensor pixel, avoid the power consumption problem caused by exposing all pixels on the sensor, reduce the power consumption required for the camera module to measure the distance, and improve the endurance of the camera module to measure the distance.
[0149] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.
[0150] Please refer to Fig.16 , which shows a structural block diagram of a pixel control device provided by an exemplary embodiment of the present application. The pixel control device can be used in a camera module to perform Figure 4 , Figure 5 , Figure 7 , Fig. 9 , Fig.11 or Fig.13 All or part of the steps in the method provided by the embodiment shown are performed by the camera module. The pixel control device 1600 may include the following modules:
[0151] The optical pulse transmitting module 1601 is used to transmit a point optical pulse of a first wavelength through the light source;
[0152] A pixel exposure module 1602, configured to expose the depth sensor pixels at a target position through the first motion sensor pixels;
[0153] Among them, the first motion sensor pixel is a motion sensor pixel that receives a reflected light pulse, and the reflected light pulse is a light pulse that passes through the filter after being reflected by the external environment from the point light pulse of the first wavelength, and the wavelength filtered by the filter is the same as the first wavelength, and the at least one motion sensor pixel includes the first motion sensor pixel.
[0154] Optionally, the depth sensor pixel and the at least one motion sensor pixel are on the same sensor.
[0155] Optionally, the camera module includes a first pixel group, the first pixel group includes a motion sensor pixel and at least one depth sensor pixel; the one motion sensor pixel in the first pixel group is electrically connected to each depth sensor pixel;
[0156] The pixel exposure module 1602 is further configured to send a first enable signal to each depth sensor pixel in the first pixel group according to the motion sensor pixel in the first pixel group that receives the reflected light pulse, so as to expose the depth sensor pixel at a position corresponding to the position receiving the first enable signal.
[0157] Optionally, the camera module includes a second pixel group, the second pixel group includes at least one motion sensor pixel and one depth sensor pixel; the one depth sensor pixel in the second pixel group is electrically connected to each motion sensor pixel;
[0158] The pixel exposure module 1602 is further configured to send a second enable signal to the depth sensor pixels in the second pixel group according to the motion sensor pixels in the second pixel group that receive the reflected light pulse, and expose the depth sensor pixels at positions corresponding to the positions receiving the second enable signal.
[0159] Optionally, the camera module includes a third pixel group, the third pixel group includes at least one motion sensor pixel and at least one depth sensor pixel to form the third pixel group; each motion sensor pixel in the third pixel group is electrically connected to its adjacent depth sensor pixel;
[0160] The pixel exposure module 1602 is also used to send a third enable signal to the depth sensor pixels electrically connected to the motion sensor pixels in the third pixel group according to the motion sensor pixels in the third pixel group that receive the reflected light pulse, so as to expose the depth sensor pixels at the positions corresponding to the positions receiving the third enable signal.
[0161] Optionally, the camera module also includes a processor; the pixel exposure module 1602 is specifically used to obtain first position information, the first position information is used to indicate the position coordinates of the motion sensor pixel that receives the reflected light pulse on the same sensor; determine the target position based on the first position information; and expose the depth sensor pixels at the target position.
[0162] Optionally, the depth sensor pixel is on a first sensor, and the at least one motion sensor pixel is on a second sensor.
[0163] Optionally, the camera module also includes a processor; the pixel exposure module 1602 is specifically used to obtain calibration parameters of the first sensor and the second sensor, the calibration parameters are basic parameters of the camera module and position parameters of the camera module in the world coordinate system; obtain the second position information, the second position information is used to indicate the position coordinates of the motion sensor pixel that receives the reflected light pulse on the first sensor; calculate third position information based on the calibration parameters of the first sensor and the second sensor, and the second position information, the third position information is used to indicate the position coordinates of the depth sensor pixel on the second sensor; use the position on the second sensor corresponding to the third position information as the target position; and expose the depth sensor pixel at the target position.
[0164] Optionally, the depth sensor pixel is a time-of-flight TOF pixel, and the at least one motion sensor pixel is a dynamic vision sensor DVS pixel or a dynamic active pixel vision sensor DAVIS pixel.
[0165] In summary, in the present application, the camera module includes: a light source, a filter, a depth sensor pixel and at least one motion sensor pixel, and the light source emits a point light pulse of a first wavelength; through the first motion sensor pixel, the depth sensor pixel at the target position is exposed; wherein the first motion sensor pixel is a motion sensor pixel that receives a reflected light pulse, and the reflected light pulse is a light pulse that is reflected by the external environment from the point light pulse of the first wavelength and then passes through the filter, and the wavelength filtered by the filter is the same as the first wavelength, and at least one motion sensor pixel includes the first motion sensor pixel. The present application can control the exposure of the depth sensor pixel at the target position through the first motion sensor pixel, avoid the power consumption problem caused by exposing all pixels on the sensor, reduce the power consumption required for the camera module to measure the distance, and improve the endurance of the camera module to measure the distance.
[0166] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product.
[0167] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, a computer, a server, or a data center to another website site, a computer, a server, or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a server or a data center that includes one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive Solid State Disk (SSD)), etc.
[0168] It should be noted that: in the pixel control method provided in the above embodiments, the steps performed by the pixel module and the terminal are only exemplified by the above embodiments. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0169] Those skilled in the art should be aware that in one or more of the above examples, the functions described in the embodiments of the present application can be implemented with hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable storage medium or transmitted as one or more instructions or codes on a computer-readable storage medium. Computer-readable storage media include computer storage media and communication media, wherein the communication media include any media that facilitates the transmission of a computer program from one place to another. The storage medium can be any available medium that a general or special-purpose computer can access.
[0170] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. A pixel control method, It is characterized in that The method is applied to a camera module, the camera module comprising: a light source, a filter, a depth sensor pixel and at least one motion sensor pixel, the depth sensor pixel is on a first sensor, and the at least one motion sensor pixel is on a second sensor, the method comprising: emitting a point-shaped light pulse of a first wavelength by the light source; Acquire calibration parameters of the first sensor and the second sensor, respectively, where the calibration parameters are basic parameters of the camera module and position parameters of the camera module in a world coordinate system; Acquire second position information, where the second position information is used to indicate the position coordinates of the motion sensor pixel that receives the reflected light pulse on the second sensor; Calculate third position information according to calibration parameters of the first sensor and the second sensor, respectively, and the second position information, where the third position information is used to indicate position coordinates of the depth sensor pixel on the first sensor; The position on the first sensor corresponding to the third position information is used as a target position; Expose the depth sensor pixels at the target location; The reflected light pulse is a light pulse that is transmitted through the filter after being reflected by the point light pulse of the first wavelength from the external environment, and the wavelength filtered by the filter is the same as the first wavelength.
2. The pixel control method according to claim 1, It is characterized in that The camera module includes a first pixel group, the first pixel group including a motion sensor pixel and at least one depth sensor pixel; The one motion sensor pixel in the first pixel group is electrically connected to each depth sensor pixel; The depth sensor pixel at the exposure target position includes: According to the motion sensor pixel in the first pixel group that receives the reflected light pulse, a first enable signal is sent to each depth sensor pixel in the first pixel group to expose the depth sensor pixel at a position corresponding to the first enable signal.
3. The pixel control method according to claim 1, It is characterized in that The camera module includes a second pixel group, the second pixel group includes at least one motion sensor pixel and one depth sensor pixel; The one depth sensor pixel in the second pixel group is electrically connected to each motion sensor pixel; The depth sensor pixel at the exposure target position includes: According to the motion sensor pixels in the second pixel group that receive the reflected light pulse, a second enable signal is sent to the depth sensor pixels in the second pixel group to expose the depth sensor pixels at positions corresponding to the positions that receive the second enable signal.
4. The pixel control method according to claim 1, It is characterized in that The camera module includes a third pixel group, and the third pixel group includes at least one motion sensor pixel and at least one depth sensor pixel to form the third pixel group; Each motion sensor pixel in the third pixel group is electrically connected to its adjacent depth sensor pixel; The depth sensor pixel at the exposure target position includes: According to the motion sensor pixels in the third pixel group that receive the reflected light pulse, a third enable signal is sent to the depth sensor pixels in the third pixel group that are electrically connected to the motion sensor pixels, so as to expose the depth sensor pixels at positions corresponding to the positions that receive the third enable signal.
5. The pixel control method according to any one of claims 1 to 4, It is characterized in that The depth sensor pixel is a time-of-flight TOF pixel, and the at least one motion sensor pixel is a dynamic vision sensor DVS pixel or a dynamic active pixel vision sensor DAVIS pixel.
6. A camera module, It is characterized in that The camera module includes: a light source, a filter, a depth sensor pixel and at least one motion sensor pixel; the depth sensor pixel is on a first sensor, and the at least one motion sensor pixel is on a second sensor; the camera module also includes a processor; The light source is used to emit point-shaped light pulses of a first wavelength; The processor is used to obtain calibration parameters of the first sensor and the second sensor respectively, where the calibration parameters are basic parameters of the camera module and position parameters of the camera module in a world coordinate system; The processor is further configured to receive second position information sent by the motion sensor pixel, where the second position information is used to indicate the position coordinates of the motion sensor pixel that receives the reflected light pulse on the second sensor; The processor is further configured to calculate third position information according to respective calibration parameters of the first sensor and the second sensor and the second position information, wherein the third position information is used to indicate position coordinates of the depth sensor pixel on the first sensor; The processor is further configured to use the position on the first sensor corresponding to the third position information as a target position; The first motion sensor pixel is used to expose the depth sensor pixel at the target position; The reflected light pulse is a light pulse that is transmitted through the filter after being reflected by the point light pulse of the first wavelength from the external environment, and the wavelength filtered by the filter is the same as the first wavelength.
7. The camera module according to claim 6, It is characterized in that The camera module includes a first pixel group, which includes a motion sensor pixel and at least one depth sensor pixel; the one motion sensor pixel in the first pixel group is electrically connected to each depth sensor pixel; the one motion sensor pixel is also used to send a first enable signal to each depth sensor pixel in the first pixel group.
8. The camera module according to claim 7, It is characterized in that The camera module includes a second pixel group, which includes at least one motion sensor pixel and one depth sensor pixel; the one depth sensor pixel in the second pixel group is electrically connected to each motion sensor pixel; and the one depth sensor pixel is also used to receive a second enable signal sent by each motion sensor pixel in the second pixel group.
9. The camera module according to claim 7, It is characterized in that The camera module includes a third pixel group, and the third pixel group includes at least one motion sensor pixel and at least one depth sensor pixel to form the third pixel group; each motion sensor pixel in the third pixel group is electrically connected to the depth sensor pixel adjacent to itself; each motion sensor pixel in the third pixel group is also used to send a third enable signal to each depth sensor pixel in the third pixel group that is electrically connected to itself.
10. The camera module according to any one of claims 6 to 9, It is characterized in that The depth sensor pixel is a time-of-flight TOF pixel, and the at least one motion sensor pixel is a dynamic vision sensor DVS pixel or a dynamic active pixel vision sensor DAVIS pixel.
11. A pixel control device, It is characterized in that The pixel control device is used in a camera module, the camera module includes: a light source, a filter, a depth sensor pixel and at least one motion sensor pixel, the depth sensor pixel is on a first sensor, the at least one motion sensor pixel is on a second sensor, and the pixel control device includes: An optical pulse emission module, used for emitting a point optical pulse of a first wavelength through the light source; A pixel exposure module, used to obtain calibration parameters of each of the first sensor and the second sensor, wherein the calibration parameters are basic parameters of the camera module and position parameters of the camera module in a world coordinate system; obtain second position information, wherein the second position information is used to indicate the position coordinates of the motion sensor pixel receiving the reflected light pulse on the second sensor; calculate third position information according to the calibration parameters of each of the first sensor and the second sensor, and the second position information, wherein the third position information is used to indicate the position coordinates of the depth sensor pixel on the first sensor; use the position on the second sensor corresponding to the third position information as the target position; and expose the depth sensor pixel at the target position; The reflected light pulse is a light pulse that is transmitted through the filter after being reflected by the point light pulse of the first wavelength from the external environment, and the wavelength filtered by the filter is the same as the first wavelength.
12. A terminal, It is characterized in that The terminal comprises the camera module as described in any one of claims 6 to 10.
13. A computer-readable storage medium, It is characterized in that The computer-readable storage medium comprises instructions, which, when executed on a computer, enable the computer to perform the method according to any one of claims 1 to 5.
