Photoelectric sensor and electronic equipment

By designing independent photoelectric accumulators, counters and samplers in the photoelectric sensor and decoupling signal integration and sampling processing, the continuity problem of timing signal processing in the existing technology is solved, and the accuracy and sensitivity of the photoelectric sensor are improved.

CN221886620UActive Publication Date: 2024-10-22SPIKE VISION (BEIJING) TECHNOLOGY CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202222910571.1
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2022-11-02
Publication Date
2024-10-22
Estimated Expiration
2032-11-02

AI Technical Summary

Technical Problem

In the existing technology, the working timing of signal integration and sampling steps are interdependent, resulting in the inability to continuously record changes in timing signals, affecting the accuracy and sensitivity of image signal processing.

Method used

A photoelectric sensor is designed, including an independent photoelectric accumulator, a counter and a sampler. The photoelectric accumulator receives the timing signal and resets when it reaches the preset threshold. The counter counts the accumulated value, and the sampler samples and accumulates according to the preset frequency. and count values ​​to achieve decoupling of accumulation processing and sampling processing.

Benefits of technology

Through independent working sequences, photoelectric sensors can continuously record changes in timing signals, improving the accuracy and sensitivity of photoelectric timing signal collection and processing, and helping to accurately restore monitoring scenes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221886620U_ABST
    Figure CN221886620U_ABST
Patent Text Reader

Abstract

The utility model provides a photoelectric sensor and electronic equipment. The photoelectric sensor comprises a photoelectric accumulator, a counter and a sampler which are mutually independent in working time sequence, the photoelectric accumulator is respectively connected with the counter and the sampler, receives the photoelectric time sequence signals, accumulates the photoelectric time sequence signals, outputs an obtained accumulated value to the sampler, and resets when the accumulated value reaches a preset threshold value; the counter is respectively connected with the photoelectric accumulator and the sampler, counts the times that the accumulated value obtained by the photoelectric accumulator reaches a preset threshold count value, and outputs the obtained count value to the sampler; the sampler is respectively connected with the photoelectric accumulator and the counter, samples the input accumulated value and the count value according to a preset sampling frequency, outputs an accumulated value sequence according to a sampling time sequence based on the accumulated value obtained by sampling, and outputs a count value sequence according to the sampling time sequence based on the count value obtained by sampling; and outputting a counting reset signal to the counter after the counting value is sampled each time. According to the invention, the change of the time sequence signal can be continuously recorded, and the signal acquisition and processing precision and sensitivity of the photoelectric sensor are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to image signal processing technology, and in particular to a photoelectric sensor and an electronic device. Background Art

[0002] At present, expressing images in digital form has become the preferred method for expressing dynamic images such as videos, because images expressed in digital form are easier to process, transmit and store. To obtain image data expressed in digital form or a digital signal that can reconstruct an image, it is necessary to first collect spatiotemporal signals (such as light signals) through a camera and form an analog signal in the form of an analog signal, and then convert the analog signal into a digital signal. This process is called the process of digitizing image information. In the process of digitizing image information, steps such as signal integration, sampling and quantization are generally included. In the process of realizing the present disclosure, the inventors have found through research that in the related art, the signal integration and sampling steps work according to a certain working sequence, and the working sequence of the signal integration and sampling steps is mutually dependent and highly coupled. There is a problem in the acquisition of timing signals that the changes in timing signals cannot be continuously recorded. Utility Model Content

[0003] The present disclosure provides a photoelectric sensor and an electronic device, which are used to solve the problem in the related art that the acquisition of timing signals cannot continuously record the changes of timing signals.

[0004] In one aspect of the implementation of the present disclosure, there is provided a photoelectric sensor, comprising a photoelectric accumulator, a counter and a sampler having mutually independent working timings;

[0005] The photoelectric accumulator is connected to the counter and the sampler respectively, receives the photoelectric timing signal, accumulates the photoelectric timing signal, outputs the accumulated value to the sampler, and resets when the accumulated value reaches a preset threshold;

[0006] The counter is connected to the photoelectric accumulator and the sampler, respectively, counts the number of times the accumulated value obtained by the photoelectric accumulator reaches the preset threshold, and outputs the obtained count value to the sampler;

[0007] The sampler is connected to the photoelectric accumulator and the counter, respectively, samples the input cumulative value and the count value according to a preset sampling frequency, outputs a cumulative value sequence according to a sampling timing based on the sampled cumulative value, outputs a count value sequence according to a sampling timing based on the sampled count value, and outputs a count reset signal to the counter after each sampling of the count value.

[0008] Optionally, in the photoelectric sensor of any embodiment of the present disclosure, the photoelectric sensor includes M photoelectric accumulators and M counters, the M photoelectric accumulators and the M counters are connected one-to-one, the M photoelectric accumulators operate independently of each other, and M is an integer greater than zero.

[0009] Optionally, in the photoelectric sensor of any embodiment of the present disclosure, the photoelectric sensor further includes:

[0010] The quantizer is connected to the sampler, performs quantization encoding on the count value sequence and the accumulated value sequence output by the sampler, and outputs the obtained time series state encoding sequence and time series signal encoding sequence.

