Sensor calibration method, device, equipment and readable storage medium

By introducing compensation components and comparison modules into the EVS image sensor, real-time correction of the image sensor is achieved to address the signal output deviation problem of the event-type visual sensor, improving the accuracy and reliability of the event signal.

CN114827585BActive Publication Date: 2024-10-11SHENZHEN RUISHIZHIXIN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210311796.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-28
Publication Date
2024-10-11
Estimated Expiration
2042-03-28

AI Technical Summary

Technical Problem

There is a signal output deviation between pixels of event-type vision sensors, which causes the contrast sensitivity of UP events and DN events to change, affecting the accuracy of the image sensor.

Method used

By introducing a compensation element into the pixel array of the EVS image sensor, the preset adjustment parameters are used to compensate and adjust the electrical signal responded to by the input element, and the event signal is output through the comparison result between the comparison element and the storage element. When the preset quantity relationship is met Validate adjustment parameters to reduce signal deviation.

Benefits of technology

It effectively improves the accuracy of the event signal, corrects the error of the image sensor in real time, and ensures the reliability and accuracy of the output signal.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114827585B_ABST
    Figure CN114827585B_ABST
Patent Text Reader

Abstract

The present application provides a sensor calibration method, device, equipment and readable storage medium, the method comprising: for all target EVS pixels in the pixel array, controlling the compensation element with preset adjustment parameters to compensate and adjust the electrical signal generated by the input element in response to the constant light intensity change; controlling the comparison element to compare the adjusted current electrical signal with the electrical signal stored in the storage element at the previous moment; controlling the output element to output an event signal according to the comparison result; when the total number of event signals generated by all target EVS pixels meets the preset quantity relationship, the current adjustment parameter is made effective in each EVS pixel through the processing element. Through the implementation of the scheme of the present application, the electrical signal compensation value of the EVS pixel is determined according to the test output result of the event signal, so as to perform real-time correction on the error when the image sensor is working, and effectively ensure the accuracy of the event signal output by the image sensor.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of sensor technology, and in particular to a sensor calibration method, device, equipment and readable storage medium. Background Art

[0002] With the continuous development of science and technology, computer vision technology has become more and more mature. The emergence of event cameras has attracted more and more attention in the field of vision. It simulates the human retina and responds to the pixel pulses of brightness changes caused by movement. Therefore, it can capture the brightness changes of the scene at a very high frame rate, record events at specific time points and specific locations in the image, and form an event stream instead of a frame stream, thus solving the problems of traditional camera information redundancy, large-scale data storage and real-time processing.

[0003] However, due to the influence of the circuit design of the pixel and the production process of the chip, there are some deviations between the pixels of the event camera, or due to the influence of the ambient light intensity, temperature, etc. in the use scene, the voltage input to the storage element for comparison is different from the voltage actually stored in the storage element, which leads to the deviation of the output event signal. The deviation of the event signal output behavior between these pixels will cause the change of the contrast sensitivity of the UP event and the DN event. Therefore, there is an urgent need for a sensor calibration method that can make the event output more accurate, so as to effectively reduce the deviation of the above-mentioned output event signal. Summary of the invention

[0004] The embodiments of the present application provide a sensor calibration method, device, equipment and readable storage medium, which can at least solve the problem of poor accuracy of event signal output of the EVS (Event-based Vision Sensor) image sensor provided by the related technology due to the influence of circuit design, chip production process and usage environment.

[0005] In a first aspect, an embodiment of the present application provides a sensor calibration method, which is applied to an EVS image sensor, wherein the EVS image sensor includes a pixel array composed of a plurality of EVS pixels, wherein the EVS pixels include an input element, a comparison element, a storage element, an output element, and a processing element, wherein a compensation element is disposed between the input element and the comparison element, and the sensor calibration method includes:

[0006] For all target EVS pixels in the pixel array, the compensation element is controlled by a preset adjustment parameter to compensate and adjust the electrical signal generated by the input element in response to the constant light intensity change; wherein the electrical signal includes a voltage signal or a current signal;

[0007] Controlling the comparison element to compare the adjusted current electrical signal with the electrical signal at the previous moment stored in the storage element;

[0008] Controlling the output element to output an event signal according to the comparison result;

[0009] When the total number of the event signals generated by all the target EVS pixels satisfies a preset quantity relationship, the current adjustment parameter is made effective on each of the EVS pixels through the processing element.

