A sensor testing method and related device

The sensor testing method for event monitoring visual sensors uses actual event data and pseudo-random signals to accurately test communication interfaces, enhancing testing accuracy and efficiency in identifying and addressing abnormalities.

CN115250349BActive Publication Date: 2024-12-13SHENZHEN RUISHIZHIXIN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210887285.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-26
Publication Date
2024-12-13
Estimated Expiration
2042-07-26

AI Technical Summary

Technical Problem

Existing event monitoring visual sensors lack effective testing methods for their internal communication interfaces, which are crucial for ensuring proper functioning and debugging.

Method used

A sensor testing method and device that determine the working state of communication interfaces by using actual event data and pseudo-random light intensity detection signals to comprehensively test the communication paths, ensuring accuracy and efficiency in identifying abnormal interfaces.

Benefits of technology

The method ensures comprehensive testing of communication interfaces, improving test accuracy and efficiency in locating abnormalities, thereby guiding effective sensor debugging.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115250349B_ABST
    Figure CN115250349B_ABST
Patent Text Reader

Abstract

The present application relates to a sensor testing method and related devices, which determine the working state of the second communication interface according to the actual event data corresponding to the ambient light intensity signal output by the second communication interface connected to the output end of the digital readout circuit; when the working state of the second communication interface is normal, the preset pseudo-random light intensity detection signal is used as the input of the first communication interface connected to the input end of the digital readout circuit, and then the pseudo-random event data output by the second communication interface is obtained; the working state of the first communication interface is determined based on the pseudo-random event data. Through the implementation of the scheme of the present application, the second communication interface at the back end is tested first, and after the second communication interface is tested normally, the first communication interface at the front end is tested based on the pseudo-random signal, which ensures the comprehensiveness of the overall working path test of the sensor, and can effectively improve the test accuracy and the efficiency of locating abnormal interfaces.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electronic technology, and in particular to a sensor testing method and related devices. 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. The event-based vision sensor (EVS) it uses simulates the human retina and responds to 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 data storage volume and real-time processing volume.

[0003] In practical applications, multiple circuits inside event detection vision sensors transmit signal streams through corresponding physical interfaces, and multiple circuits work together to complete event image output. However, affected by factors such as circuit design and chip production, the communication interfaces between adjacent circuits cannot usually be guaranteed to be in normal status. Therefore, a testing method is urgently needed to perform working condition testing on the physical communication interface of the sensor to provide effective guidance for subsequent sensor debugging work. Summary of the invention

[0004] The embodiments of the present application provide a sensor testing method and related devices, which can at least solve the problem of lack of effective testing means for the internal communication interface of the event monitoring visual sensor in the related art.

[0005] In a first aspect, an embodiment of the present application provides a sensor testing method, which is applied to an event monitoring visual sensor, wherein a pixel array of the event monitoring visual sensor includes a plurality of EVS pixels, each of the EVS pixels includes a light intensity detection circuit and a digital readout circuit, a first communication interface is provided between the light intensity detection circuit and the digital readout circuit, and an output end of the digital readout circuit is connected to an input end of a second communication interface; the sensor testing method includes:

[0006] Determine the working state of the second communication interface according to the actual event data corresponding to the ambient light intensity detection signal output by the second communication interface; wherein the working state of the communication interface includes a normal state and an abnormal state;

[0007] When the working state of the second communication interface is the normal state, taking a preset pseudo-random light intensity detection signal as an input of the first communication interface, and acquiring pseudo-random event data output by the second communication interface;

[0008] The working state of the first communication interface is determined based on the pseudo-random event data.

[0009] A second aspect of an embodiment of the present application provides a sensor testing device, which is applied to an event monitoring visual sensor, wherein the pixel array of the event monitoring visual sensor includes a plurality of EVS pixels, each of the EVS pixels includes a light intensity detection circuit and a digital readout circuit, a first communication interface is provided between the light intensity detection circuit and the digital readout circuit, and an output end of the digital readout circuit is connected to an input end of a second communication interface; the sensor testing device includes:

[0010] A first determination module is used to determine the working state of the second communication interface according to the actual event data corresponding to the ambient light intensity detection signal output by the second communication interface; wherein the working state of the communication interface includes a normal state and an abnormal state;

[0011] an acquisition module, configured to, when the working state of the second communication interface is the normal state, use a preset pseudo-random light intensity detection signal as an input of the first communication interface to acquire pseudo-random event data output by the second communication interface;