[0011] Optionally, in the photoelectric sensor of any embodiment of the present disclosure, the photoelectric sensor further includes:

[0012] The memory is connected to the quantizer and stores the timing state coding sequence and the timing signal coding sequence output by the quantizer.

[0013] Optionally, in the photoelectric sensor of any embodiment of the present disclosure, the sampler includes an analog-to-digital converter, which performs analog-to-digital conversion on the count value sequence and the cumulative value sequence obtained by sampling, and outputs a timing state coding sequence and a timing signal coding sequence.

[0014] Optionally, in the photoelectric sensor of any embodiment of the present disclosure, the photoelectric sensor further includes:

[0015] The memory is connected to the sampler and stores the timing state coding sequence and the timing signal coding sequence, or the counting value sequence and the accumulated value sequence output by the sampler.

[0016] Another aspect of the present disclosure is to provide an electronic device, including the photoelectric sensor according to any one of the embodiments of the present disclosure; the electronic device further includes:

[0017] The signal collector is connected to the photoelectric accumulator in the photoelectric sensor to collect light signals, perform photoelectric conversion on the collected light signals, and output the obtained photoelectric timing signals to the photoelectric accumulator.

[0018] Optionally, in the electronic device of any embodiment of the present disclosure, the electronic device includes any one of the following: an integrated circuit, a sensor.

[0019] Optionally, in the electronic device of any embodiment of the present disclosure, the electronic device includes any one of the following: a pulse camera, a high-speed camera, a visual camera, an audio / video player, a navigation device, a fixed position terminal, an entertainment unit, a smart phone, a communication device, a mobile device, a device in a motor vehicle, a vehicle-mounted camera, a mobile phone camera, a sports or wearable camera, a traffic camera, an industrial inspection camera, a camera mounted on a flying object, a medical camera, a security camera, and a home appliance camera.

[0020] In the photoelectric sensors and electronic devices provided based on the embodiments of the present disclosure, the processing of photoelectric timing signals includes a photoelectric accumulator, a counter and a sampler whose working timings are independent of each other. Since the photoelectric accumulator, the counter and the sampler are independent of each other in working timings, the accumulation processing and the sampling processing of the timing signals are decoupled, and the mutual dependence and coupling relationship between the accumulation processing and the sampling processing are released. By continuously receiving the photoelectric timing signals and accumulating them, and resetting them each time the accumulated value reaches a preset threshold, the changes in the timing signals can be continuously recorded, thereby improving the accuracy and sensitivity of the photoelectric sensor in collecting and processing the photoelectric timing signals, and facilitating the accurate restoration of the monitoring scenes.

[0021] The technical solution of the present disclosure is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The accompanying drawings herein are incorporated into and constitute a part of the specification, show embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. These drawings and textual descriptions are not intended to limit the scope of the present disclosure in any way, but to illustrate the concepts of the present disclosure for those skilled in the art by referring to specific embodiments.

[0023] Figure 1 A schematic diagram of the structure of a photoelectric sensor provided in one embodiment of the present disclosure.

[0024] Figure 2 A schematic structural diagram of a photoelectric sensor provided in another embodiment of the present disclosure.

[0025] Figure 3 A schematic structural diagram of a photoelectric sensor provided in yet another embodiment of the present disclosure.

[0026] Figure 4 A schematic diagram of the structure of an electronic device provided for one embodiment of the present disclosure. DETAILED DESCRIPTION

[0027] Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present disclosure unless otherwise specifically stated.

[0028] Those skilled in the art can understand that the terms "first" and "second" in the embodiments of the present disclosure are only used to distinguish different steps, devices or modules, etc., and neither represent any specific technical meaning nor indicate the necessary logical order between them.

[0029] It should also be understood that in the embodiments of the present disclosure, “plurality” may refer to two or more than two, and “at least one” may refer to one, two, or more than two.

[0030] It should also be understood that any component, data or structure mentioned in the embodiments of the present disclosure can generally be understood as one or more, unless explicitly limited or otherwise indicated in the context.

[0031] In addition, the term "and / or" in the present disclosure is only a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in the present disclosure generally indicates that the associated objects before and after are in an "or" relationship.

[0032] It should also be understood that the description of the various embodiments in the present disclosure focuses on the differences between the various embodiments, and the same or similar aspects thereof can be referenced to each other, and for the sake of brevity, they will not be described one by one.

[0033] At the same time, it should be understood that for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.

[0034] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present disclosure, its application, or uses.

[0035] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered as part of the specification.

[0036] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

[0037] The embodiments of the present disclosure provide a photoelectric sensor and an electronic device, including a photoelectric accumulator, a counter and a sampler with independent working timings, so that the accumulation processing operation and the sampling processing operation are independent of each other in terms of working timings, and the updating and resetting of the accumulation and counting values ​​of the photoelectric timing signals are independent of each other, thereby realizing decoupling between the accumulation processing and the sampling processing, and eliminating the mutual dependence and coupling relationship between the accumulation processing and the sampling processing. By continuously receiving the photoelectric timing signal and accumulating it, and resetting it every time the accumulation value reaches a preset threshold, the changes in the timing signal can be continuously recorded, thereby improving the accuracy and sensitivity of the photoelectric sensor in collecting and processing the photoelectric timing signal, and facilitating the accurate restoration of the monitoring scene.