[0010] A second aspect of an embodiment of the present application provides a sensor calibration device, which is applied to an EVS image sensor, wherein the EVS image sensor includes a pixel array composed of a plurality of EVS pixels, wherein the EVS pixels include an input element, a comparison element, a storage element, an output element, and a processing element, wherein a compensation element is disposed between the input element and the comparison element, and the sensor calibration device includes:

[0011] An adjustment module, for controlling the compensation element to perform compensation adjustment on the electrical signal generated by the input element in response to the constant light intensity change with preset adjustment parameters for all target EVS pixels in the pixel array; wherein the electrical signal includes a voltage signal or a current signal;

[0012] A comparison module, used for controlling the comparison element to compare the adjusted current electrical signal with the electrical signal at the previous moment stored by the storage element;

[0013] An output module, used for controlling the output element to output an event signal according to the comparison result;

[0014] The validation module is used to validate the current adjustment parameters on each of the EVS pixels through the processing element when the total number of the event signals generated by all the target EVS pixels satisfies a preset quantity relationship.

[0015] A third aspect of an embodiment of the present application provides a terminal device, including: a memory and a processor, wherein the processor is used to execute a computer program stored in the memory, and when the processor executes the computer program, it implements each step of the sensor calibration method provided in the first aspect of the embodiment of the present application.

[0016] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, each step of the sensor calibration method provided in the first aspect of the embodiment of the present application is implemented.

[0017] As can be seen from the above, according to the sensor correction method, device, equipment and readable storage medium provided by the scheme of the present application, for all target EVS pixels in the pixel array, the compensation element is controlled by preset adjustment parameters to compensate and adjust the electrical signal generated by the input element in response to the constant light intensity change; the comparison element is controlled to compare the adjusted current electrical signal with the electrical signal stored by the storage element at the previous moment; the output element is controlled to output the event signal according to the comparison result; when the total number of event signals generated by all target EVS pixels meets the preset quantity relationship, the current adjustment parameter is made effective in each EVS pixel through the processing element. Through the implementation of the scheme of the present application, the electrical signal compensation value of the EVS pixel is determined according to the test output result of the event signal, so as to perform real-time correction on the error when the image sensor is working, and effectively ensure the accuracy of the event signal output by the image sensor. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 A schematic diagram of the structure of an EVS pixel provided in the first embodiment of the present application;

[0019] Figure 2 A basic flow chart of a sensor calibration method provided in the first embodiment of the present application;

[0020] Figure 3 A detailed flow chart of a sensor calibration method provided in the second embodiment of the present application;

[0021] Figure 4 A schematic diagram of a program module of a sensor calibration device provided in a third embodiment of the present application;

[0022] Figure 5 A schematic diagram of the structure of a terminal device provided in the fourth embodiment of the present application. DETAILED DESCRIPTION

[0023] In order to make the purpose, features, and advantages of the invention of this application more obvious and easy to understand, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.

[0024] In the description of the embodiments of the present application, it should be understood that the terms "length", "width", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc., indicating the orientation or position relationship, are based on the orientation or position relationship shown in the accompanying drawings, and are only for the convenience of describing the embodiments of the present application and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention.

[0025] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.

[0026] In the embodiments of the present application, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral one; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the embodiments of the present application can be understood according to the specific circumstances.

[0027] The above description is only a preferred embodiment of the present application and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present application should be included in the protection scope of the present application.

[0028] In practical applications, on the one hand, since the transistors of the EVS image sensor are affected by the production process and application environment, the voltage difference generated by the same change in light intensity is inconsistent, resulting in an output deviation of the event signal; on the other hand, a switch is designed between the comparison element and the storage element. When the switch is closed, the input voltage of the comparison element is written into the storage element. When the switch is opened, the storage element saves the written voltage. However, due to the voltage difference in the process of the switch from closing to opening (that is, the voltage written into the storage element through the comparison element is not equal to the voltage finally stored in the storage element), the output deviation of the output event signal is caused.

[0029] In order to solve the problem that the EVS image sensor provided in the related art is affected by circuit design, chip production process, and use environment, resulting in poor accuracy of event signal output, the first embodiment of the present application provides a sensor calibration method, which is applied to the EVS image sensor. The EVS image sensor includes a pixel array composed of a plurality of EVS pixels, such as Figure 1 The figure shows a schematic diagram of the structure of an EVS pixel provided in the present embodiment. The EVS pixel includes an input element 11, a comparison element 12, a storage element 13, an output element 14 and a processing element (not shown). A compensation element 15 is arranged between the input element 11 and the comparison element 12. A switch S1 is connected between the comparison element 12 and the storage element 13. It should be noted that each EVS pixel in the pixel array is an integrated circuit. In the integrated circuit, a photodiode can be integrated with a capacitor for collecting charges. The photodiode generates an electrical signal in response to the intensity of incident light. The electrical signal includes a current signal or a voltage signal. The present embodiment does not make a sole limitation on this.