[0012] The second determination module is used to determine the working state of the first communication interface based on the pseudo-random event data.

[0013] A third aspect of an embodiment of the present application provides an event monitoring visual sensor, 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 testing method provided in the first aspect of the embodiment of the present application.

[0014] 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 testing method provided in the first aspect of the embodiment of the present application is implemented.

[0015] As can be seen from the above, according to the sensor testing method and related devices provided by the present application, the working state of the second communication interface is determined according to the actual event data corresponding to the ambient light intensity signal output by the second communication interface connected to the output end of the digital readout circuit; when the working state of the second communication interface is normal, the preset pseudo-random light intensity detection signal is used as the input of the first communication interface connected to the input end of the digital readout circuit, and then the pseudo-random event data output by the second communication interface is obtained; the working state of the first communication interface is determined based on the pseudo-random event data. Through the implementation of the present application, the second communication interface at the back end is tested first, and after the second communication interface is tested normally, the first communication interface at the front end is tested based on the pseudo-random signal, which ensures the comprehensiveness of the overall working path test of the sensor, and can effectively improve the test accuracy and the efficiency of locating abnormal interfaces. BRIEF DESCRIPTION OF THE DRAWINGS

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

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

[0018] Figure 3 A schematic diagram of a single frame of event data provided in the first embodiment of the present application;

[0019] Figure 4 A schematic diagram of first frame event data provided in the first embodiment of the present application;

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

[0021] Figure 6 A schematic diagram of a program module of a sensor testing device provided in the second embodiment of the present application;

[0022] Figure 7 A schematic diagram of the structure of an event monitoring visual sensor provided in the third 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 order to solve the problem of lack of effective testing means for the internal communication interface of event monitoring visual sensors in the related art, the first embodiment of the present application provides a sensor testing method, which is applied to event monitoring visual sensors. The pixel array of the event monitoring visual sensor includes multiple EVS pixels, each of which works independently, and an event is output only when the brightness change of a certain pixel reaches a certain threshold, such as Figure 1 The figure shows a circuit structure diagram of an EVS pixel provided in this embodiment, each EVS pixel includes a light intensity detection circuit 101 and a digital readout circuit 102, a first communication interface 103 is arranged between the light intensity detection circuit 101 and the digital readout circuit 102, and the output end of the digital readout circuit 102 is connected to the input end of the second communication interface 104.

[0029] In practical applications, the light intensity detection circuit outputs a voltage comparison result in response to the change in light intensity, and the digital readout circuit generates a corresponding event output according to the voltage comparison result. In practical applications, the output end of the second communication interface can be connected to the processing circuit, and then the event data can be transmitted to the processing circuit for a series of processing (such as denoising, packaging, etc.). It should be noted that, as a typical implementation of this embodiment, the light intensity detection circuit includes an input unit, a current-voltage conversion unit, and a comparison unit, wherein the input unit is configured to perform photoelectric conversion of the incident light and form a photocurrent; the current-voltage conversion unit is configured to convert the photocurrent corresponding to the incident light into a voltage, and its voltage and current can satisfy a logarithmic relationship; the comparison unit is configured to compare the voltage signal corresponding to the incident light with the reference voltage signal to generate a voltage comparison result (i.e., a voltage difference), and the comparison result is transmitted to the digital readout circuit through the first communication interface.

[0030] Next, the digital readout circuit compares each voltage difference with the preset voltage threshold range, and generates a binary value for each pixel according to the comparison result. The binary value is used to characterize whether the incident light signal has changed. It should be noted that when the voltage difference exceeds the voltage threshold range, the generated binary value is 1, indicating that an event has occurred in the pixel, and when the voltage difference does not exceed the voltage threshold range, the generated binary value is 0, indicating that no event has occurred in the pixel. Finally, each binary value is embedded with pixel coordinate position information and timestamp information, that is, event data is generated, and the event data is output through the second communication interface.

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

[0032] Step 201: Determine the working state of the second communication interface according to the actual event data corresponding to the ambient light intensity detection signal output by the second communication interface.

[0033] Specifically, in this embodiment, the working state of the second communication interface at the back end of the overall circuit is first tested. The working state of the physical communication interface includes two states: normal state and abnormal state. This embodiment refers to the event data output by the second communication interface to determine whether the interface is normal. Figure 3 The figure shows a schematic diagram of single-frame event data provided by the present embodiment. Each value in the figure corresponds to a pixel position. It should be understood that the binary value 0 in the figure is only to indicate that no event is generated at the pixel position. In actual applications, the binary value 0 may not be output.