[0038] Figure 1 A schematic diagram of the structure of a photoelectric sensor provided by an embodiment of the present disclosure. Figure 1 As shown, the photoelectric sensor of the embodiment of the present disclosure includes a photoelectric accumulator 110, a counter 120 and a sampler 130, whose working timings are independent of each other.

[0039] The photoelectric accumulator 110 is used to receive the photoelectric timing signal and accumulate the received photoelectric timing signal to obtain an accumulated value.

[0040] The counter 120 is used to count the number of times that the accumulated value obtained by the photoelectric accumulator 110 reaches a preset threshold value to obtain a count value.

[0041] The sampler 130 is used to sample the accumulated value obtained by the photoelectric accumulator 110 and the count value of the counter 120 according to the preset sampling frequency, and generate a count reset signal after each sampling to control the count value reset of the counter 120; based on the sampling timing and the accumulated value obtained by sampling, a cumulative value sequence is obtained, and based on the sampling timing and the count value obtained by sampling, a count value sequence is obtained, and the accumulated value sequence and the count value sequence can be used for signal analysis or processed for outputting digital images. For example, according to specific application requirements, when it is not necessary to output digital images, the above-mentioned accumulated value sequence and count value sequence can be subjected to signal analysis, and signal acquisition decisions or other decisions can be made based on the signal analysis results.

[0042] Optionally, in some of the implementations, the photoelectric sensor may include M photoelectric accumulators and M counters, and the M photoelectric accumulators and the M counters are connected one-to-one, that is, one photoelectric accumulator is connected to one counter, and M is an integer greater than zero. Optionally, the M photoelectric accumulators 110 may work in the form of an array, and in the photoelectric accumulator array, the M photoelectric accumulators 110 may operate independently of each other. The M photoelectric accumulators 110 may share one sampler 130.

[0043] Optionally, the photoelectric timing signal received by the photoelectric accumulator 110 may originate from a signal collector, which may be, for example, a photosensitive device in a camera. The function of the signal collector is to realize optical signal collection and photoelectric conversion, wherein the photoelectric conversion is to convert the collected optical signal into an electrical signal (such as a current signal, a voltage signal, etc.). The optical signal collected by the present invention may include, but is not limited to, laser, infrared light, or visible light, etc. The electrical signal has a signal intensity, and correspondingly, the above-mentioned photoelectric timing signal, namely, the instantaneous electrical signal, accumulates the photoelectric timing signal, that is, accumulates the signal intensity of the timing electrical signal, and obtains the cumulative signal intensity. The signal intensity of the photoelectric timing signal output by the signal collector is positively correlated with the collected light intensity.

[0044] The sampling of the signal collector includes time domain sampling of the spatiotemporal signal (such as light signal) at the designated local spatial position, and the collector array formed by the signal collector performs spatial domain sampling of the spatiotemporal signal of the entire monitoring area. When performing spatial domain sampling of the spatiotemporal signal of the entire monitoring area, multiple signal collectors are arranged in an array to cooperate with each other to cover the entire monitoring area.

[0045] A signal collector can be connected to one or more photoelectric integrators 110 .

[0046] Optionally, in some of the implementations, the counter 120 is specifically used to monitor the cumulative value obtained by the photoelectric accumulator 110 connected to the monitor. In response to the cumulative value obtained by the photoelectric accumulator 110 reaching a preset threshold, the counter 120 is updated and a cumulative reset signal is generated to control the photoelectric accumulator 110 to reset. The count value of the counter can be represented by one or more digits. Updating the count value here can be to increase the count value of the counter by 1. For example, the count value is 001, and after increasing by 1, it is 002. Alternatively, the updated count value can also be marked with a binary 1. In this way, the dynamic signal of the local spatial position recorded by the photoelectric accumulator is converted into a binary sequence of 1s that appear intermittently. The time interval between two 1s in the binary sequence indicates the time required for the photoelectric accumulator to accumulate the latter of the two 1s. The binary sequence of all 1s indicates that the signal at the corresponding local spatial position has been in a high-intensity state.

[0047] The sampler 130 is connected to the photoelectric accumulator 110 and the counter 120 respectively, and the sampler 130 and the photoelectric accumulator 110 can be arranged in a chip board. The sampler 130 can generate a count reset signal after each sampling or when the count value in the count value sequence is updated (such as increasing by 1 or setting to 1), and send the count reset signal to the counter 120 to control the counter 120 to reset.

[0048] In a specific implementation, when the sampler 130 is connected to M photoelectric accumulators 110 and M counters 120 corresponding to the M photoelectric accumulators 110, a cumulative value sequence corresponding to the multiple photoelectric accumulators 110 and a count value sequence corresponding to the multiple counters 120 can be generated. The preset sampling frequency can be set according to actual needs to achieve signal sampling at different time intervals. In the sampler 130, the device used for cumulative value sampling and count value sampling can be called a sampler. Then the M photoelectric accumulators 110 can share the sampler in the sampler 130 connected to the photoelectric accumulator 110.