[0030] like Figure 2 This is a basic flow chart of the sensor calibration method provided in this embodiment. The sensor calibration method includes the following steps:

[0031] Step 201 : for all target EVS pixels in the pixel array, a compensation element is controlled by a preset adjustment parameter to perform compensation adjustment on an electrical signal generated by an input element in response to a constant light intensity variation.

[0032] Specifically, in this embodiment, the target EVS pixel serves as a correction pixel, and its input element generates an electrical signal in response to a constant light intensity change, and the compensation element compensates and adjusts the value of the electrical signal generated by the input element with a certain adjustment parameter each time, so as to compensate in advance for the attenuation of the electrical signal caused by the pressure difference. It should be noted that in this embodiment, each EVS pixel can be configured with a dedicated compensation element, and in order to facilitate the miniaturization of the pixel array size, this embodiment can also set a common compensation element for multiple EVS pixels, and the common compensation element can be set inside a certain EVS pixel, or outside all EVS pixels, and this embodiment does not make a unique limitation on this.

[0033] In one implementation of the present embodiment, before the step of controlling the compensation element with preset adjustment parameters to compensate and adjust the electrical signal generated by the input element in response to the constant light intensity change, the step further includes: obtaining the circuit design data of the EVS pixel; and setting the initial value of the adjustment parameter with reference to the circuit design data. Correspondingly, the step of controlling the compensation element with preset adjustment parameters to compensate and adjust the electrical signal generated by the input element in response to the constant light intensity change includes: starting from the initial value of the adjustment parameter, each time setting the current adjustment parameter with reference to the previous adjustment parameter; and controlling the compensation element with the current adjustment parameter to compensate and adjust the electrical signal generated by the input element in response to the constant light intensity change.

[0034] Specifically, in this embodiment, in order to ensure the correction efficiency, the adjustment parameters used for the first time in the correction process can be set with reference to the specific design of the circuit in the EVS image sensor and the specific parameter requirements. Then, in multiple attempts in a single correction process, each correction attempt refers to the previous adjustment parameters to set the adjustment parameters currently required to be used. In this way, the adjustment parameters are adaptively set according to the sensor hardware conditions, which can effectively reduce invalid correction attempts and has a higher correction efficiency than randomly setting the adjustment parameters.

[0035] Further, in one implementation of the present embodiment, the above-mentioned step of setting the current adjustment parameter each time by referring to the previous adjustment parameter starting from the initial value of the self-adjustment parameter includes: starting from the initial value of the self-adjustment parameter, each time a fixed proportion is increased on the basis of the previous adjustment parameter to obtain the current adjustment parameter.

[0036] Specifically, the current adjustment parameter I1 used in each correction attempt in this embodiment is obtained by increasing the previous adjustment parameter I2 by a fixed ratio R, that is, I1=I2*R. It should be understood that the fixed ratio R is negatively correlated with the accuracy of the correction result, that is, the smaller R is, the higher the accuracy of the correction result.

[0037] In one implementation of the present embodiment, before the above-mentioned step of controlling the compensation element with preset adjustment parameters to compensate for the electrical signal generated by the input element in response to the constant light intensity change, it also includes: dividing the pixel array into multiple array units with preset array division units; wherein the array division units include rows and columns; and selecting target EVS pixels in each array unit respectively.

[0038] Specifically, the present embodiment can divide the pixel array into a plurality of array units, and select representative pixels from each array unit to obtain a correction pixel set, and then obtain the correction result based on the correction pixel combination, and finally lock the working parameters of the compensation element of each pixel in the pixel array according to the correction result. It should be noted that the present embodiment can flexibly set the array division unit and the number of target EVS pixels to be selected in each array unit according to the correction accuracy and correction efficiency requirements. In addition, the target EVS pixels of the present embodiment can be used only as correction pixels after being selected, or can still maintain the subsequent normal working function, and the present embodiment does not make a sole limitation on this.

[0039] Step 202: Control the comparison element to compare the adjusted current electrical signal with the electrical signal at the previous moment stored in the storage element.