[0034] In one implementation of the present embodiment, the step of determining the working state of the second communication interface based on the actual event data corresponding to the ambient light intensity detection signal output by the second communication interface includes: for the actual event data corresponding to the ambient light intensity detection signal output by the second communication interface, comparing the binary value of the target pixel position in the actual event data of the target frame number with the corresponding binary value in the cache event data of the digital readout circuit, and determining the corresponding working state of the second communication interface based on the comparison result; wherein the binary value includes a first value and a second value, the first value represents that an event has occurred in the pixel, and the second value represents that no event has occurred in the pixel.

[0035] Specifically, the cached event stream of the event monitoring visual sensor includes multiple frames of event data, that is, the digital readout circuit will generate multiple frames of event data that are adjacent in time sequence for caching and output through the second communication interface. This embodiment uses the form of frame + row + column to determine the data to be compared, that is, the value of the specific pixel position in the specific frame event data output by the second communication interface is compared with the value of the corresponding pixel position in the corresponding frame in the cached event data, and whether the second communication interface of the pixel is normal is determined based on whether the comparison is consistent. Generally speaking, if the comparison between the two is consistent, it means that the second communication interface inside the pixel of the selected pixel position is normal. Figure 4 The diagram is a schematic diagram of the first frame event data provided by this embodiment. The frame of the event data is 1. If the interface test is performed on pixel 401 in the diagram, then row is 2 and column is 3.

[0036] Further, in one implementation of the present embodiment, the above-mentioned step of comparing the binary value of the target pixel position in the actual event data of the target frame number with the corresponding binary value in the cache event data of the digital readout circuit, and determining the working state corresponding to the second communication interface according to the comparison result, includes: comparing the binary values ​​of the same target pixel position in the actual event data of multiple target frame numbers with the corresponding binary values ​​in the cache event data of the digital readout circuit; if the number of consistent comparisons in the multiple comparison results reaches a preset number threshold, then determining that the working state of the second communication interface corresponding to the target pixel position is normal.

[0037] Specifically, in order to improve the accuracy of interface status determination, this embodiment compares the binary values ​​of the pixel position in the multi-frame event data with the binary values ​​in the corresponding cache event data for each pixel. When the number of consistent comparisons is large or even all the comparisons are consistent, it is determined that the second communication interface at the pixel position is in a normal state, so as to avoid accidental errors caused by only using the binary values ​​in a single frame of event data for comparison.

[0038] In another implementation of the present embodiment, the above-mentioned step of determining the working state of the second communication interface based on the actual event data corresponding to the ambient light intensity detection signal output by the second communication interface includes: uniformly resetting the binary values ​​of all pixel positions in the actual event data corresponding to the ambient light intensity detection signal output by the second communication interface to one of the values, and obtaining first reset event data; wherein the binary values ​​include a first value and a second value, the first value representing that an event has occurred in the pixel, and the second value representing that no event has occurred in the pixel; and determining the corresponding working state of the second communication interface based on the first reset event data.

[0039] Specifically, different from the previous implementation, the present embodiment may not rely on cached event data for interface testing, but instead takes into account the fact that the binary values ​​of pixels with abnormal communication interfaces cannot be changed in actual applications, and uniformly assigns values ​​to the binary values ​​of all pixel positions in a single frame of event data, that is, resets them to the target value, that is, the first value or the second value, and then confirms whether the binary values ​​of all pixel positions in the event data after the reset are the target values. If not, it indicates that the second communication interface of the pixel position whose value has not been successfully reset is abnormal.

[0040] Furthermore, in one implementation of this embodiment, before the step of determining the working state corresponding to the second communication interface based on the first reset event data, the step further includes: uniformly resetting the binary values ​​of all pixel positions in the actual event data to another value to obtain the second reset event data. Accordingly, the step of determining the working state corresponding to the second communication interface based on the first reset event data includes: determining the working state corresponding to the second communication interface in combination with the first reset event data and the second reset event data.