[0049] The counter 120 records the number of times the photoelectric accumulator cumulative value reaches the preset threshold value through the counting value, that is, how many times the photoelectric accumulator is reset, which is a counting process. The counter 120 has a maximum counting capacity and needs to be reset. The reset can be self-reset or reset controlled by the sampler 130.

[0050] The working timings of the photoelectric accumulator 110, the counter 120 and the sampler 130 are independent of each other, that is, the sampling process of the sampler 130, the accumulation process of the photoelectric accumulator 110 receiving the photoelectric timing signal, and the counting process of the counter do not affect each other. Each independent photoelectric accumulator 110 can completely record the change process of the received photoelectric timing signal.

[0051] Based on the photoelectric sensor provided in this embodiment, the working timings of the sampler 130 and the photoelectric accumulator 110 are independent of each other, and the accumulation and resetting of the photoelectric timing signal by the photoelectric accumulator 110 are independent of the updating and resetting of the count value of the counter 120, thereby realizing the decoupling between the accumulation processing and the sampling processing, and eliminating the mutual dependence and coupling relationship between the accumulation processing and the sampling processing. By continuously receiving the photoelectric timing signal and accumulating it, and resetting it every time the accumulated value reaches a preset threshold, the changes in the timing signal can be continuously recorded, thereby improving the accuracy and sensitivity of the photoelectric sensor in collecting and processing the photoelectric timing signal, and facilitating the accurate restoration of the monitoring scene.

[0052] Optionally, the photoelectric sensor of the embodiment of the present disclosure may also include any one or more of a quantizer, an image reconstruction circuit, an analysis circuit, a memory, and an encoder. In the photoelectric sensor of the embodiment of the present disclosure, the photoelectric accumulator, the sampler, and other units in the photoelectric sensor may be connected in a serial arrangement to serially execute the timing signal processing flow. Alternatively, the units in the photoelectric sensor of the embodiment of the present disclosure may also be connected in a parallel arrangement to parallel execute the timing signal processing flow. Alternatively, the units in the photoelectric sensor of the embodiment of the present disclosure may also be connected in a serial-parallel mixed arrangement to execute the timing signal processing flow in a preset order. Among them, any one or more modules of the quantizer, image reconstruction circuit, analysis circuit, memory, and encoder may be deleted, their functions or connection relationships may be adjusted according to actual needs, and other functional modules may be further added to the photoelectric sensor according to actual needs.

[0053] Figure 2 A schematic structural diagram of a photoelectric sensor provided in another embodiment of the present disclosure. Figure 2 In the embodiment, the photoelectric accumulator 110 and the sampler 130 are connected in series with the quantizer 140, the image reconstruction circuit 150, the analysis circuit 160, the memory 170 and the encoder 180 to perform the timing signal processing flow.

[0054] See also Figure 2 In some implementations, the photoelectric sensor of the embodiment of the present disclosure further includes a quantizer 140, which is connected to the sampler 130 and is used to quantize and encode the count value sequence and the cumulative value sequence obtained by the sampler 130, respectively, so as to generate a timing state encoding sequence and a timing signal encoding sequence accordingly, such as converting a current value, a voltage value or other analog signal into a digital signal such as a pulse signal. In an optional embodiment, the quantizer 140 can quantize and encode the count value sequence and the cumulative value sequence respectively according to a preset quantization method, and the preset quantization method can be understood as a preset encoding requirement and can be pre-set in the quantizer 140. Similar to the sampler in the sampler 130, M photoelectric accumulators 110 can share one quantizer 140. In some implementations, the quantizer 140 can be implemented by an analog-to-digital converter. Optionally, the analog-to-digital converter can be a flash type analog-to-digital converter, or a successive approximation analog-to-digital converter, an integral analog-to-digital converter, or other types of analog-to-digital converters, etc.

[0055] Optional, see Figure 2The photoelectric sensor of the embodiment of the present disclosure may further include an image reconstruction circuit 150, which is connected to the quantizer 140 and is used to perform image reconstruction calculation based on the time sequence state coding sequence and the time sequence signal coding sequence obtained by the quantizer 140, or based on the cumulative value sequence and the count value sequence obtained by the sampler 130, so as to reconstruct and output a digital image. In an optional embodiment, the image reconstruction circuit 150 may decode the time sequence state coding sequence and the time sequence signal coding sequence obtained by the quantizer 140, and use a preset image reconstruction algorithm, such as a pulse reconstruction algorithm (TFI) based on peak potential interval (ISI), a pulse reconstruction algorithm (TFP) based on fixed window sliding, a pulse reconstruction algorithm based on a convolutional neural network (CNN), etc., to perform image reconstruction calculation on the decoding result to output an n-bit image data sequence at any sampling time, and a digital image is constructed by the image data sequence.