[0040] Specifically, each time the input unit transmits an electrical signal to the comparison element, it will be transmitted to the storage element for storage to serve as a reference signal when the comparison element compares the electrical signal next time. The comparison element compares the current electrical signal with the electrical signal at the previous moment to determine whether the intensity of the incident light has changed (become stronger or weaker). When the current electrical signal is greater than the electrical signal at the previous moment, the light intensity becomes stronger, otherwise it becomes weaker.

[0041] Step 203: Control the output element to output an event signal according to the comparison result.

[0042] Specifically, in the present embodiment, the event signal of each pixel is a binary vector (i.e., a 2-bit vector), which is used to characterize whether the incident light becomes stronger or weaker. If the current electrical signal is greater than the electrical signal at the previous moment, the 2-bit vector is represented as [1, 0], which is an UP event signal. If the current electrical signal is less than the electrical signal at the previous moment, the 2-bit vector is represented as [0, 1], which is a DN event signal.

[0043] Step 204: When the total number of event signals generated by all target EVS pixels satisfies a preset quantity relationship, the current adjustment parameter is made effective on each EVS pixel through the processing element.

[0044] Specifically, in this embodiment, calibration attempts are repeatedly performed according to different adjustment parameters, and the event generation amount of each calibration attempt is counted. If the event generation amount meets the event level generated by normal use of the sensor, the adjustment parameters used in the current calibration attempt are used as effective working parameters of the compensation element, and are locked in the compensation elements of all pixels in the pixel array for use in error compensation during subsequent operation of the sensor.

[0045] In one implementation of the present embodiment, the above-mentioned step of making the current adjustment parameter effective in each EVS pixel through the processing element when the total number of event signals generated by all target EVS pixels satisfies a preset quantitative relationship includes: for all target EVS pixels, respectively counting a first total number of UP event signals and a second total number of DN event signals; wherein, the comparison result corresponding to the UP event signal is that the current electrical signal is greater than the electrical signal at the previous moment, and the comparison result corresponding to the DN event signal is that the current electrical signal is less than the electrical signal at the previous moment; when the first total number of UP event signals and the second total number of DN event signals respectively satisfy the preset quantitative relationship, the current adjustment parameter is made effective in each EVS pixel through the processing element.

[0046] Specifically, in the present embodiment, considering that the image sensor can output two different types of event signals according to opposite light intensity change behaviors, the present embodiment can combine the output behaviors of the two event signals to perform comprehensive pixel correction, so as to avoid the situation where the adjustment parameters set for only a single type of event signal cannot reconcile the output deviation of another type of event signal.

[0047] Further, in one implementation of the present embodiment, the above-mentioned step of making the current adjustment parameter effective in each EVS pixel through the processing element when the first total number of UP event signals and the second total number of DN event signals respectively satisfy the preset quantity relationship includes: when the first total number of UP event signals exceeds the preset first quantity threshold, and the second total number of DN event signals is lower than the preset second quantity threshold, the current adjustment parameter is effective in each EVS pixel through the processing element.

[0048] Specifically, in practical applications, the output deviation of the event signal is usually reflected in two aspects: first, the pixel should generate an UP event signal but does not generate an UP event signal; second, the pixel should not generate a DN event signal but generates a DN event signal. Based on this, the present embodiment compares the total amount of UP event signals and DN event signals with the corresponding quantity thresholds respectively, and the comparison criteria of the two are opposite. Then, when both meet their comparison criteria, the current adjustment parameter is locked as the effective adjustment parameter in the compensation unit of each EVS pixel.

[0049] In one implementation of the present embodiment, before the above-mentioned step of controlling the compensation element with preset adjustment parameters to compensate for the electrical signal generated by the input element in response to the constant light intensity change for all target EVS pixels in the pixel array, it also includes: determining the corresponding light intensity adjustment value with reference to the event detection sensitivity of the EVS image sensor.

[0050] Specifically, in this embodiment, unlike the aforementioned embodiment that solves the problem of event signal output deviation caused by pressure difference during electrical signal transmission, this embodiment solves the problem of event signal output deviation caused by light sensing sensitivity. In this embodiment, it is assumed that the event detection sensitivity of the EVS image sensor is 15%, that is, when the light intensity input by the input element changes by more than 15%, the output element outputs an event, so this embodiment first increases the input light intensity at the next moment by 15%, and then controls the compensation unit to perform a calibration attempt based on the preset adjustment parameters. When the total number of pixel event outputs meets the conditions, the currently used adjustment parameters are effective in each EVS pixel to overcome the event signal output deviation caused by light sensing sensitivity.