[0041] Specifically, considering that the binary values ​​of some pixel positions in the actual event data output by the second communication interface are the binary values ​​that need to be reset, then in fact, the pixel position has not undergone a value reset behavior, so it cannot be determined that the second communication interface is definitely normal for these pixel positions. Based on this, considering that there are only two types of optional binary value types, this embodiment uses one of the values ​​to reset the event data once, and then uses another value to reset the actual event data output by the second communication interface again, thereby ensuring that all pixel positions have performed the value reset operation, and finally combining the event data after the two resets to determine whether the second communication interface of the event pixel is normal. It should be understood that if the values ​​of a specific pixel position in the event data after the two resets meet the corresponding target values, then the second communication interface of the pixel position is in a normal working state.

[0042] Step 202: When the working state of the second communication interface is normal, the preset pseudo-random light intensity detection signal is used as the input of the first communication interface to obtain the pseudo-random event data output by the second communication interface.

[0043] Specifically, after determining that the second communication interface at the back end is normal, this embodiment tests the first communication interface at the front end. Unlike the second communication interface, where the entire test path includes a light intensity detection circuit, this embodiment does not trigger the light intensity detection circuit when testing the first communication interface. Instead, a preset pseudo-random light intensity detection signal is used as the input of the first communication interface. The pseudo-random light intensity detection signal is a signal with a certain regularity, which is used to simulate the output signal of the light intensity detection circuit and can be generated based on a pseudo-random number generator. Then, the digital readout circuit generates corresponding event data based on the pseudo-random light intensity detection signal, and then outputs it through the second communication interface.

[0044] Step 203: Determine the working state of the first communication interface based on the pseudo-random event data.

[0045] Specifically, in this embodiment, whether the first communication interface of the corresponding pixel position is normal is determined based on the binary value of each pixel position in the pseudo-random event data. Since the second communication interface in the overall transmission path has been determined to be normal, the comparison result of the pseudo-random event data at this time can accurately reflect the working status of the first communication interface.

[0046] In one implementation of the present embodiment, the above-mentioned step of determining the working status of the first communication interface based on pseudo-random event data includes: performing analog-to-digital conversion on the pseudo-random light intensity detection signal based on a preset algorithm model to generate reference event data; comparing the pseudo-random event data with the reference event data; and determining the working status of the first communication interface based on the comparison result.

[0047] Specifically, in this embodiment, an algorithm model is used to calculate the pseudo-random light intensity detection signal, and then the event data obtained by the calculation is used as a comparison reference for the event data output by the second communication interface. The event data obtained by the algorithm model is the standard event data under normal conditions of the channel. In this embodiment, it is only necessary to compare the actually transmitted event data with the standard event data to determine whether the first communication interface is normal. If the binary values ​​of the same pixel position of the two are consistent, it means that the first communication interface at the pixel position is in a normal state.

[0048] It is worth noting that in actual applications, hardware circuits can also be used to achieve the acquisition of reference event data, that is, a test working path in a normal working state is used to process the pseudo-random event data to obtain reference event data. The test working path may include a pseudo-random number generator, a first communication interface, a digital readout circuit, and a second communication interface.

[0049] Furthermore, in one implementation of the present embodiment, the above-mentioned step of determining the working state of the first communication interface according to the comparison result includes: when the pseudo-random event data is consistent with the reference event data, comparing the pseudo-random event data with the cache event data of the digital read-out circuit; when the pseudo-random event data is consistent with the cache event data, determining that the working state of the first communication interface is a normal state.

[0050] Specifically, considering that in actual applications, there may be a judgment error in the working state of the second communication interface, that is, the abnormal state of the second communication interface is mistakenly judged to be not in a normal state, then when the pseudo-random event data is consistent with the reference event data, it cannot be guaranteed that the first communication interface is in a normal state. In order to avoid the situation where the erroneous data of the first communication interface may be erroneously corrected by the second communication interface when the two communication interfaces are abnormal at the same time, the present embodiment further compares the pseudo-random event data with the cached event data corresponding to the pseudo-random light intensity detection signal, and re-checks whether the second communication interface is normal. If so, it is uniquely determined that the first communication interface is in a normal state, which effectively improves the accuracy of the test results.

[0051] Based on the technical solution of the embodiment of the present application, the working state of the second communication interface is determined according to the actual event data corresponding to the ambient light intensity signal output by the second communication interface connected to the output end of the digital readout circuit; when the working state of the second communication interface is normal, the preset pseudo-random light intensity detection signal is used as the input of the first communication interface connected to the input end of the digital readout circuit, and then the pseudo-random event data output by the second communication interface is obtained; the working state of the first communication interface is determined based on the pseudo-random event data. Through the implementation of the solution of the present application, the second communication interface at the back end is tested first, and after the second communication interface is tested normally, the first communication interface at the front end is tested based on the pseudo-random signal, which ensures the comprehensiveness of the overall working path test of the sensor, and can effectively improve the test accuracy and the efficiency of locating abnormal interfaces.