[0056] Optional, see Figure 2 The photoelectric sensor of the embodiment of the present disclosure further includes an analysis circuit 160, which is connected to the photoelectric accumulator 110, the sampler 130 and / or the quantizer 140 respectively, and has the function of analyzing and calculating the count value sequence and the accumulation value sequence output by the sampler 130, or the timing state code sequence and the timing signal code sequence output by the quantizer 130, and the control function of the photoelectric accumulator 110, the sampler 130 and the quantizer 140. The analysis and calculation include, for example, dynamic range analysis, brightness analysis, target detection, recognition and tracking, etc. Through the analysis and calculation, effective information analysis results of dynamic range analysis, brightness analysis, target detection, recognition and tracking, etc. can be obtained, as well as a threshold control signal (including the adjusted specific preset threshold) for adjusting the preset threshold of the photoelectric accumulator 110, a sampling control signal (including the adjusted specific sampling frequency) for adjusting the preset sampling frequency of the sampler 130, and a quantization control signal (including the adjusted specific quantization bit width) for adjusting the quantization bit width of the quantizer 140.

[0057] Specifically, in some implementations, the analysis circuit 160 is used to generate a threshold control signal according to the timing state coding sequence and / or the timing signal coding sequence obtained by the quantizer 140, or to generate a threshold control signal according to the cumulative value sequence and / or the count value sequence output by the sampler 130, wherein the threshold control signal includes the adjusted preset threshold, and output the threshold control signal to the photoelectric accumulator 110 to adjust the preset threshold in the integration processing operation. For example, in some implementations, the analysis circuit 160 can adjust the current preset threshold of the photoelectric accumulator 110 according to the threshold adjustment rule when it is determined that the proportion of the specified count value is less than the preset proportion according to the timing state coding sequence and / or the timing signal coding sequence obtained by the quantizer 140, and the generated threshold control signal is used to control the adjusted preset threshold to be less than the current preset threshold. The analysis circuit 160 can adjust the current preset threshold of the photoelectric accumulator 110 according to the threshold adjustment rule when it is determined that the proportion of the specified count value is greater than the preset proportion according to the timing state coding sequence and / or the timing signal coding sequence obtained by the quantizer 140, and the generated threshold control signal is used to control the adjusted preset threshold to be greater than the preset threshold before the adjustment. The analysis circuit 160 may not generate a threshold control signal when it is determined that the proportion of the specified count value is equal to the preset proportion according to the timing state coding sequence and / or the timing signal coding sequence obtained by the quantizer 140, that is, there is no need to adjust the preset threshold in the integration processing operation. The specified count value is, for example, 1. If the proportion of 1 in the count value sequence is too low, the preset threshold in the integration processing operation may be lowered through the threshold control signal so that the photoelectric accumulator 110 triggers the generation rate and transmission speed of the pulse signal 1 in the counter 120 more quickly. If the proportion of 1 in the count value sequence is too high, the preset threshold in the integration processing operation may be raised through the threshold control signal to slow down the generation rate and transmission speed of the pulse signal 1 in the counter 120.

[0058] In some implementations, the analysis circuit 160 is connected to the quantizer 140, and is used to analyze the change rate of the timing state coding sequence and / or the timing signal coding sequence obtained by the quantizer 140 in the time domain, or analyze the change rate of the count value sequence and / or the cumulative value sequence obtained by the sampler 130 in the time domain, to obtain a first analysis result, and generate a sampling control signal according to the first analysis result, and output the sampling control signal to the sampler 130 to adjust the sampling frequency of the sampler 130. For example, when the first analysis result indicates that the speed of the moving object is higher than the preset speed, the current sampling frequency of the sampler 130 is adjusted according to the sampling adjustment rule, so that the adjusted sampling frequency is higher than the sampling frequency before the adjustment. When the first analysis result indicates that the speed of the moving object is lower than the preset speed, the sampling frequency can be lowered. The sampling adjustment rule can be pre-set in the analysis circuit 160.

[0059] For example, when the quantizer 140 quantizes and encodes the cumulative value sequence, it can compare the cumulative value sequence sampled by the sampler 130 this time with the cumulative value sequence sampled last time, and output the difference between the two. The integral sequence values ​​of the two samples can be first subtracted and then quantized, or they can be first quantized and then subtracted. The difference is the difference between the quantized value of the image pixel sampled last time and the quantized value of the image pixel sampled this time by the quantizer 140. For example, in the case where there are flash points in the monitoring scene (such as high-frequency flashing signal lights, LED signs, etc.), the difference between the two is relatively regular, and the analysis circuit 160 can analyze the rate of change of the cumulative value sequence in the time domain according to the characteristics of the difference, and then obtain the first analysis result to adjust the sampling frequency of the sampler 130.

[0060] For example, the analysis circuit 160 can parse out a count value sequence of a continuous period of time for any pixel based on the timing state coding sequence and / or the timing signal coding sequence. When it is judged that the object is moving too fast based on the count value sequence of a continuous period of time for any pixel, the sampling frequency of the sampler 130 can be increased by controlling the sampling control signal. Conversely, when it is judged that the object is moving too slowly based on the count value sequence of a continuous period of time for any pixel, the sampling frequency of the sampler 130 can be reduced by controlling the sampling control signal.