[0051] In another implementation of this embodiment, after the above step of making the current adjustment parameter effective in each EVS pixel through the processing element, it also includes: determining the corresponding light intensity adjustment value with reference to the event detection sensitivity of the EVS image sensor; and adjusting the current light intensity of the input element accordingly according to the light intensity adjustment value. After this, the process returns to the step of controlling the compensation element to compensate and adjust the electrical signal generated by the input element in response to the constant light intensity change with the preset adjustment parameter for all target EVS pixels in the pixel array, and re-executes the above-mentioned process of steps 201 to 204.

[0052] Specifically, different from the aforementioned implementation methods in which the event signal output deviation correction caused by the pressure difference during the electrical signal transmission or the light sensing sensitivity is performed separately, this embodiment provides a composite correction implementation method, that is, after completing the event signal output deviation correction caused by the pressure difference, the light intensity of the input element is adjusted with reference to the expected event detection sensitivity, and then the aforementioned correction attempt process is executed again according to the adjustment parameters of the compensation element, so that the event signal output deviation caused by the pressure difference and the sensitivity can be overcome simultaneously through two corrections, thereby further improving the event output accuracy of the EVS image sensor.

[0053] Based on the technical solution of the embodiment of the present application described above, for all target EVS pixels in the pixel array, the compensation element is controlled by a preset adjustment parameter to compensate and adjust the electrical signal generated by the input element in response to the constant light intensity change; the comparison element is controlled to compare the adjusted current electrical signal with the electrical signal stored in the storage element at the previous moment; the output element is controlled to output the event signal according to the comparison result; when the total number of event signals generated by all target EVS pixels meets the preset quantity relationship, the adjustment parameter is made effective in each EVS pixel through the processing element. Through the implementation of the solution of the present application, the electrical signal compensation value of the EVS pixel is determined according to the test output result of the event signal, so as to perform real-time correction on the error of the image sensor when it is working, and effectively ensure the accuracy of the event signal output by the image sensor.

[0054] Figure 3 The method in is a refined sensor calibration method provided in the second embodiment of the present application, and the sensor calibration method includes:

[0055] Step 301 : Divide the pixel array into a plurality of array units according to a preset array division unit, and select a target EVS pixel in each array unit.

[0056] Specifically, in this embodiment, the entire pixel array may be divided into a plurality of array units by column, and then the first EVS pixel of each array unit is used as the target EVS pixel.

[0057] Step 302 : For all target EVS pixels in the pixel array, starting from the initial value of the adjustment parameter, the current adjustment parameter is set each time with reference to the previous adjustment parameter.

[0058] Specifically, in the overall calibration process, the current adjustment parameter I1 used in each calibration attempt of this embodiment is obtained by increasing the previous adjustment parameter I2 by a fixed ratio R, that is, I1 = I2*R.

[0059] Step 303: Control the compensation element with the current adjustment parameter to perform compensation adjustment on the electrical signal generated by the input element in response to the constant light intensity change.

[0060] The electrical signal may include any one of a voltage signal and a current signal.

[0061] Step 304: Control the comparison element to compare the adjusted current electrical signal with the electrical signal at the previous moment stored in the storage element.

[0062] Step 305: Control the output element to output an event signal according to the comparison result.

[0063] Among them, the comparison result corresponding to the UP event signal is that the current electrical signal is greater than the electrical signal at the previous moment, and the comparison result corresponding to the DN event signal is that the current electrical signal is less than the electrical signal at the previous moment.

[0064] Step 306: For all target EVS pixels, count the first total number of UP event signals and the second total number of DN event signals respectively.

[0065] Step 307: When the first total number of UP event signals exceeds a preset first number threshold and the second total number of DN event signals is lower than a preset second number threshold, the current adjustment parameter is made effective in each EVS pixel through the processing element.

[0066] Specifically, this embodiment can combine the output behaviors of two types of event signals to perform comprehensive pixel correction, so as to avoid the situation where the adjustment parameters set for only a single type of event signal cannot reconcile the output deviation of another type of event signal.

[0067] Step 308 , determine the corresponding light intensity adjustment value with reference to the event detection sensitivity of the EVS image sensor, and adjust the current light intensity of the input element accordingly according to the light intensity adjustment value; then return to execute steps 302 to 307 .