[0052] Figure 5 The method in is a refined sensor testing method provided by the second embodiment of the present application, which is applied to an event monitoring visual sensor. The pixel array of the event monitoring visual sensor includes a plurality of EVS pixels, each EVS pixel includes a light intensity detection circuit and a digital readout circuit, a first communication interface is provided between the light intensity detection circuit and the digital readout circuit, and the output end of the digital readout circuit is connected to the input end of the second communication interface; the sensor testing method includes:

[0053] Step 501: After the digital readout circuit generates event data corresponding to the ambient light intensity detection signal detected by the light intensity detection circuit, the actual event data output by the second communication interface is obtained.

[0054] Specifically, the light intensity detection circuit of this embodiment generates a voltage comparison result in response to the change in light intensity, and then transmits it to the digital readout circuit through the first communication interface. The digital readout circuit generates corresponding event data based on the voltage comparison result, and then outputs it through the second communication interface.

[0055] Step 502: Compare the binary value of the target pixel position in the actual event data of the target frame number with the corresponding binary value in the cache event data of the digital readout circuit.

[0056] Specifically, this embodiment extracts the data to be compared from the actual event data in the form of frame+row+column, and then uses the cached event data as reference data for comparison.

[0057] Step 503: Determine the working status of the second communication interface according to the comparison result.

[0058] In practical applications, if the event data output through the second communication interface is consistent with the cached event data of the digital readout circuit, it means that the second communication interface is in a normal state.

[0059] Step 504: when the second communication interface is in a normal state, the preset pseudo-random light intensity detection signal is directly input into the digital readout circuit via the first communication interface, and then the pseudo-random event data output by the second communication interface is obtained.

[0060] Specifically, when testing the first communication interface in this embodiment, the front end does not rely on the light intensity detection circuit to input a light intensity detection signal, but directly inputs a pseudo-random light intensity detection signal through the first communication interface, and generates corresponding pseudo-random event data accordingly.

[0061] Step 505: Perform analog-to-digital conversion on the pseudo-random light intensity detection signal based on a preset algorithm model to generate reference event data.

[0062] Specifically, this embodiment simultaneously uses an algorithm model to calculate the pseudo-random light intensity detection signal, and then uses the event data obtained by the calculation as a comparison reference for the event data output by the second communication interface.

[0063] Step 506: Compare the pseudo-random event data with the reference event data.

[0064] Step 507: Determine the working status of the first communication interface according to the comparison result.

[0065] Specifically, since the second communication interface in the overall transmission path has been determined to be normal, the comparison result of the pseudo-random event data at this time can accurately reflect the working status of the first communication interface. If the comparison is consistent, it means that the first communication interface is in a normal state.

[0066] Based on this, by first testing whether the second communication interface at the output end of the digital readout circuit is normal, and then continuing to test whether the first communication interface between the light intensity detection circuit and the digital readout circuit is normal when the test is normal, it ensures that the working path of the EVS pixel is fully and accurately tested, which can provide effective guidance for subsequent sensor debugging work.

[0067] 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.

[0068] Figure 6 A sensor testing device provided in the third embodiment of the present application is applied to an event monitoring visual sensor. The pixel array of the event monitoring visual sensor includes a plurality of EVS pixels. Each EVS pixel includes a light intensity detection circuit and a digital readout circuit. A first communication interface is provided between the light intensity detection circuit and the digital readout circuit. The output end of the digital readout circuit is connected to the input end of the second communication interface. Figure 6 As shown, the sensor testing device mainly includes:

[0069] The first determination module 601 is used to determine the working state of the second communication interface according to the actual event data corresponding to the ambient light intensity detection signal output by the second communication interface; wherein the working state of the communication interface includes a normal state and an abnormal state;

[0070] An acquisition module 602 is used to, when the working state of the second communication interface is normal, use the preset pseudo-random light intensity detection signal as the input of the first communication interface to acquire the pseudo-random event data output by the second communication interface;

[0071] The second determination module 603 is used to determine the working state of the first communication interface based on the pseudo-random event data.