[0061] In some implementations, the analysis circuit 160 is used to perform texture feature analysis on the timing state coding sequence and / or the timing signal coding sequence obtained by the quantizer 140, or to perform texture feature analysis on the cumulative value sequence and / or the count value sequence obtained by the sampler 130, to obtain a second analysis result, and to generate a quantization control signal based on the second analysis result, and output the quantization control signal to the quantizer 140 to adjust the quantization bit width of the quantizer 140. Specifically, the quantization control signal can be generated by the image texture information in the second analysis result obtained by the analysis circuit 160 performing texture feature analysis on the corresponding timing state coding sequence obtained by the quantizer 140. For example, the analysis circuit 160 can perform spatial feature analysis on the impulse signal of the spatial dimension, and output the quantization control signal based on the image texture information in the obtained second analysis result to adjust the quantization bit width of the quantizer 140. The impulse signal of the spatial dimension is the count value sequence output by multiple markers 120 in the image plane at each moment. When it is determined based on spatial features that there are many details (ie, image textures) in the monitoring scene, the quantization bit width can be increased; when there are fewer details, the quantization bit width can be reduced.

[0062] In the implementation of the present disclosure, the corresponding quantization bit width and the adjustment strategy of the quantization bit width can be flexibly set according to the transmission bandwidth and the monitoring scene. Increasing the quantization bit width can improve the precision of the timing signal recorded by the quantizer 140, and at the same time increase the output data rate, thereby increasing the required output bandwidth. Reducing the quantization bit width will reduce the precision of the recorded timing signal, and at the same time reduce the output data rate, thereby reducing the required output bandwidth. In a specific application, the timing signal can be collected and recorded by reducing the quantization bit width for dynamic image capture of a static monitoring scene. The high a bit (i.e., high bit a) and the low b bit (i.e., low bit b) in the quantization bit width can be output at different rates according to changes in the sampling content.

[0063] Optionally, the analysis circuit 160 can communicate with an external control device (such as a computer), and the external control device sets a preset threshold, a preset sampling frequency, a quantization bit width, and a quantization program and inputs them into the analysis circuit. The analysis circuit 160 specifically generates a threshold control signal according to the received preset threshold, generates a sampling control signal according to the received preset sampling frequency, and generates a quantization control signal according to the received quantization bit width and quantization program.

[0064] Optional, see Figure 2 The timing signal processing device of the embodiment of the present disclosure may further include a memory 170, which is connected to the quantizer 140 and is used to store the timing state coding sequence and the timing signal coding sequence obtained by the quantizer 140 within the most recent preset time length (for example, within the most recent 5 seconds), or the cumulative value sequence and the count value sequence obtained by the sampler 130 within the preset time length. Specifically, the memory 170 may store the timing state coding sequence and the timing signal coding sequence output by the quantizer 140 within the most recent preset time length, and the cumulative value sequence and the count value sequence obtained by the sampler 130 in a first-in-first-out manner, so as to be used by the analysis circuit 160 and the image reconstruction circuit 150. The preset time length may be set according to specific requirements.

[0065] Optionally, in some of the implementations, the image reconstruction circuit 150, the analysis circuit 160, and the memory 170 may be independently configured, or may be configured in the same circuit module. For example, the image reconstruction circuit 150, the analysis circuit 160, and the memory 170 may be configured in one computing circuit module. The embodiments of the present disclosure do not limit the configuration of the image reconstruction circuit 150, the analysis circuit 160, and the memory 170.

[0066] Optional, see Figure 2The timing signal processing device of the embodiment of the present disclosure may also include an encoder 180, which is connected to the quantizer 140, and is used to compress the timing state coding sequence and the timing signal coding sequence obtained by the quantizer 140, and store or transmit the compressed timing state coding sequence and the timing signal coding sequence, or compress the cumulative value sequence and the count value sequence obtained by the sampler 130, and store or transmit the compressed cumulative value sequence and the count value sequence. Optionally, the encoder 180 can be connected to the analysis circuit 160 and the memory 170 respectively, send the compressed timing state coding sequence and the timing signal coding sequence to the memory 170, and the memory 170 stores the compressed timing state coding sequence and the timing signal coding sequence, send the compressed cumulative value sequence and the count value sequence to the memory 170, and the memory 170 stores the compressed cumulative value sequence and the count value sequence, and compress the results obtained by the analysis circuit 160, such as the effective information analysis result, the first analysis result and / or the second analysis result, and then output them. In a specific implementation, the encoder 180 can use a preset compression coding method to compress and encode the timing state coding sequence and the timing signal coding sequence obtained by the quantizer 140, or the cumulative value sequence and the count value sequence obtained by the sampler 130, to obtain a timing signal coding stream to reduce the data transmission rate, and then output the timing signal coding stream for storage or external transmission.

[0067] Optionally, the encoder 180 may also be connected to the image reconstruction circuit 150 to compress and transmit the digital image obtained by the image reconstruction circuit 150. Because some electronic devices cannot display digital images in their original size, the encoder 180 compresses the digital image and outputs it to the electronic device, which can make the electronic device display the digital image better.