[0068] Specifically, after completing the error correction of the event signal output deviation caused by the pressure difference, the present embodiment further adjusts the input light intensity according to the event detection sensitivity of the sensor, that is, first adjusts the light intensity of the input element with reference to the expected event detection sensitivity. For example, the event detection sensitivity of the EVS image sensor is 15%, that is, when the light intensity of the input element changes by more than 15%, the output element outputs an event. Therefore, the present embodiment increases the input light intensity at the next moment by 15%, and then re-executes the error correction process of the event signal output deviation caused by sensitivity, thereby achieving two aspects of error correction at the same time and maximizing the event output accuracy of the EVS image sensor.

[0069] It should be understood that the size of the serial number of each step in this embodiment does not mean the order of execution of the steps. The execution order of each step should be determined by its function and internal logic, and should not constitute a sole limitation on the implementation process of the embodiment of this application.

[0070] Figure 4 A sensor calibration device is provided in the third embodiment of the present application. The sensor calibration device can be used to implement the sensor calibration method in the above-mentioned embodiment. Figure 4 As shown, the sensor calibration device mainly includes:

[0071] The adjustment module 401 is used to control the compensation element to compensate and adjust the electrical signal generated by the input element in response to the constant light intensity change with preset adjustment parameters for all target EVS pixels in the pixel array; wherein the electrical signal includes a voltage signal or a current signal;

[0072] A comparison module 402, used to control the comparison element to compare the adjusted current electrical signal with the electrical signal at the previous moment stored in the storage element;

[0073] An output module 403, used to control the output element to output an event signal according to the comparison result;

[0074] The validation module 404 is used to validate the current adjustment parameters on each EVS pixel through a processing element when the total number of event signals generated by all target EVS pixels satisfies a preset quantity relationship.

[0075] In some implementations of the present embodiment, the effectiveness module is specifically used to: for all target EVS pixels, respectively count the first total number of UP event signals and the second total number of DN event signals; wherein, the comparison result corresponding to the UP event signal is that the current electrical signal is greater than the electrical signal at the previous moment, and the comparison result corresponding to the DN event signal is that the current electrical signal is less than the electrical signal at the previous moment; when the first total number of UP event signals and the second total number of DN event signals respectively satisfy the preset quantity relationship, the current adjustment parameter is made effective in each EVS pixel through the processing element.

[0076] Further, in some implementations of the present embodiment, when the effectiveness module executes the above-mentioned function of making the current adjustment parameter effective in each EVS pixel through the processing element when the first total number of UP event signals and the second total number of DN event signals respectively satisfy the preset quantity relationship, it is specifically used for: when the first total number of UP event signals exceeds the preset first quantity threshold, and the second total number of DN event signals is lower than the preset second quantity threshold, the current adjustment parameter is effective in each EVS pixel through the processing element.

[0077] In some implementations of the present embodiment, the adjustment module is specifically used to: determine the corresponding light intensity adjustment value with reference to the event detection sensitivity of the EVS image sensor; and for all target EVS pixels in the pixel array, control the compensation element with preset adjustment parameters to compensate for the electrical signal generated by the input element in response to the constant light intensity change.

[0078] In some other implementations of this embodiment, the adjustment module is also used to: determine a corresponding light intensity adjustment value with reference to the event detection sensitivity of the EVS image sensor; make corresponding adjustments to the current light intensity of the input element according to the light intensity adjustment value, and then return to execute the function of compensating and adjusting the electrical signal generated by the input element in response to the constant light intensity change for all target EVS pixels in the pixel array with preset adjustment parameters to control the compensation element.

[0079] In some implementations of this embodiment, the sensor calibration device further includes: a setting module for acquiring circuit design data of EVS pixels; and setting the initial value of the adjustment parameter accordingly with reference to the circuit design data. Accordingly, the adjustment module is specifically used to: for all target EVS pixels in the pixel array, starting from the initial value of the adjustment parameter, set the current adjustment parameter each time with reference to the previous adjustment parameter; and use the current adjustment parameter to control the compensation element to compensate and adjust the electrical signal generated by the input element in response to the constant light intensity change.

[0080] Further, in some implementations of the present embodiment, the adjustment module starts from executing the above-mentioned initial value of the self-adjustment parameter, and each time refers to the previous adjustment parameter to set the current adjustment parameter, which is specifically used to: start from the initial value of the self-adjustment parameter, and each time increase a fixed proportion on the basis of the previous adjustment parameter to obtain the current adjustment parameter.