[0072] In some implementations of the present embodiment, the first determination module is specifically used for: for the actual event data corresponding to the ambient light intensity detection signal output by the second communication interface, comparing the binary value of the target pixel position in the actual event data of the target frame number with the corresponding binary value in the cache event data of the digital readout circuit, and determining the working state of the second communication interface according to the comparison result; wherein the binary value includes a first value and a second value, the first value represents that an event has occurred in the pixel, and the second value represents that no event has occurred in the pixel.

[0073] Furthermore, in some implementations of the present embodiment, the first determination module is specifically used to: for the actual event data corresponding to the ambient light intensity detection signal output by the second communication interface, compare the binary values ​​of the same target pixel position in the actual event data of multiple target frame numbers with the corresponding binary values ​​in the cache event data of the digital readout circuit; if the number of consistent comparisons in the multiple comparison results reaches a preset number threshold, then it is determined that the working state of the second communication interface corresponding to the target pixel position is normal.

[0074] In some other implementations of the present embodiment, the first determination module is specifically used to: uniformly reset the binary values ​​of all pixel positions in the actual event data corresponding to the ambient light intensity detection signal output by the second communication interface to one of the values, and obtain first reset event data; wherein the binary values ​​include a first value and a second value, the first value representing that an event has occurred in the pixel, and the second value representing that no event has occurred in the pixel; and determine the corresponding working state of the second communication interface based on the first reset event data.

[0075] Furthermore, in some implementations of the present embodiment, the first determination module is specifically used to: uniformly reset the binary values ​​of all pixel positions in the actual event data corresponding to the ambient light intensity detection signal output by the second communication interface to one of the values, to obtain first reset event data, and uniformly reset the binary values ​​of all pixel positions in the actual event data to another value, to obtain second reset event data; and determine the working status of the second communication interface in combination with the first reset event data and the second reset event data.

[0076] In some implementations of this embodiment, the second determination module is specifically used to: perform analog-to-digital conversion on the pseudo-random light intensity detection signal based on a preset algorithm model to generate reference event data; compare the pseudo-random event data with the reference event data; and determine the working status of the first communication interface based on the comparison result.

[0077] Further, in some implementations of the present embodiment, when the second determination module executes the above-mentioned function of determining the working state of the first communication interface according to the comparison result, it is specifically used to: when the pseudo-random event data is consistent with the reference event data, compare the pseudo-random event data with the cache event data of the digital read-out circuit; when the pseudo-random event data is consistent with the cache event data, determine that the working state of the first communication interface is normal.

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

[0079] According to the sensor testing device provided by the present embodiment, the working state of the second communication interface is determined according to the actual event data corresponding to the ambient light intensity signal output by the second communication interface connected to the output end of the digital readout circuit; when the working state of the second communication interface is normal, the preset pseudo-random light intensity detection signal is used as the input of the first communication interface connected to the input end of the digital readout circuit, and then the pseudo-random event data output by the second communication interface is obtained; the working state of the first communication interface is determined based on the pseudo-random event data. Through the implementation of the scheme of the present application, the second communication interface at the back end is tested first, and after the second communication interface is tested normally, the first communication interface at the front end is tested based on the pseudo-random signal, which ensures the comprehensiveness of the overall working path test of the sensor, and can effectively improve the test accuracy and the efficiency of locating abnormal interfaces.

[0080] Figure 7 The fourth embodiment of the present application provides an event monitoring visual sensor. The event monitoring visual sensor can be used to implement the sensor testing method in the above-mentioned embodiment, which mainly includes:

[0081] The memory 701, the processor 702, and the computer program 703 stored in the memory 701 and executable on the processor 702, the memory 701 and the processor 702 are connected by communication. When the processor 702 executes the computer program 703, the method in the above-mentioned embodiment 1 or 2 is implemented. The number of processors can be one or more.

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

[0083] Furthermore, the present application embodiment also provides a computer-readable storage medium, which may be provided in the event monitoring visual sensor in the above embodiment. The computer-readable storage medium may be the above Figure 7 Memory in the illustrated embodiment.

[0084] The computer readable storage medium stores a computer program, and when the program is executed by the processor, the sensor testing 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.

[0085] 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.

[0086] 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.

[0087] 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.

[0088] 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.

[0089] 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.

[0090] 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.