[0068] Figure 3 A schematic diagram of the structure of a photoelectric sensor provided by another embodiment of the present disclosure. Figure 3 In this embodiment, the photoelectric accumulator 210, the counter 220 and Figure 1 , Figure 2 The embodiment is the same, the photoelectric accumulator 210 is used to receive the photoelectric timing signal, and accumulate the received photoelectric timing signal to obtain the accumulated value. The counter 220 is used to count the number of times the accumulated value obtained by the photoelectric accumulator 210 reaches the preset threshold, which is not repeated here. In addition, the timing signal processing device also includes at least one of an image reconstruction circuit 250, an analysis circuit 260, a memory 270 and an encoder 280. Wherein: different from Figure 1 , Figure 2 In the embodiment shown, the Figure 3In the illustrated embodiment, the quantizer 240 , the image reconstruction circuit 250 , the analysis circuit 260 , the memory 270 , and the encoder 280 are connected to the sampler in parallel to execute the signal processing flow.

[0069] It is worth mentioning that the sampler 230 can also be used to perform analog-to-digital conversion on the count value sequence and the cumulative value sequence after obtaining the cumulative value sequence and the count value sequence, for example, converting the current value, voltage value or other analog signal cumulative value count value represented by the count value sequence and the cumulative value sequence into a digital signal such as a pulse signal to obtain a timing state coding sequence and a timing signal coding sequence. At this time, the sampler 230 can realize the function of the quantizer 240, and the sampler 230 outputs the timing state coding sequence and the timing signal coding sequence, so the quantizer 240 may no longer be set.

[0070] See also Figure 3 The photoelectric sensor may further include an image reconstruction circuit 250, which is connected to the sampler 230 and is used to perform image reconstruction calculation based on the count value sequence and the cumulative value sequence, or the timing state code sequence and the timing signal code sequence obtained by the sampler 230, so as to output an n-bit image data sequence at any sampling time, and form a digital image through the image data sequence. The specific implementation of the image reconstruction circuit 250 can refer to Figure 2 The relevant description of the image reconstruction circuit 150 in the illustrated embodiment will not be repeated here.

[0071] Optional, see Figure 3 , the photoelectric sensor of the embodiment of the present disclosure may also include an analysis circuit 260. The analysis circuit 260 is connected to the photoelectric accumulator 210 and the sampler 230 respectively, and is used to generate a threshold control signal, a sampling control signal, and a quantization control signal according to the count value sequence and the cumulative value sequence obtained by the sampler 230, or the timing state coding sequence and the timing signal coding sequence. The analysis circuit 260 can analyze and calculate the count value sequence and the cumulative value sequence, or the timing state coding sequence and the timing signal coding sequence obtained by the sampler 230, such as dynamic range analysis, brightness analysis, target detection, recognition and tracking, etc., and output the effective information analysis result, as well as the threshold control signal and control parameters (including the adjusted specific preset threshold value) of the photoelectric accumulator 210, the sampling control signal (including the adjusted specific sampling frequency) and the quantization control signal (including the adjusted specific quantization bit width) of the sampler 230.

[0072] Specifically, the analysis circuit 260 generates a threshold control signal, a sampling control signal, and a quantization control signal according to the count value sequence and the cumulative value sequence, or the timing state code sequence and the timing signal code sequence obtained by the sampler 230. For specific implementation, please refer to Figure 2 The relevant description of the analysis circuit 160 during the serial connection in the illustrated embodiment will not be repeated here.

[0073] Optional, see Figure 3 The photoelectric sensor of the embodiment of the present disclosure may also include a memory 270, which is connected to the sampler 230 and is used to store the count value sequence and cumulative value sequence, and / or the timing state coding sequence and the timing signal coding sequence obtained by the sampler 230 within the most recent preset time period (for example, within the most recent 5 seconds). Specifically, the memory 270 can store the count value sequence and cumulative value sequence, and / or the timing state coding sequence and the timing signal coding sequence output by the sampler 230 within the most recent preset time period in a first-in-first-out manner, so that the analysis circuit 260 and the image reconstruction circuit 250 can use them according to needs. The preset time period can be set according to specific needs.

[0074] Optional, see Figure 3 The photoelectric sensor of the embodiment of the present disclosure may further include an encoder 280, which is connected to the sampler 230 and is used to compress the count value sequence and the cumulative value sequence, and / or the timing state coding sequence and the timing signal coding sequence obtained by the sampler 230. Specifically, the encoder 280 uses a preset compression coding method to compress and encode the count value sequence and the cumulative value sequence, and / or the timing state coding sequence and the timing signal coding sequence obtained by the sampler 230 to obtain a timing signal coding stream to reduce the data transmission rate, and then output the timing signal coding stream for storage or external transmission.

[0075] In an exemplary embodiment of the present disclosure, the photoelectric accumulator and the sampler, quantizer, analysis circuit, image reconstruction circuit, memory, and encoder can also be connected in a serial and parallel mixed arrangement (not shown in the accompanying drawings). For example, while the encoder is arranged in parallel with the memory and the image reconstruction circuit, it can also be connected to the memory at the same time, and the compressed timing state coding sequence and timing signal coding sequence are sent to the memory, and the compressed timing state coding sequence and timing signal coding sequence are stored by the memory; optionally, the encoder can also be connected to the image reconstruction circuit to compress and output the digital image obtained by the image reconstruction circuit. Because some electronic devices cannot display digital images in their original size when displaying digital images, the encoder compresses the digital image and outputs it to the electronic device, which can make the electronic device display the digital image better. In the embodiment of the present disclosure, the specific method of connecting the serial and parallel mixed arrangement can be set according to the actual application needs, and will not be listed one by one.