[0081] In some implementations of this embodiment, the sensor calibration device also includes: a selection module, used to divide the pixel array into multiple array units according to preset array division units; wherein the array division units include rows and columns; and select target EVS pixels in each array unit respectively.

[0082] It should be noted that the sensor calibration methods in the first and second embodiments can be implemented based on the sensor calibration device provided in this embodiment. Ordinary technicians in the relevant field can clearly understand that for the convenience and conciseness of description, the specific working process of the sensor calibration device described in this embodiment can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0083] According to the sensor correction device provided by this embodiment, for all target EVS pixels in the pixel array, the compensation element is controlled by preset adjustment parameters to compensate and adjust the electrical signal generated by the input element in response to the constant light intensity change; the comparison element is controlled to compare the adjusted current electrical signal with the electrical signal stored in the storage element at the previous moment; the output element is controlled to output the event signal according to the comparison result; when the total number of event signals generated by all target EVS pixels meets the preset quantity relationship, the adjustment parameter is made effective in each EVS pixel through the processing element. Through the implementation of the scheme of this application, the electrical signal compensation value of the EVS pixel is determined according to the test output result of the event signal, so as to perform real-time correction on the error of the image sensor when it is working, and effectively ensure the accuracy of the event signal output by the image sensor.

[0084] Figure 5 A terminal device is provided in the fourth embodiment of the present application. The terminal device can be used to implement the sensor calibration method in the above embodiment, mainly including:

[0085] A memory 501, a processor 502, and a computer program 503 stored in the memory 501 and executable on the processor 502, the memory 501 and the processor 502 are connected via communication. When the processor 502 executes the computer program 503, the method in the first or second embodiment described above is implemented. The number of processors may be one or more.

[0086] The memory 501 may be a high-speed random access memory (RAM) memory, or a non-volatile memory, such as a disk memory. The memory 501 is used to store executable program codes, and the processor 502 is coupled to the memory 501 .

[0087] Furthermore, the present application also provides a computer-readable storage medium, which may be disposed in the electronic device in the above embodiments. Figure 5 Memory in the illustrated embodiment.

[0088] The computer readable storage medium stores a computer program, and when the program is executed by the processor, the sensor calibration method in the aforementioned embodiment is implemented. Furthermore, the computer storable medium can also be a U disk, a mobile hard disk, a read-only memory (ROM), a RAM, a magnetic disk or an optical disk, and other media that can store program codes.

[0089] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.

[0090] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0091] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules.

[0092] If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a readable storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned readable storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard drives, ROM, RAM, magnetic disks, or optical disks.

[0093] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described action sequence, because according to the present application, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0094] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0095] The above is a description of the sensor calibration method, device, equipment and readable storage medium provided in the present application. For technicians in this field, according to the ideas of the embodiments of the present application, there may be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A sensor calibration method, characterized in that: Applied to an EVS image sensor, the EVS image sensor includes a pixel array composed of a plurality of EVS pixels, the EVS pixels include an input element, a comparison element, a storage element, an output element and a processing element, a compensation element is arranged between the input element and the comparison element, and the sensor calibration method includes: For all target EVS pixels in the pixel array, the compensation element is controlled by a preset adjustment parameter to compensate and adjust the electrical signal generated by the input element in response to the constant light intensity change; wherein the electrical signal includes a voltage signal or a current signal; Controlling the comparison element to compare the adjusted current electrical signal with the electrical signal at the previous moment stored in the storage element; Controlling the output element to output an event signal according to the comparison result; When the total number of the event signals generated by all the target EVS pixels satisfies a preset quantity relationship, the current adjustment parameter is made effective at each of the EVS pixels through the processing element; Before the step of controlling the compensation element to perform compensation adjustment on the electrical signal generated by the input element in response to the constant light intensity variation using the preset adjustment parameter, the method further includes: Obtaining circuit design data of the EVS pixel; referring to the circuit design data to set the initial value of the adjustment parameter accordingly; The step of controlling the compensation element to compensate and adjust the electrical signal generated by the input element in response to the constant light intensity variation using a preset adjustment parameter comprises: Starting from the initial value of the adjustment parameter, the current adjustment parameter is set each time with reference to the previous adjustment parameter; The compensation element is controlled by the current adjustment parameter to perform compensation adjustment on the electrical signal generated by the input element in response to the constant light intensity change.