[0091] The above is a description of the sensor testing method and related devices 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 testing method, characterized in that: Applied to an event monitoring visual sensor, the pixel array of the event monitoring visual sensor includes a plurality of EVS pixels, each of the EVS pixels includes a light intensity detection circuit and a digital readout circuit, a first communication interface is provided between the light intensity detection circuit and the digital readout circuit, and an output end of the digital readout circuit is connected to an input end of a second communication interface; The sensor testing method comprises: Determine the working state of the second communication interface according to the actual event data corresponding to the ambient light intensity detection signal output by the second communication interface; wherein the working state of the communication interface includes a normal state and an abnormal state; When the working state of the second communication interface is the normal state, taking a preset pseudo-random light intensity detection signal as an input of the first communication interface, and acquiring pseudo-random event data output by the second communication interface; The working state of the first communication interface is determined based on the pseudo-random event data.

2. The sensor testing method according to claim 1, characterized in that: The step of determining the working state of the second communication interface according to the actual event data corresponding to the ambient light intensity detection signal output by the second communication interface comprises: For the actual event data corresponding to the ambient light intensity detection signal output by the second communication interface, the binary value of the target pixel position in the actual event data of the target frame number is compared with the corresponding binary value in the cache event data of the digital readout circuit, and the working state of the second communication interface is determined according to the comparison result; wherein the binary value includes a first value and a second value, the first value represents that an event has occurred in the pixel, and the second value represents that no event has occurred in the pixel.

3. The sensor testing method according to claim 2, characterized in that: The step of comparing the binary value of the target pixel position in the actual event data of the target frame number with the corresponding binary value in the cache event data of the digital readout circuit, and determining the working state of the second communication interface according to the comparison result includes: Compare the binary values ​​of the same target pixel position in the actual event data of multiple target frame numbers with the corresponding binary values ​​in the cache event data of the digital readout circuit respectively; If the number of consistent comparisons among the multiple comparison results reaches a preset number threshold, it is determined that the working state of the second communication interface corresponding to the target pixel position is the normal state.

4. The sensor testing method according to claim 1, characterized in that: The step of determining the working state of the second communication interface according to the actual event data corresponding to the ambient light intensity detection signal output by the second communication interface comprises: Reset the binary values ​​of all pixel positions in the actual event data corresponding to the ambient light intensity detection signal output by the second communication interface to one of the values ​​to obtain first reset event data; wherein the binary value includes a first value and a second value, the first value indicates that an event has occurred in the pixel, and the second value indicates that no event has occurred in the pixel; The working state of the second communication interface is determined based on the first reset event data.

5. The sensor testing method according to claim 4, characterized in that: Before the step of determining the working state of the second communication interface based on the first reset event data, the method further includes: Resetting the binary values ​​of all pixel positions in the actual event data to another value to obtain second reset event data; The step of determining the working state of the second communication interface based on the first reset event data comprises: The working state corresponding to the second communication interface is determined in combination with the first reset event data and the second reset event data.

6. The sensor testing method according to any one of claims 1 to 5, characterized in that: The step of determining the working state of the first communication interface based on the pseudo-random event data comprises: Performing analog-to-digital conversion on the pseudo-random light intensity detection signal based on a preset algorithm model to generate reference event data; Comparing the pseudo-random event data with the reference event data; The working state of the first communication interface is determined according to the comparison result.

7. The sensor testing method according to claim 6, characterized in that: The step of determining the working state of the first communication interface according to the comparison result includes: When the pseudo-random event data is consistent with the reference event data, the pseudo-random event data is compared with the cache event data of the digital readout circuit; When the pseudo-random event data is compared and is consistent with the cache event data, it is determined that the working state of the first communication interface is the normal state.

8. A sensor testing device, characterized in that: Applied to an event monitoring visual sensor, the pixel array of the event monitoring visual sensor includes a plurality of EVS pixels, each of the EVS pixels includes a light intensity detection circuit and a digital readout circuit, a first communication interface is provided between the light intensity detection circuit and the digital readout circuit, and an output end of the digital readout circuit is connected to an input end of a second communication interface; The sensor testing device comprises: A first determination module is used to determine the working state of the second communication interface according to the actual event data corresponding to the ambient light intensity detection signal output by the second communication interface; wherein the working state of the communication interface includes a normal state and an abnormal state; an acquisition module, configured to, when the working state of the second communication interface is the normal state, use a preset pseudo-random light intensity detection signal as an input of the first communication interface to acquire pseudo-random event data output by the second communication interface; The second determination module is used to determine the working state of the first communication interface based on the pseudo-random event data.

9. An event monitoring visual sensor, 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.