[0076] Figure 4 A schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. Figure 4 As shown, one embodiment of the present disclosure provides an electronic device including: a signal collector 310, a display 320 and a photoelectric sensor 330 as described in any of the above embodiments of the present disclosure. Among them:

[0077] The signal collector 310 is connected to the photoelectric accumulator 110 in the photoelectric sensor 330 for collecting optical signals, performing photoelectric conversion on the collected optical signals, obtaining photoelectric timing signals, and inputting the photoelectric timing signals into the photoelectric accumulator 110 in the photoelectric sensor 330 .

[0078] The photoelectric sensor 330 is used to process the received photoelectric timing signal to obtain a reconstructed digital image.

[0079] The display 320 is used to display the digital image reconstructed by the photoelectric sensor 330 .

[0080] Optionally, in some implementations, the electronic device may include, but is not limited to, any one of the following: an integrated circuit, a sensor, and the like.

[0081] Optionally, in some of the implementations, the above-mentioned electronic devices may include, but are not limited to: pulse cameras, high-speed cameras, visual cameras, audio players, video players, navigation devices, fixed-position terminals, entertainment units, smart phones, communication devices, mobile devices, equipment in motor vehicles, vehicle-mounted cameras, mobile phone cameras, sports or wearable cameras, traffic cameras, industrial inspection cameras, cameras mounted on flying objects, medical cameras, security cameras, household appliance cameras, etc.

[0082] Through the description of the above implementation modes, those skilled in the art can clearly understand that the above embodiments can be implemented by means of a general hardware platform.

[0083] The above are only preferred embodiments of the present disclosure, and are not intended to limit the patent scope of the present disclosure. Any equivalent structure or equivalent process transformation made using the contents of the present disclosure and the drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present disclosure.

Claims

1. A photoelectric sensor, characterized in that: It includes a photoelectric accumulator, a counter and a sampler with independent working timings; The photoelectric accumulator is connected to the counter and the sampler respectively, receives the photoelectric timing signal, accumulates the photoelectric timing signal, outputs the accumulated value to the sampler, and resets when the accumulated value reaches a preset threshold; The counter is connected to the photoelectric accumulator and the sampler, respectively, counts the number of times the accumulated value obtained by the photoelectric accumulator reaches the preset threshold, and outputs the obtained count value to the sampler; The sampler is connected to the photoelectric accumulator and the counter, respectively, samples the input cumulative value and the count value according to a preset sampling frequency, outputs a cumulative value sequence according to a sampling timing based on the sampled cumulative value, outputs a count value sequence according to a sampling timing based on the sampled count value, and outputs a count reset signal to the counter after each sampling of the count value.

2. The photoelectric sensor according to claim 1, characterized in that: The photoelectric sensor includes M photoelectric accumulators and M counters, the M photoelectric accumulators and the M counters are connected in a one-to-one correspondence, the M photoelectric accumulators operate independently of each other, and M is an integer greater than zero.

3. The photoelectric sensor according to any one of claims 1-2, characterized in that: Also includes: The quantizer is connected to the sampler, performs quantization encoding on the count value sequence and the accumulated value sequence output by the sampler, and outputs the obtained time series state encoding sequence and time series signal encoding sequence.

4. The photoelectric sensor according to claim 3, characterized in that: Also includes: The memory is connected to the quantizer and stores the timing state coding sequence and the timing signal coding sequence output by the quantizer.

5. The photoelectric sensor according to any one of claims 1-2, characterized in that: The sampler comprises an analog-to-digital converter, which performs analog-to-digital conversion on the count value sequence and the accumulated value sequence obtained by sampling, and outputs a timing state coding sequence and a timing signal coding sequence.

6. The photoelectric sensor according to claim 5, characterized in that: Also includes: The memory is connected to the sampler and stores the timing state coding sequence and the timing signal coding sequence, or the counting value sequence and the accumulated value sequence output by the sampler.

7. An electronic device, characterized in that: The electronic device comprises the photoelectric sensor according to any one of claims 1 to 6; the electronic device further comprises: The signal collector is connected to the photoelectric accumulator in the photoelectric sensor to collect light signals, perform photoelectric conversion on the collected light signals, and output the obtained photoelectric timing signals to the photoelectric accumulator.

8. The device according to claim 7, characterized in that The electronic device includes any one of the following: an integrated circuit, a sensor.

9. The device according to claim 7, characterized in that The electronic device includes any one of the following: a pulse camera, a high-speed camera, a visual camera, an audio and video player, a video player, a navigation device, a fixed-position terminal, an entertainment unit, a smart phone, a communication device, a mobile device, a device in a motor vehicle, a vehicle-mounted camera, a mobile phone camera, a sports or wearable camera, a traffic camera, an industrial inspection camera, a camera mounted on a flying object, a medical camera, a security camera, or a home appliance camera.

Citation Information

Cited By

  • Ceramic ball counting device

    CN223808754U