2. The sensor calibration method according to claim 1, characterized in that: When the total number of the event signals generated by all the target EVS pixels satisfies a preset quantity relationship, the step of making the current adjustment parameter effective at each of the EVS pixels by the processing element comprises: For all the target EVS pixels, a first total number of UP event signals and a second total number of DN event signals are counted respectively; wherein the comparison result corresponding to the UP event signal is that the current electrical signal is greater than the electrical signal at the previous moment, and the comparison result corresponding to the DN event signal is that the current electrical signal is less than the electrical signal at the previous moment; When the first total number of the UP event signals and the second total number of the DN event signals respectively satisfy a preset quantity relationship, the current adjustment parameter is made effective in each of the EVS pixels through the processing element.

3. The sensor calibration method according to claim 2, characterized in that: When the first total number of the UP event signals and the second total number of the DN event signals respectively satisfy a preset quantity relationship, the step of making the current adjustment parameter effective in each of the EVS pixels by the processing element comprises: When the first total number of the UP event signals exceeds a preset first number threshold, and the second total number of the DN event signals is lower than a preset second number threshold, the processing element makes the current adjustment parameter effective at each of the EVS pixels.

4. The sensor calibration method according to claim 1, characterized in that: Before the step of controlling the compensation element to compensate and adjust the electrical signal generated by the input element in response to the constant light intensity change with preset adjustment parameters for all target EVS pixels in the pixel array, the step further includes: The corresponding light intensity adjustment value is determined with reference to the event detection sensitivity of the EVS image sensor.

5. The sensor calibration method according to claim 1, characterized in that: After the step of making the current adjustment parameter effective on each of the EVS pixels by the processing element, the method further includes: Determine a corresponding light intensity adjustment value with reference to the event detection sensitivity of the EVS image sensor; The current light intensity of the input element is adjusted accordingly according to the light intensity adjustment value, and then the step of returning to execute the step of controlling the compensation element to perform compensatory adjustment on the electrical signal generated by the input element in response to the constant light intensity change for all target EVS pixels in the pixel array with preset adjustment parameters.

6. The sensor calibration method according to claim 1, characterized in that: The step of setting the current adjustment parameter each time with reference to the previous adjustment parameter starting from the initial value of the adjustment parameter comprises: Starting from the initial value of the adjustment parameter, a fixed ratio is added to the previous adjustment parameter each time to obtain the current adjustment parameter.

7. The sensor calibration method according to any one of claims 1 to 5, characterized in that: Before the step of controlling the compensation element to perform compensation adjustment on the electrical signal generated by the input element in response to the constant light intensity variation using the preset adjustment parameter, the method further includes: Dividing the pixel array into a plurality of array elements using a preset array division unit; wherein the array division unit includes rows and columns; The target EVS pixels are selected in each of the array elements respectively.

8. A sensor calibration device, characterized in that: Applied to an EVS image sensor, the EVS image sensor includes a pixel array composed of a plurality of EVS pixels, the EVS pixels include an input element, a comparison element, a storage element, an output element and a processing element, a compensation element is arranged between the input element and the comparison element, and the sensor correction device includes: An adjustment module, for controlling the compensation element to perform compensation adjustment on the electrical signal generated by the input element in response to the constant light intensity change with preset adjustment parameters for all target EVS pixels in the pixel array; wherein the electrical signal includes a voltage signal or a current signal; A comparison module, used for controlling the comparison element to compare the adjusted current electrical signal with the electrical signal at the previous moment stored by the storage element; An output module, used for controlling the output element to output an event signal according to the comparison result; An effectiveness module, configured to, when the total number of the event signals generated by all the target EVS pixels satisfies a preset quantity relationship, make the current adjustment parameter effective on each of the EVS pixels through the processing element; A setting module, used for obtaining circuit design data of the EVS pixel; and setting the initial value of the adjustment parameter accordingly with reference to the circuit design data; The adjustment module is specifically used to: for all target EVS pixels in the pixel array, starting from the initial value of the adjustment parameter, set the current adjustment parameter each time with reference to the previous adjustment parameter; use the current adjustment parameter to control the compensation element to compensate and adjust the electrical signal generated by the input element in response to the constant light intensity change.

9. A terminal device, characterized in that: The device comprises a memory and a processor, wherein: The processor is used to execute the computer program stored in the memory; When the processor executes the computer program, the steps in the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps in the method according to any one of claims 1 to 7 are implemented.