Vision sensor, operation method of vision sensor, and image processing apparatus
By using pixel arrays and event detection circuits in visual sensors, combined with probability data and threshold comparisons, the problems of resource waste and low noise removal accuracy caused by unnecessary detection in the existing technology are solved, and more efficient motion detection is achieved. and resource utilization.
Patent Information
- Application Number
- CN202410260771.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-05-10
- Filing Date
- 2024-03-07
- Publication Date
- 2024-09-17
AI Technical Summary
Existing vision sensors generate unnecessary event detection and processing when detecting motion below a certain level, resulting in wasted resources and low noise removal accuracy.
A visual sensor is designed, including a pixel array and an event detection circuit. By detecting an event during a first sampling time and generating event data, a processor generates probability data based on these data and compares it with reference data to determine whether to update the motion count value. , and finally determine whether the object moves based on the comparison of the motion count value with the threshold, thereby switching the operating mode to reduce unnecessary detection.
It effectively distinguishes the motion and noise of real objects, reduces power consumption, improves the accuracy and data clarity of motion detection, and reduces resource consumption.
Smart Images

Figure CN118660237A_ABST
Abstract
Description
[0001] This application is based on and claims the benefit of priority from Korean Patent Application No. 10-2023-0033471 filed on March 14, 2023, and Korean Patent Application No. 10-2023-0060705 filed on May 10, 2023, in the Korean Intellectual Property Office, the disclosures of which are incorporated herein in their entirety by reference. Technical Field
[0002] The inventive concept relates to a visual sensor, an operating method of the visual sensor, and an image processing device including the visual sensor, and more specifically, to a visual sensor that determines the presence or absence of a moving object by comparing probability data based on event data with preset data, an operating method of the visual sensor, and an image processing device including the visual sensor. Background Art
[0003] The vision sensor (eg, an active vision sensor) generates information about the event (ie, event data) when an event (eg, a change in light intensity) occurs, and transmits the event data to a processor.
[0004] Meanwhile, an event may occur due to a change in light intensity. However, an event occurs because of a movement below a certain level due to a shake of a visual sensor, etc., and unnecessary detection processing may be performed. It is necessary to study a visual sensor that senses an event caused by a movement above a certain level to be detected. Summary of the invention
[0005] The inventive concept provides a vision sensor capable of determining the presence or absence of movement above a certain level, an operating method of the vision sensor, and an image processing apparatus including the vision sensor.
[0006] According to some aspects of the inventive concept, there is provided a visual sensor, the visual sensor comprising: a pixel array, comprising a plurality of pixels arranged in a matrix form; an event detection circuit, configured to detect whether an event has occurred in each of the plurality of pixels during a first sampling time, and generate a plurality of first event data respectively corresponding to the pixels in which the event has occurred; and a processor, configured to receive the plurality of first event data and generate a motion signal based on the plurality of first event data and reference data. According to some aspects of the inventive concept, there is provided an operation method of a visual sensor, the visual sensor comprising a pixel array, the pixel array comprising a plurality of pixels, the operation method comprising: generating a plurality of event data respectively corresponding to the pixels in which the event has occurred among the plurality of pixels; generating first probability data based on the plurality of event data based on the event occurring during the first sampling time; generating comparison data based on the difference between the first probability data and the reference data by comparing the first probability data with the reference data; determining whether to update a motion count value by comparing the comparison data with a first threshold value; and generating a motion signal based on a result of comparing a final motion count value with a second threshold value, the final motion count value being generated by determining whether to update the motion count value.
[0007] According to some aspects of the inventive concept, an image processing device is provided, which includes: a visual sensor, configured to generate a plurality of event data respectively corresponding to pixels in which events have occurred among a plurality of pixels; and a processor, configured to determine whether an object moves based on the plurality of event data, wherein the visual sensor includes: a pixel array, including the plurality of pixels; and an event detection circuit, configured to: detect whether an event has occurred in each of the plurality of pixels, and generate the plurality of event data respectively corresponding to the pixels in which the event has occurred, and the processor, configured to: generate first probability data based on event data received during a first sampling time, generate second probability data based on event data received during a second sampling time that is temporally continuous with the first sampling time by using a probability calculation model, generate a final motion count value based on the first probability data and the second probability data, and determine whether the object moves by comparing the final motion count value with a second threshold.
[0008] According to some aspects of the inventive concept, a visual sensor operating in a monitoring mode is provided, the visual sensor comprising: a pixel array, the pixel array comprising a plurality of pixels arranged in a matrix form; an event detection circuit, configured to detect whether an event has occurred in each of the plurality of pixels during a first sampling time, and to generate a plurality of first event data based on the pixels in which the event has occurred; and a processor, configured to receive the plurality of first event data, and to generate a motion signal based on the plurality of first event data and reference data, wherein the processor is configured to convert an operating mode of the visual sensor from a monitoring mode to an active mode based on the motion signal.
[0009] According to some aspects of the inventive concept, there is provided an image processing apparatus including a vision sensor.
[0010] According to some aspects of the inventive concept, there is provided an image processing device for photographing an object in a monitoring mode, the image processing device comprising: a visual sensor configured to generate a plurality of event data corresponding to pixels in which events have occurred among a plurality of pixels, respectively; and a processor configured to determine whether the object has moved based on the plurality of event data, wherein the processor is configured to: generate first probability data based on the event data received during a first sampling time by using a probability calculation model, generate a motion signal based on a result of comparing the first probability data with reference data, and convert an operation mode of the image processing device from a monitoring mode to an active mode based on the motion signal. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] Example embodiments will be more clearly understood from the following detailed description taken in conjunction with the accompanying drawings, in which:
[0012] Figure 1 is a block diagram illustrating an image processing apparatus according to some example embodiments;
[0013] Figure 2 is a block diagram illustrating a visual sensor according to some example embodiments;
[0014] Figure 3 is a block diagram illustrating a pixel according to some example embodiments;
[0015] Figure 4A , Figure 4B and Figure 4C is a diagram for explaining operations of an image processing apparatus in a monitoring mode and an active mode according to some example embodiments;
[0016] Figure 5 shows a pixel array according to some example embodiments;
[0017] Fig. 6Ais a block diagram illustrating a processor according to some example embodiments;
[0018] Figure 6B is a timing diagram illustrating sampling times according to some example embodiments;
[0019] Figure 7 is a diagram for explaining event data according to some example embodiments;
[0020] Figure 8 is a diagram for illustrating probability data according to some example embodiments;
[0021] Fig. 9 is a flow chart illustrating a method of operating a vision sensor according to some example embodiments;
[0022] Fig.10 is a flow chart illustrating a method of operating a vision sensor according to some example embodiments;
[0023] Fig.11 is a flow chart illustrating a method of operating a vision sensor according to some example embodiments;
[0024] Fig.12 is a flow chart illustrating a method of operating a vision sensor according to some example embodiments;
[0025] Fig.13 is a flow chart illustrating a method of operating a vision sensor according to some example embodiments;
[0026] Fig.14 is a block diagram illustrating an electronic device to which a vision sensor is applied according to some example embodiments. DETAILED DESCRIPTION
[0027] Figure 1 is a block diagram illustrating an image processing apparatus according to some example embodiments.
[0028] The image processing device 100 according to some example embodiments may be loaded in an electronic device having an image or light sensing function. For example, the image processing device 100 may be loaded in an electronic device such as a camera, a smart phone, a wearable device, an Internet of Things (IoT) device, a tablet personal computer (PC), a personal digital assistant (PDA), a portable multimedia player (PMP), a navigation device, a drone, an advanced driver assistance system (ADAS), etc. In addition, the image processing device 100 may be provided as a component in a vehicle, furniture, manufacturing equipment, a door, various measuring equipment, etc.
[0029] Reference Figure 1, the image processing apparatus 100 may include a visual sensor 110, a processor 120, and a controller 130. The visual sensor 110 may detect a change in the intensity of incident light, generate event data ED, and transmit the event data ED to the processor 120.
[0030] The visual sensor 110 may be a dynamic visual sensor that outputs event data ED corresponding to pixels in which changes in light intensity are detected (e.g., pixels in which an event has occurred). Changes in light intensity may be caused by movement of an object photographed by the visual sensor 110, movement of the visual sensor 110 or the image processing device 100 itself, or environmental factors (e.g., when photographing a snowy or rainy environment). The occurrence of an event due to movement of the visual sensor 110 or the image processing device 100 or environmental factors may correspond to noise. In some example embodiments, by determining whether an event occurring according to a change in light intensity is noise, unnecessary operations may not be performed on an event for noise, and therefore, unnecessary power consumption may be prevented or reduced. For example, according to some example embodiments, based on the above method, the accuracy of motion detection, power consumption reduction, and noise removal may be improved. Therefore, the improved device and method overcome the defects of conventional devices and methods regarding motion detection and noise removal, while reducing resource consumption and increasing data clarity. For example, by using the disclosed method, the visual sensor 110 may require fewer resources (such as memory access and / or power) to drive the circuit system to make a determination of event occurrence. Furthermore, the visual sensor 110 according to example embodiments may have improved resource utilization as described above during improved movement detection in a specific environment such as a snowy or rainy environment.
[0031] The visual sensor 1100 may periodically or aperiodically send event data ED to the processor 120. The visual sensor 110 may send event data ED in units of packets or frames to the processor 120. The event data ED may include position information of a corresponding pixel and / or time information when an event occurs in the corresponding pixel.
[0032] The visual sensor 110 may selectively transmit the event data ED to the processor 120. The visual sensor 110 may transmit the event data ED generated from the pixels corresponding to the region of interest set on the pixel array, among the event data ED generated to correspond to the pixels included in the pixel array, to the processor 120. However, the inventive concept is not limited thereto, and the visual sensor 110 may transmit the event data ED generated to correspond to all the pixels included in the pixel array to the processor 120.
[0033] The processor 120 may process the event data ED received from the visual sensor 110, and may detect the movement of an object (or the movement of an object on an image recognized by the image processing device 100). The processor 120 may include an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), a dedicated microprocessor, a microprocessor, a general-purpose processor, etc. In some example embodiments, the processor 120 may include an application processor or an image signal processor. Figure 1 , in order to describe the processor 120 , the processor 120 is represented as not being included in the vision sensor 110 , but the processor 120 according to the inventive concept may be included in the vision sensor 110 .
[0034] The processor 120 according to the inventive concept can determine whether the object is moving by comparing the event data ED generated during the sampling time with a preset (or alternatively, expected or determined) threshold or the event data ED generated during the previous sampling time. Here, the movement of the object means an event that does not correspond to noise.
[0035] The sampling time of the inventive concept is a term used to refer to multiple event data generated at different times as a unit in time. For example, the sampling time may be a time corresponding to b times (b is an integer greater than or equal to 1) the frame period. The sampling time may be set differently according to the environment captured by the visual sensor 110 or the user's settings.
[0036] The processor 120 according to the inventive concept can generate a motion signal MS by determining whether the motion condition is met based on the received event data ED. The visual sensor 110 can operate in a monitoring mode or an activity mode based on the motion signal MS. The monitoring mode may include a first monitoring mode and a second monitoring mode, and the first monitoring mode may be distinguished from the second monitoring mode according to whether an event has occurred continuously (for example, when shooting a rainy or snowy environment). The motion condition, the motion signal, the monitoring mode, and the activity mode are described in detail below.
[0037] Meanwhile, each of the visual sensor 110 and the processor 120 may be implemented as an integrated circuit (IC). For example, the visual sensor 110 and the processor 120 may be implemented as separate semiconductor chips. Alternatively, the visual sensor 110 and the processor 120 may be implemented as a single chip. For example, the visual sensor 110 and the processor 120 may be implemented as a system on chip (SoC).
[0038] The controller 130 may receive the motion signal MS generated by the processor 120 and output a control signal CS. The image processing apparatus 100 may operate in a monitoring mode or an active mode based on the control signal CS. For example, other components (not shown, described below) included in the image processing apparatus 100 Figure 4A and Figure 4B The controller 130 may operate in a monitoring mode or an active mode based on a control signal CS. For example, the controller 130 may receive a motion signal MS to generate a control signal CS, and based on the control signal CS, supply power to other components (not shown). On the other hand, when the controller 130 does not generate a control signal CS, power may be cut off in other components (not shown). A mode in which power is supplied to other components (not shown) based on a control signal CS may be referred to as an active mode, and a mode in which power is cut off may be referred to as a monitoring mode. The operation of the image processing device 100 in the monitoring mode and the active mode according to the inventive concept is not limited to the above examples, and may include various methods of managing power consumption. This is described below with reference to FIG. 4A to FIG. 4C Give a description.
[0039] The control signal CS according to the inventive concept does not refer to a specific signal generated by the controller 130, but refers to a signal generated by the controller 130 to control the operation of various components when the image processing device 100 operates in the monitoring mode or the active mode. For example, in the active mode, a signal generated by the controller 130 for supplying power to all pixels included in the visual sensor 110 and a signal provided by the controller 130 for providing a clock signal to various components may be collectively referred to as the control signal CS. This is referred to below with reference to FIG. 4A to FIG. 4C Give a description.
[0040] Figure 2 is a block diagram illustrating a vision sensor according to some example embodiments.
[0041] Figure 2 It is shown Figure 1 A block diagram of the visual sensor 110 is shown.
[0042] Reference Figure 1 and Figure 2 , the visual sensor 110 may include a pixel array 111, an event detection circuit 112, and a processor 120a. The processor 120a may be Figure 1 , and its redundant description is omitted.
[0043] The pixel array 111 may include a plurality of pixels PX (e.g., 110-1 to 110-n) arranged in a matrix form. Each pixel PX may detect an event in which the intensity of received light increases or decreases. For example, each pixel PX may be connected to the event detection circuit 112 via a column line (not shown) extending in a column direction and a row line (not shown) extending in a row direction. A signal indicating that an event has occurred and polarity information of the event (i.e., whether the event is an on event in which the intensity of light increases or an off event in which the intensity of light decreases, hereinafter referred to as an event) may be output from the pixel PX in which the event has occurred to the event detection circuit 112.
[0044] The event detection circuit 112 may read an event from the pixel array 111 and process the event. The event detection circuit 112 may generate event data ED including polarity information of the event that occurred, the address of the pixel in which the event has occurred, and time information about when the event occurred. The event detection circuit 112 may process events that occur in the pixel array 111 in units of pixels, in units of pixel groups including a plurality of pixels (e.g., pixels included in a sub-region described below), in units of columns, or in units of frames.
[0045] Event detection circuit 112 may include a column scanner circuit, a row event readout circuit, an event signal processor (ESP), and a bias generator.
[0046] The column scanner circuit of the event detection circuit 112 may scan the pixels PX included in the pixel array 111 in units of columns. For example, the column scanner circuit may transmit a selection signal to a column to be scanned among a plurality of columns of the pixel array 111 to scan the pixels PX included in the column to be scanned.
[0047] The pixels PX included in the column to be scanned may transmit polarity information indicating whether an event of light intensity increase or decrease occurs to the row event readout circuit in response to the selection signal.
[0048] The row event readout circuit of the event detection circuit 112 may receive polarity information from the pixels PX included in the column to be scanned. The row event readout circuit may send a reset signal to the pixel PX in which an event (e.g., a turn-on event or a turn-off event) occurs in response to the polarity information. The pixel PX in which the event occurs may be reset in response to the reset signal.
[0049] The visual sensor 110 according to the inventive concept may further include an interface circuit (not shown) between the event detection circuit 112 and the processor 120a. The interface circuit (not shown) may receive the event data ED and send the event data ED to the processor 120a according to a set protocol. The interface circuit (not shown) may package the event data ED and the time information in a separate signal unit, packet unit, or frame unit according to the set protocol, and may send the event data ED to the processor 120a. For example, the interface circuit (not shown) may include one of an address event representation (AER) interface, a mobile industry processor interface (MIPI) interface, and a parallel interface.
[0050] The visual sensor 110 according to some example embodiments may generate event data ED based on events occurring during a sampling time, and may be respectively related to the following references. Figure 5 The units corresponding to the plurality of sub-areas described above provide event data ED to the processor 120a. Figure 5 The processor 120a may receive event data ED corresponding to the first sub-region SR1 and event data ED corresponding to the second sub-region SR2 among event data ED generated based on events occurring during the sampling time. The processor 120a may determine whether a motion condition is satisfied based on the received event data ED, and when the motion condition is satisfied, generate a motion signal MS and output the motion signal MS to Figure 1 Controller 130.
[0051] Figure 3 is a block diagram illustrating a pixel according to some example embodiments.
[0052] Reference Figure 3 , the pixel PX may include a current-voltage converter circuit 310 including a photoelectric conversion device, an amplifier circuit 320, and a comparator circuit 330. Figure 3 The pixel PX may be included in Figure 2 In the pixel array 111.
[0053] The current-to-voltage converter circuit 310 may include a photoelectric conversion device. The photoelectric conversion device may convert incident light (e.g., an optical signal) into an electrical signal (e.g., a current). The photoelectric conversion device may include, for example, a photodiode, a phototransistor, a photogate, or a pinned photodiode. As the intensity of the incident light increases, the photoelectric conversion device may generate an electrical signal with a higher level.
[0054] The current-to-voltage converter circuit 310 may include a logarithmic amplifier. The logarithmic amplifier may convert the current generated by the photoelectric conversion device into a voltage and amplify the voltage level of the voltage to generate a logarithmic voltage Vlog of a logarithmic scale. The current-to-voltage converter circuit 310 may include a feedback transistor.
[0055] The amplifier circuit 320 may receive the logarithmic voltage Vlog from the current-voltage converter circuit 310, amplify the logarithmic voltage Vlog to generate an output voltage Vout. The amplifier circuit 320 may include a capacitor (e.g., a first capacitor and a second capacitor), a differential amplifier, and a switch. The first capacitor and the second capacitor may store a charge corresponding to the output generated by the photoelectric conversion device. The differential amplifier may amplify the amount of change in the logarithmic voltage Vlog during a specific time period to generate an output voltage Vout, and the feedback circuit may be connected between the input terminal and the output terminal of the differential amplifier.
[0056] In addition, the pixel PX may further include a source follower in the amplifier circuit 320. The source follower may prevent or reduce kick-back noise from the amplifier circuit 320 to the current-voltage converter circuit 310.
[0057] The switch may be located on the feedback circuit and turned on or off based on the reset signal RST. The switch may be turned on in response to the reset signal RST in which an event signal (eg, a turn-on event signal or a turn-off event signal) is generated.
[0058] For example, when the switch is turned on, the output voltage Vout can be reset because the voltages across the differential amplifier become the same. That is, the differentiator amplifier can generate the output voltage Vout by amplifying the change in the logarithmic voltage Vlog of the next event that occurs from when the output voltage Vout is reset according to the reset signal RST.
[0059] The comparator circuit 330 may generate an event signal ES indicating an event that occurs when the amount of change in light incident on the photoelectric conversion device is greater than or equal to a specific change level. For example, the comparator circuit 330 may compare the output voltage Vout of the amplifier circuit 320 with a threshold voltage and generate an event signal ES having an activation level according to the comparison result.
[0060] The event detection circuit 340 may receive the event signal ES from the pixel PX, and generate event information about the type of event that has occurred in the pixel PX (e.g., polarity—on event or off event), and address information as location information of the pixel PX in which the event has occurred. When the on event or the off event is detected, the event detection circuit 340 may generate a reset signal RST and provide the reset signal RST to the specific pixel PX in which the on event or the off event has occurred.
[0061] As described above, the processor 360 may receive the event data ED. The event data ED may include event information and address information generated by the event detection circuit 340, and may also include time information about the event generation time generated by the time stamper 350.
[0062] The event detection circuit 340 according to the inventive concept may generate event data ED based on an event corresponding to a pixel in which a change in light is detected during a sampling time, and the processor 360 may receive the event data ED and determine whether a motion condition is satisfied based on the event data ED. The processor 360 may determine whether a motion condition is satisfied based on the event data ED, and generate a motion signal MS when the motion condition is satisfied. The image processing device or the visual sensor may switch the operation mode from the monitoring mode to the active mode based on the motion signal MS.
[0063] The monitoring mode refers to a mode that consumes less power than the active mode. For example, when operating in the active mode, the image processing device or the visual sensor may perform a readout operation on all pixels included in the pixel array, but in the monitoring mode, the pixels may be read out in a merging method such as 2×2, 3×3, 4×4, etc. Therefore, the image processing device or the visual sensor may consume less power when operating in the monitoring mode than when operating in the active mode. In addition to the above examples, the power consumed by the image processing device or the visual sensor in the monitoring mode may be less than the power consumed in the active mode through various methods (such as operating a clock signal at a lower frequency in the monitoring mode than in the active mode). In this regard, refer to the following FIG. 4A to FIG. 4C The operation of a vision sensor or image processing device according to the inventive concept in a monitoring mode and an active mode is described.
[0064] The event data ED according to the inventive concept is not only generated by the above configuration, but also the event data ED according to some example embodiments may be generated by the AER generator. For example, in some example embodiments, the pixel may include an analog-to-digital converter (ADC) circuit, and the ADC circuit may convert an analog signal generated by the photoelectric conversion device PD into a digital signal. The digital signal may represent a value obtained by digitizing the amount of change in light intensity. The AER generator may receive the digital signal and generate event data including event information, address information, and time information.
[0065] Figure 4A , Figure 4B and Figure 4C is a diagram for explaining operations of an image processing apparatus in a monitoring mode and an active mode according to some example embodiments.
[0066] Figure 4A The image processing device 100a and Figure 4B Each of the image processing devices 100b may correspond to Figure 1 The image processing apparatus 100 of Figure 4C The visual sensor 110a may correspond to Figure 1 Therefore, a redundant description thereof may be omitted.
[0067] According to the invention Figure 1 The image processing device 100 or Figure 1 The visual sensor 110 can operate in a sleep mode, a monitoring mode, or an active mode. For example, Figure 1 The image processing apparatus 100 may switch the mode from the sleep mode to the monitoring mode, and may switch the mode from the monitoring mode to the active mode. Here, the sleep mode refers to Figure 1 The sleep mode may refer to a mode in which the image processing apparatus 100 does not operate. For example, the sleep mode may refer to a mode in which little or no power is consumed. Figure 1 The image processing apparatus 100 may convert the mode to the monitoring mode without directly converting the mode from the sleep mode to the active mode, and consumes less power in the monitoring mode than in the active mode. Figure 1 The image processing apparatus 100 may convert the mode from the sleep mode to the monitoring mode for motion recognition, and when a motion satisfying a condition or a previously determined condition is detected, convert the operation mode from the monitoring mode to the active mode for motion recognition.
[0068] In this manual, "mode" and "operating mode" are used to refer to Figure 1 As described above, since the monitoring mode refers to a mode that consumes less power than in the active mode, when Figure 1 When the image processing apparatus 100 converts the mode to the active mode through the monitoring mode to perform motion recognition, less power may be consumed than when directly converting from the sleep mode to the active mode.
[0069] As described above, the control signal CS according to the inventive concept does not refer to Figure 1 The specific signal generated by the controller 130 and can indicate when Figure 1 When the image processing apparatus 100 operates in the monitoring mode or the active mode, Figure 1 The controller 130 generates signals to control the operations of various components.
[0070] Refer to below FIG. 4A to FIG. 4C In the description to be given, Figure 1 The image processing apparatus 100 is described as being Figure 1 The controller 130 operates in the monitoring mode and the active mode based on the control signal CS generated by the motion signal MS, but according to the inventive concept Figure 1 The image processing apparatus 100 is not limited thereto, and may be based on Figure 1 The motion signal MS generated by the processor 120 operates in the monitoring mode and the active mode similarly to the operations described below.
[0071] Reference Figure 4A, the image processing apparatus 100a according to the inventive concept may include a phase locked loop (PLL) 410, a plurality of IPs (or IPs) 420_1 to 420_N, and a processor 430. The processor 430 may correspond to Figure 1 , and its redundant description is omitted.
[0072] As described above, the image processing apparatus 100a may operate in the sleep mode and may switch the operation mode to the monitoring mode for motion detection. For example, based on a user's input and / or a specific condition, the image processing apparatus 100a may switch the operation mode from the sleep mode to the monitoring mode. The image processing apparatus 100a may also include Figure 1 The controller 130 of the embodiment of the present invention may be configured to generate a motion signal when the motion condition is not satisfied, and the processor 430 may output the motion signal to the controller 130 of the embodiment of the present invention. The processor 430 may determine whether the motion condition is satisfied based on the event data in the monitoring mode. When the motion condition is not satisfied, the processor 430 may not generate the motion signal, and when the motion condition is satisfied, the processor 430 may output the motion signal to the controller 130 of the embodiment of the present invention. Figure 1 Controller 130. Figure 1 The controller 130 may output a control signal CS upon receiving a motion signal.
[0073] Reference Figure 4A , PPL 410 may receive a clock signal generated by a clock generator (not shown) and a clock signal generated by Figure 1 The PPL 410 may be turned on by receiving the control signal CS generated by the controller 130. The PPL 410 may adjust the received clock signal to a signal having a constant frequency based on a reference frequency, and output the adjusted clock signal to a plurality of Ip420_1 to 420_N-1. The plurality of Ip420_1 to 420_N may represent a logic circuit block included in the image processing device 100a. For example, a MIPI interface, an application processor (AP), etc. may correspond to an Ip.
[0074] Reference Figure 4A , when no motion signal is generated (ie, when the motion condition is not satisfied), Figure 1The controller 130 may not generate the control signal CS. In this case, the image processing device 100a may operate continuously in the monitoring mode. Because the control signal CS is not generated in the monitoring mode, the PPL 410 included in the image processing device 100a may be turned off. When the PPL 410 is turned off, because the clock signal is not output to the multiple Ips 420_1 to 420_N-1, the multiple Ips 420_1 to 420_N-1 may be turned off. For example, the Ips 410_1 to 420_N-1 turned off in the monitoring mode may be a logic circuit block for processing information about the movement of an object detected by a visual sensor. In the monitoring mode, processing the information about the movement of an object may not be performed by the multiple Ips 410_1 to 410_N-1, and therefore, the image processing device 100a may turn off the multiple Ips 410_1 to 420_N-1 to reduce power consumption. Here, processing the information about the movement of an object may refer to: processing the information about the movement of an object by the AP based on Figure 1 The event data ED is processed for motion recognition Figure 1 Event data ED.
[0075] Even in the monitoring mode, some IPs (e.g., 420_N) among the plurality of IPs 420_1 to 420_N may be enabled. For example, IP 420_N may be located at Figure 1 The visual sensor 110 and Figure 1 An interface between the processor 120 (not shown).
[0076] Reference Figure 4A , when a motion signal is generated (i.e., when the motion condition is met), Figure 1 The controller 130 of the image processing device 100a may generate a control signal CS. Therefore, the image processing device 100a may convert the operation mode from the monitoring mode to the active mode based on the motion signal (or based on the control signal CS). In the active mode, the PPL 410 included in the image processing device 100a may be turned on by receiving the control signal CS. When the PPL 410 is turned on, the PP 410 may output the received clock signal to the plurality of IPs 420_1 to 420_N-1. The plurality of IPs 420_1 to 420_N-1 that receive the clock signal may perform an operation of processing information about the movement of the object.
[0077] In the active mode, the processor 430 may be turned off based on the control signal CS, and the determination of whether the motion condition is satisfied may be omitted. However, the inventive concept is not limited thereto, and even in the active mode, the processor 430 may continuously determine whether the motion condition is satisfied based on newly generated event data regardless of the control signal CS.
[0078] As described above, the image processing apparatus 100 a can reduce power consumption by converting the mode to the active mode via the monitoring mode without directly converting the mode from the sleep mode to the active mode.
[0079] Reference Figure 4A The described operation method of the image processing device 100a in the monitoring mode and the active mode may be referred to as clock management. The operation of the above-described image processing device 100a is an example, and the clock management according to the inventive concept is not limited thereto, and may include various methods of changing whether to apply a clock signal to at least one IP included in the image processing device 100a based on whether a motion signal is generated.
[0080] Reference Figure 4B , the image processing apparatus 100b according to the inventive concept may include a first switch 435, a PPL 440, a plurality of IPs 450_1 to 450_N, and a processor 460. The processor 460 may correspond to Figure 1 The processor 120, and the PPL 440 and the plurality of Ips 450_1 to 450_N may correspond to Figure 4A The image processing apparatus 100b may further include a second switch 436 connected between the processor 460 and the power supply voltage VDD.
[0081] As described above, when no motion signal is generated (ie, when the motion condition is not satisfied), Figure 1 The controller 130 may not generate the control signal CS. In this case, the image processing device 100b may operate in the monitoring mode. On the other hand, when a motion signal is generated (ie, when the motion condition is satisfied), Figure 1 The controller 130 may generate the control signal CS. In this case, the image processing apparatus 100b may operate in the active mode.
[0082] The first switch 435 and the second switch 436 may be responsive to Figure 1 The first switch 435 and the second switch 436 may be turned on by the control signal CS generated by the controller 130. On the other hand, when the control signal CS is not generated, the first switch 435 and the second switch 436 may be turned off.
[0083] Reference Figure 4B, when the motion condition is not satisfied, because the image processing apparatus 100b operates in the monitoring mode and the control signal CS is not generated, the first switch 435 may be disconnected. When the first switch 435 is disconnected, because the power supply voltage VDD is not applied to the PPL 440 and the plurality of Ips 450_1 to 450_N, the PPL 440 and the plurality of Ips 450_1 to 450_N may be disconnected. Therefore, in the monitoring mode, the image processing apparatus 100b may consume less power than in the active mode.
[0084] As described above, since processing of information on movement of an object is not performed in the monitoring mode, the plurality of IPs 450_1 to 450_N may be turned off, and the image processing apparatus 100b may consume less power than when operating in the active mode.
[0085] When the motion condition is satisfied, the image processing apparatus 100b may operate in an active mode, and in the active mode, the first switch 435 may be responsive to the motion condition. Figure 1 The controller 130 of the image processing apparatus 100b is turned on by the control signal CS generated based on the motion signal. When the first switch 435 is turned on, the power supply voltage VDD may be applied to the PPL 440 and the plurality of Ips 450_1 to 450_N. Therefore, in the active mode, the image processing apparatus 100b may perform processing of information on movement of an object.
[0086] As described above, the image processing apparatus 100 b can reduce power consumption by converting the mode to the active mode via the monitoring mode without directly converting the mode from the sleep mode to the active mode.
[0087] Reference Figure 4B The described operation method of the image processing device 100b in the monitoring mode and the active mode may be referred to as power management. The operation of the above-described image processing device 100b is an example, and the power management according to the inventive concept is not limited thereto, and may include various methods of changing whether to apply the power supply voltage VDD to at least one IP included in the image processing device 100b based on whether a motion signal is generated.
[0088] Reference Figure 4C , the visual sensor 110a according to the inventive concept may include a pixel array 111a, a row control block 470, and a column control block 480. The pixel array 111a may include a plurality of pixels PX_1 to PX_16. The pixel array 111a may correspond to Figure 2 111, and thus its redundant description is omitted.
[0089] The pixel array 111a may include 4×4 pixels PX_1 to PX_16. This is for convenience of description, and the number of pixels included in the pixel array 111a according to the inventive concept is not limited to 4×4. Each of the pixels PX_1 to PX_16 included in the pixel array 111a corresponds to the pixels included in the reference pixel array 111a. Figure 2 The pixels PX in the pixel array 111 are described herein, and thus a redundant description thereof is omitted.
[0090] The row control block 470 may output row control signals RCS_1 to RCS_4 to the plurality of pixels PX_1 to PX_16 included in the pixel array 111a through row control lines extending in a first direction (x direction), and the control block 480 may output column control signals CCS_1 to CCS_4 to the plurality of pixels PX_1 to PX_16 included in the pixel array 111a through column control lines extending in a second direction (y direction). The row control block 470 and the column control block 480 may be based on the Figure 1 The row control block 470 and the column control block 480 may respectively output a row control signal RCS_2 and a column control signal CCS_2 to the pixel PX_6 based on the control signal CS.
[0091] Each of the plurality of pixels PX_1 to PX_16 included in the pixel array 111a may output an event in response to row control signals RCS_1 to RCS_4 output from the row control block 470 and column control signals CCS_1 to CCS_4 output from the column control block 480. For example, among the pixels PX_1 to PX_16 included in the pixel array 111a, the pixel PX_6 receiving the row control signal RCS_2 and the column control signal CCS_2 may output an event, and the other pixels PX_1 to PX_5 and PX_7 to PX_16 may not output an event. Therefore, the visual sensor 110a may be based on the Figure 1 The control signal CS generated by the controller 130 outputs events generated from some of the pixels PX_1 to PX_16 included in the pixel array 111a. The visual sensor 110a and the image processing device including the visual sensor 110a may not output all events generated from the pixels PX_1 to PX_16 in the monitoring mode, but only output events generated from some pixels, thereby reducing power consumption.
[0092] Reference Figure 4C As described above, the visual sensor 110a may output events generated from some of the plurality of pixels PX_1 to PX_16, but may output events generated from pixels 490 adjacently arranged in a 2×2 form as one event. This output method is called merging. When the visual sensor 110a operates in the merging method, because Figure 1The number of events processed by the processor 120 may be small, so the power consumption may be relatively small. Therefore, the visual sensor 110a and the image processing apparatus including the visual sensor 110a may operate in a combined method in the monitoring mode to reduce power consumption.
[0093] As described above, the vision sensor 110a and the image processing apparatus including the vision sensor 110a can reduce power consumption by converting the mode to the active mode via the monitoring mode without directly converting the mode from the sleep mode to the active mode.
[0094] Reference Figure 4C The described operation method of the visual sensor 110a and the image processing device including the visual sensor 110a in the monitoring mode and the active mode may be referred to as pixel management. The operation of the above-described visual sensor 110a is an example, and the pixel management according to the inventive concept is not limited to the above example, and may include various methods of outputting events from some pixels among all pixels included in the visual sensor 110a based on whether a motion signal is generated.
[0095] In addition to reference FIG. 4A to FIG. 4C In addition to the operation of the image processing device described above, power consumption in monitoring mode can be reduced by blocking event data output from the visual sensor. Figure 1 In addition to the processor 120, the visual sensor 110 may also Figure 1 The event data ED is output to an AP (not shown) included in the image processing apparatus 100 so as to identify the operation. The AP may receive Figure 1 The event data is based on Figure 1 The visual sensor 110 may process the event data ED according to the event data output management. When the visual sensor 110 operates in the monitoring mode according to the inventive concept, because the AP does not perform processing on the event, the visual sensor 110 may not output the event data ED to the AP based on the control signal generated by the controller 130. Therefore, the power consumed by the visual sensor 110 for outputting the event data ED may be reduced. The method of managing power consumption through event data output management according to the inventive concept may be referred to as output management, and the output management according to the inventive concept is not limited to the above example, and may include various methods of changing whether the visual sensor outputs the event data ED according to the inventive concept based on whether a motion signal is generated.
[0096] The image processing device according to the inventive concept can operate in monitoring mode and active mode through each or a combination of the above-mentioned power management, pixel management and output management. For example, according to some example embodiments, based on the above-mentioned method, the accuracy of motion detection, power consumption reduction and noise removal can be improved. Therefore, the improved device and method overcome the defects of conventional devices and methods regarding motion detection and noise removal, while reducing resource consumption and improving data clarity. For example, by using the disclosed method, the visual sensor 110 may require fewer resources (such as memory access and / or power) to drive the circuit system to make a determination of the occurrence of an event.
[0097] Figure 5 A pixel array according to some example embodiments is shown.
[0098] Figure 5 The diagram shows a plurality of sub-regions SR1 to SR25. Figure 2 Schematic diagram of pixel array 111.
[0099] Reference Figure 5 , the pixel array 111 may include a plurality of pixels arranged in the form of an M×N matrix, and one sub-region (e.g., the first sub-region SR1) may include a plurality of pixels arranged in the form of a K×S matrix. For example, the pixel array 111 may include M×N pixels and (M / K)×(N / S) sub-regions, and each of the plurality of sub-regions SR1 to SR25 included in the pixel array 111 may include K×S pixels. Each of M and N is an integer greater than 1, K is an integer equal to or less than M and greater than or equal to 1, and S is an integer equal to or less than N and greater than or equal to 1. Therefore, a sub-region according to the inventive concept may be a region including at least one pixel, or may be the same as a pixel array region.
[0100] According to the invention concept, Figure 5 Each corresponding event data ED of the plurality of sub-regions SR1 to SR25 may be provided to Figure 1 The processor 120 of the embodiment of the present invention. For example, the event data ED generated based on the event occurring when the pixel included in the first sub-region SR1 detects the change of light intensity may correspond to the first sub-region SR1. Similarly, the event data ED generated based on the event occurring when the pixel included in the second sub-region SR2 detects the change of light intensity may correspond to the second sub-region SR2.
[0101] According to the invention Figure 1 The processor 120 may sequentially or simultaneously receive a plurality of pieces of event data ED respectively corresponding to the plurality of sub-regions SR1 to SR25, and perform processing on the plurality of pieces of event data ED respectively corresponding to the plurality of sub-regions SR1 to SR25. Here, processing may refer to Figure 1The processor 120 performs an operation to determine whether the motion condition is satisfied. For example, the processing may include calculating a plurality of probability data respectively corresponding to the plurality of sub-regions SR1 to SR25 by using the probability calculation model described below, comparing each of the plurality of probability data with a preset (or optionally, expected or determined) reference data, etc.
[0102] The number of sub-areas according to the inventive concept is not limited to Figure 5 The number of sub-areas may be set differently according to user needs or shooting environments.
[0103] Fig. 6A is a block diagram illustrating a processor according to some example embodiments. Figure 6B is a timing diagram illustrating sampling times according to some example embodiments.
[0104] Referring to the above description, the processor 120 may receive event data ED from the event detection circuit 112 included in the vision sensor 110 and perform processing on the event data ED respectively corresponding to a plurality of sub-regions, each of which includes at least one pixel.
[0105] The processor 120 may use the probability calculation model 121 to generate probability data based on the event data ED generated according to the events occurring during the sampling time, store the generated probability data in the memory 510, and retrieve the stored probability data from the memory 510. The plurality of probability data generated based on the plurality of event data ED respectively corresponding to the plurality of sub-regions may be referred to as respectively corresponding to the plurality of sub-regions.
[0106] The probability in the probability data of the inventive concept indicates the degree of occurrence of an event, but is not limited to the probability in a mathematical sense. For example, the processor 120 can calculate the probability of an event by using the probability calculation model 121 based on the probability of occurrence of an event. Figure 3 The processor 120 generates probability data by counting the number of events based on the event data ED corresponding to the first sub-region SR1. Alternatively, the processor 120 may generate probability data by dividing the first sub-region SR1 into a plurality of regions and applying different weights to the plurality of regions. Alternatively, the processor 120 may generate probability data by dividing the event data ED corresponding to the first sub-region SR1 according to polarity. The probability calculation model 121 according to the inventive concept is not limited to the above examples, and may include all models that quantify the degree of occurrence of an event based on the event data ED generated during the sampling time.
[0107] The processor 120 according to the inventive concept may generate probability data by using the probability calculation model 121, and generate comparison data CD by comparing the probability data with preset (or alternatively, expected or determined) reference data. The reference data may be probability data based on event data ED corresponding to the same sub-area received during a previous sampling time. In some example embodiments, the reference data may be a preset (or, alternatively, expected or determined) threshold.
[0108] Reference data according to the inventive concept can be based on Figure 1 The monitoring mode may include a first monitoring mode and a second monitoring mode, and Figure 1 The visual sensor 110 may be operated in a first monitoring mode or a second monitoring mode. In the first monitoring mode, the reference data may be probability data based on event data ED generated at a previous time in time, and in the second monitoring mode, the reference data may be a preset (or alternatively, a desired or determined) threshold value. Fig.13 The second monitoring mode according to the inventive concept is described in detail.
[0109] Reference Fig. 6A and Figure 6B Regarding the first monitoring mode, the processor 120 may use the probability calculation model 121 to calculate the probability of receiving the first sampling time T1 based on ... Figure 5 The first probability data is generated by using the event data ED corresponding to the first sub-region SR1 of the processor 120, and the comparison data CD is generated by comparing the first probability data with the reference data. In the first monitoring mode, the reference data may be the second probability data. The second probability data represents the first sampling time T1 received during the second sampling time T2 before the first sampling time T1 by using the probability calculation model 121. Figure 5The processor 120 may generate comparison data CD by comparing first probability data and second probability data corresponding to the same sub-region. The comparison data CD may have a value corresponding to the difference between the first probability data and the second probability data, and therefore, the greater the difference between the first probability data and the second probability data, the greater the value of the comparison data CD. For example, the comparison data CD may be a value obtained by subtracting the second probability data (reference data in the first monitoring mode) from the first probability data. Alternatively, the comparison data CD may be a ratio of the second probability data (reference data in the first monitoring mode) to the first probability data. A large difference between the first probability data and the second probability data may mean a large difference between an event occurring during the first sampling time T1 and an event occurring during the second sampling time T2, and therefore, the movement of the object during the first sampling time T1 may be relatively greater than the movement of the object during the second sampling time T2.
[0110] In the second monitoring mode according to the inventive concept, the reference data may be a preset (or alternatively, a desired or determined) threshold value, and the comparison data CD in the second monitoring mode may be understood with reference to the above examples.
[0111] According to the inventive concept, the time of the first sampling time T1 may be the same as the time of the second sampling time T2, and the first sampling time T1 and the second sampling time T2 may be temporally continuous sampling times.
[0112] Reference Figure 6B , the second sampling time T2 is indicated as a time before the first sampling time T1 (for example, the first sampling time T1 is a sampling time after the second sampling time T2), but this is to distinguish the first sampling time T1 from the second sampling time T2, and the second sampling time in the following description does not mean that the sampling time is before the first sampling time in time. In the following description, another sampling time distinguished from the first sampling time may be referred to as the second sampling time. In other words, the first sampling time and the second sampling time are terms used to refer to different sampling times, and the time priority relationship between the first sampling time and the second sampling time is not determined by the terms themselves and may vary based on the description according to some example embodiments. For example, the time priority relationship between the first sampling time and the second sampling time may be defined for each description with expressions such as "before...", "after...", or "continuous" in time, which should be understood and applied in the same way as when interpreting the claims.
[0113] The processor 120 according to the inventive concept may use the decision model 122 to compare the comparison data CD corresponding to each of the plurality of sub-regions (e.g., comparison data based on the result of comparing the first probability data and the second probability data corresponding to the same sub-region in the first monitoring mode) with a preset (or alternatively, desired or determined) first threshold. The decision model 122 may update the motion count value based on the comparison result between the comparison data CD corresponding to each of the plurality of sub-regions and the first threshold. For example, referring to the above example, when the visual sensor operates in the first monitoring mode, the comparison data CD is data based on the result of comparing the first probability data with the second probability data, and when the movement of the object is relatively large, the comparison data CD may have a value greater than the preset (or alternatively, desired or determined) first threshold. When the comparison data CD is greater than the first threshold, the processor 120 may increase (update) the motion count value. On the contrary, when the comparison data CD is less than the first threshold, the processor 120 may not update the motion count value. The first threshold is a value that may be a reference for updating the motion count value, and may be, for example, a preset (or alternatively, desired or determined) value or a value set by a user.
[0114] The processor 120 may use the decision model 122 to store the updated or non-updated motion count value in the memory 520, and may retrieve the stored motion count value from the memory 520. For example, when the comparison data CD is equal to or greater than the first threshold value, the motion count value may be updated, and the updated motion count value may be stored in the memory 520. Then, the processor 120 may retrieve the updated motion count value stored in the memory 520.
[0115] The processor 120 according to the inventive concept may repeatedly perform the operation of comparing the above-mentioned comparison data CD with the first threshold value for a plurality of comparison data CD respectively corresponding to a plurality of sub-regions. Figure 5 , the processor 120 may use the probability calculation model 121 to generate probability data based on the event data ED corresponding to the first sub-region SR1, and generate comparison data CD corresponding to the first sub-region SR1 by comparing the probability data with the reference data. Thereafter, the processor 120 may use the decision model 122 to compare the comparison data CD with the first threshold value, and may or may not update the motion count value based on the comparison result. The above processing may be performed based on the event data ED corresponding to the second sub-region SR2, and similarly, the above processing may be performed based on multiple event data ED corresponding to the third sub-region SR3 to the twenty-fifth sub-region SR25, respectively. When the processor 120 performs the above processing based on the multiple event data ED corresponding to the first sub-region SR1 to the twenty-fifth sub-region SR25, respectively, the motion count value may be updated or not. For example, referring to Figure 5 , can be respectively Figure 5 The comparison data CD corresponding to the plurality of sub-regions SR1 to SR25 is used to determine whether to update the motion count value. As a result, 25 determinations may be performed. Through the above process, the motion count value finally generated based on the event occurring during one sampling time may be referred to as an updated motion count value (or a final motion count value). For example, referring to Figure 5 , the comparison data CD corresponding to each of the first sub-region SR1, the fifth sub-region SR5 and the tenth sub-region SR10 among the comparison data CD corresponding to the multiple sub-regions SR1 to SR25 respectively is greater than the first threshold, and the processor 120 can generate an updated motion count value by updating the motion count value three times.
[0116] Processor 120 may use decision model 122 to determine whether the object has moved by comparing the final motion count value with a preset (or alternatively, expected or determined) second threshold. That is, processor 120 may determine whether an event occurring in response to a change in light intensity is noise or caused by the operation of an actual object. For example, referring to Figure 5 , when the movement of the object is relatively large, the comparison data CD greater than or equal to the first threshold value among the 25 comparison data CD corresponding to the plurality of sub-regions SR1 to SR25, respectively, may be more than when the movement of the object is relatively small. Therefore, the initial motion count value may be updated (e.g., increased) by the number of comparison data equal to or greater than the first threshold value, so that the final motion count value may be greater than the second threshold value. The processor 120 may determine that there is movement of the object based on the result of comparing the final motion count value with the second threshold value, and generate a motion signal MS. The visual sensor may convert the operating mode from the monitoring mode to the active mode based on the generated motion signal MS. The second threshold value is a value that may be a reference for determining whether the object moves, and may be, for example, a preset (or alternatively, an expected or determined) value or a value set by a user.
[0117] As described above, the processor 120 according to the inventive concept can generate a motion signal MS by determining whether various conditions are satisfied based on the event data ED. The conditions for generating the motion signal MS according to the inventive concept may be referred to as motion conditions, and the motion conditions in the first monitoring mode and the motion conditions in the second monitoring mode may be different from each other.
[0118] Figure 7 is a diagram for explaining event data according to some example embodiments.
[0119] Figure 7 Shown respectively with Figure 5 There are multiple time slots SL1 to SL25 corresponding to the multiple sub-areas SR1 to SR25.
[0120] The plurality of time slots SL1 to SL25 visually represent reception of event data corresponding to the sub-regions SR1 to SR25, respectively, during the sampling time T, and the sub-regions SR1 to SR25 correspond to the plurality of time slots SL1 to SL25, respectively. For example, the first time slot SL1 represents event data generated for pixels that detect a change in light among pixels included in the first sub-region SR1, in units of the sampling time T. For ease of explanation, only some time slots are described, for example, time slots SL1, SL5, SL21, and SL25 are described, but the following description can be applied to the same Figure 7 other time slots.
[0121] Figure 7 The number of the plurality of time slots SL1 to SL25 and the sampling time T are examples for convenience of explanation, and the inventive concept is not limited thereto.
[0122] Figure 8 is a diagram for explaining probability data according to some example embodiments.
[0123] Figure 8 It is shown that during the sampling time T, Figure 1 The processor 120 receives the Figure 7 The first time slot SL1 and Figure 5 For ease of description, only the first time slot SL1 is described, but the following description can be applied to Figure 7 The remaining time slots SL2 to SL25.
[0124] Reference Figure 8 , generating first event data ED1 and second event data ED2 to correspond to the data included in Figure 5 Two events detected at different times by the same pixel in the first sub-region SR1.
[0125] Reference Figure 8 , generating second event data ED2 and third event data ED3 to correspond to the data included in Figure 5 Two events detected at the same time by different pixels in the first sub-region SR1.
[0126] Referring to the above description, Fig. 6A The processor 120 may count the number of event data included in the first time slot SL1 and obtain probability data corresponding to the first sub-region SR1 by using the probability calculation model 121. Alternatively, the probability data may be generated by a method of classifying the event data included in the first time slot SL1 according to polarity, applying weights, or other similar methods.
[0127] Figure 8The polarity of the event data included in the first time slot SL1 is not shown, but the event data included in one time slot according to the inventive concept may indicate polarity. For example, event data based on an event that has occurred when the intensity of light increases and event data based on an event that has occurred when the intensity of light decreases may have different polarities and may be expressed differently.
[0128] Fig. 9 is a flow chart illustrating a method of operating a vision sensor according to some example embodiments.
[0129] In operation S10, the visual sensor may operate in a monitoring mode. The monitoring mode is a mode that consumes less power than in an active mode. For example, the visual sensor may perform a readout operation on all pixels included in a pixel array when operating in an active mode, but may read out pixels in a binning method such as 2×2, 3×3, 4×4, etc. in the monitoring mode. Therefore, the visual sensor consumes less power when operating in the monitoring mode than when operating in the active mode. In addition to the above examples, the power consumed by the visual sensor in the monitoring mode may be less than the power consumed in the active mode through various methods (such as a method of operating a clock signal at a lower frequency in the monitoring mode than in the active mode).
[0130] According to some example embodiments, the visual sensor may start operating in a sleep mode. Unlike the visual sensor detecting movement of an object with low power in a monitoring mode, the visual sensor may not detect movement of an object in the sleep mode. The visual sensor may switch from the sleep mode to the monitoring mode to detect movement of an object.
[0131] In operation S20, the visual sensor may detect movement of the object. As described above, the visual sensor may operate in a monitoring mode in which an event is generated in response to a change in light intensity and event data is generated based on the generated event.
[0132] In operation S30, the visual sensor may determine whether the motion condition is satisfied. For example, a processor included in the visual sensor may determine whether the motion condition is satisfied based on the generated event data. Determining whether the motion condition is satisfied may be performed by a processor included in the visual sensor, but is not limited thereto, and may be performed by an external processor. As described above, the motion condition may represent a condition for determining whether there is movement of an object (i.e., a condition for generating a motion signal).
[0133] As described above, the occurrence of an event may be caused by a change in light intensity. However, in addition to the change in light intensity according to the movement of the object to be detected by the visual sensor, the event may occur due to the jitter of the visual sensor itself or environmental factors, and as a result, unnecessary detection processing may be performed. Therefore, the motion condition may be a preset (or alternatively, expected or determined) condition so as not to perform unnecessary detection processing by distinguishing an event caused by the jitter of the visual sensor itself from an event caused by the movement of a real object. The specific motion condition according to the inventive concept is repeated with the description given above and below, and therefore its description is omitted.
[0134] The vision sensor may remain in the surveillance mode when the motion condition is not satisfied, operate in the surveillance mode, and detect movement of the object.
[0135] In operation S40, the visual sensor may operate in an active mode. When a motion condition is satisfied, the visual sensor may generate a motion signal and operate in the active mode by converting a mode from a monitoring mode to an active mode.
[0136] According to some example embodiments, the monitoring mode may include a first monitoring mode and a second monitoring mode. The operation of the visual sensor to convert the operation mode from the monitoring mode to the active mode may include an operation to convert the operation mode from the first monitoring mode to the active mode and an operation to convert the operation mode from the second monitoring mode to the active mode.
[0137] In the following, reference is made to Figures 10 to 13 The operating method of the vision sensor according to the inventive concept is described with respect to motion conditions.
[0138] Fig.10 is a flow chart illustrating a method of operating a vision sensor according to some example embodiments.
[0139] For example, Fig.10 The flowchart shows a method for determining whether an object moves in a first monitoring mode performed by a visual sensor including a processor. Figures 1 to 9 describe Fig.10 , and its redundant description can be omitted.
[0140] In operation S100 , the vision sensor may generate a plurality of pieces of event data corresponding to pixels in which an event has occurred.
[0141] In operation S200, the vision sensor may generate first probability data based on a plurality of pieces of event data based on events occurring during a first sampling time. As described above, the first sampling time may be differently set according to an environment photographed by the vision sensor.
[0142] In operation S300, the visual sensor may generate comparison data based on a difference between the first probability data and the preset (or alternatively, expected or determined) reference data by comparing the first probability data with the preset (or alternatively, expected or determined) reference data. When the visual sensor operates in the first monitoring mode, the reference data may be second probability data generated by the visual sensor based on a plurality of events generated during a second sampling time temporally prior to the first sampling time, and when the visual sensor operates in the second monitoring mode, the reference data may be a preset (or alternatively, expected or determined) threshold value.
[0143] In operations S400, S500, and S600, the visual sensor may determine whether to update the motion count value by comparing the comparison data with a preset (or alternatively, expected or determined) first threshold value. For example, when the comparison data is greater than the first threshold value, the visual sensor may increase the motion count value. On the contrary, when the comparison data is equal to or less than the first threshold value, the visual sensor may maintain the current motion count value without updating the current motion count value. Here, the first threshold value is a preset (or alternatively, expected or determined) value, and may be a value related to the sensitivity of the movement change. For example, when the first threshold value is relatively large, even when the difference between the first probability data and the reference data is large, the motion count value may not be updated, and therefore, even when the movement change is relatively large, the motion count value is not updated for a relatively large movement, and the visual sensor may determine that there is no movement of the object. The visual sensor may update or not update the motion count by comparing the comparison data with the first threshold value, thereby generating an updated motion count value (or final motion count value).
[0144] In operations S700, S800, and S900, the visual sensor may determine whether the object moves by comparing the final motion count value with a preset (or alternatively, expected or determined) second threshold value. For example, when the final motion count value is equal to or greater than the preset (or alternatively, expected or determined) second threshold value, the visual sensor may determine that there is movement of the object and generate a motion signal.
[0145] The visual sensor according to the inventive concept may repeatedly perform the above process in units of sampling time. Therefore, the visual sensor according to the inventive concept may determine whether the object moves at each of a plurality of consecutive sampling times. In the first monitoring mode according to the inventive concept, the processor may initialize the final motion count value after determining whether the object moves based on the final motion count value, which is generated based on event data generated during one sampling time. .
[0146] Fig.11 is a flow chart illustrating a method of operating a visual sensor according to some example embodiments. For example, Fig.11The flowchart shows a method of operating a visual sensor including a processor in a first monitoring mode. Fig.10 describe Fig.11 , and descriptions and references to operations other than operations S410 and S610 Fig.10 The operations described are repetitive and therefore omitted.
[0147] In operation S410, the visual sensor may compare the comparison data corresponding to a sub-region with a preset (or alternatively, expected or determined) first threshold. As described above, the comparison data corresponding to a sub-region is the difference between the first probability data corresponding to a sub-region and the reference data.
[0148] In operation S610, the visual sensor may determine whether each of the plurality of comparison data respectively corresponding to the plurality of sub-areas has been compared with the first threshold value. Therefore, the visual sensor may determine whether all the plurality of comparison data respectively corresponding to the plurality of sub-areas generated during the first sampling time have been compared with the first threshold value, and when it is determined that each of the plurality of comparison data corresponding to each of the plurality of sub-areas has been compared with the first threshold value, the visual sensor may perform operation S700, and when there is comparison data that has not been compared with the first threshold value among the plurality of comparison data, the visual sensor may repeat operations S410, S500, and S600 until all the plurality of comparison data respectively corresponding to the plurality of sub-areas have been compared with the first threshold value.
[0149] For example, refer to Figure 5 , the visual sensor may determine whether to update the motion count value by comparing the comparison data with the first threshold value, the comparison data being generated based on the result of comparing the first probability data corresponding to the first sub-region SR1 with the reference data, and because the comparison data corresponding to each of the plurality of sub-regions includes comparison data that has not been compared with the first threshold value (e.g., the comparison data corresponding to each of the second sub-region SR2 to the twenty-fifth sub-region SR25), the visual sensor may repeat the above-mentioned comparison operations S410, S500, and S600 for the comparison data corresponding to the second sub-region SR2 to the comparison data corresponding to the twenty-fifth sub-region SR25. The visual sensor may generate an updated motion count value (or a final motion count value) based on the result of comparing each of the plurality of comparison data corresponding to each of the plurality of sub-regions SR2 to SR25 with the first threshold value, and compare the generated final motion count value with a preset (or alternatively, expected or determined) second threshold value (see operation S700). The visual sensor may compare the second threshold value with the updated motion count value, generate a motion signal when determining that there is movement of the object, and convert the operation mode from the monitoring mode to the active mode based on the motion signal.
[0150] Fig.12 is a flow chart illustrating a method of operating a visual sensor according to some example embodiments. For example, Fig.12 The flowchart shows a method of operating a visual sensor including a processor in a first monitoring mode and describes the Fig.11 Compared with the added operations S620 and S630. Fig.10 and Fig.11 describe Fig.12 , description and reference of operations other than operations S620 and S630 Fig.10 and Fig.11 The operations described are repetitive and therefore omitted.
[0151] In operation S620, the visual sensor may determine whether the number of updates is greater than or equal to a preset (or alternatively, expected or determined) mode conversion coefficient, and based on the determination, in operation S630, the visual sensor may convert the operation mode from the first monitoring mode to the second monitoring mode. For example, the visual sensor may operate in the first monitoring mode, compare the number of times the motion count value is updated through operations S410 to S610 with a preset (or alternatively, expected or determined) mode conversion coefficient, and convert the operation mode from the first monitoring mode to the second monitoring mode when the number of updates is greater than or equal to the mode conversion coefficient.
[0152] The first monitoring mode according to the inventive concept may refer to a mode in which the visual sensor captures the image in the same Figure 2 The visual sensor may be operated when there is no continuous movement in the entire area of the frame corresponding to the area of the pixel array 111, and the second monitoring mode may refer to a mode in which the visual sensor operates when shooting an environment in which there is continuous movement in the entire frame. For example, the environment in which there is continuous movement in the entire frame may be a snowing environment. In a snowing environment, the visual sensor may determine that there is continuous motion in the entire area of the frame. However, the snow may not correspond to an object that the user of the visual sensor wants to detect, and the event caused by the movement of the snow may correspond to noise. Because the movement occurs in the entire area of the frame and the event occurs in the snowing environment, the number of comparison data equal to or greater than the first threshold value among the comparison data corresponding to each of the multiple sub-areas may be greater than or equal to a preset (or alternatively, expected or determined) mode conversion coefficient, and the visual sensor may change the operating mode from the first monitoring mode to the second monitoring mode.
[0153] As described above, the visual sensor according to the inventive concept can switch the operation mode from the first monitoring mode to the second monitoring mode, and switch the operation mode from the second monitoring mode to the first monitoring mode again according to a preset (or alternatively, expected or determined) time. The preset (or alternatively, expected or determined) time can be set by the user. Fig.12 , only the conversion of the operation mode from the first monitoring mode to the second monitoring mode is described, but the visual sensor can operate in the second monitoring mode from the beginning according to the user's setting.
[0154] Fig.13 is a flow chart illustrating a method of operating a visual sensor according to some example embodiments. For example, Fig.13 The flowchart shows a method of determining whether an object moves in a second monitoring mode performed by a visual sensor including a processor, and illustrates the method of determining whether an object moves in a second monitoring mode. Fig.11 Compared with the added operations S420, S430 and S440. Fig.11 and Fig.12 describe Fig.13 , and descriptions and references to operations other than operations S420, S430, and S440 Fig.10 and Fig.11 The operations described are repetitive and therefore omitted.
[0155] Fig.13 The operation method of the visual sensor shown in the figure may be based on Fig.12 Operations S620 and S630 are performed to convert the operation mode of the vision sensor from the first monitoring mode to the second monitoring mode.
[0156] In operation S420, the visual sensor may determine whether to update the exclusion coefficient corresponding to one sub-region based on the result of comparing the comparison data corresponding to one sub-region with the first threshold value in operation S410. In operation S430, the visual sensor may update the exclusion coefficient according to the result of determining whether to update the exclusion coefficient in operation S420. Here, the exclusion coefficient is a coefficient indicating the degree to which an event has occurred continuously by at least one pixel included in the sub-region corresponding thereto. As a plurality of continuous sampling times are repeated, the exclusion coefficient corresponding to each of the plurality of sub-regions may be continuously updated. For example, referring to Figure 5, the initial exclusion coefficient corresponding to the first sub-region SR1 may be 1, and when the comparison data based on the result of comparing the first probability data corresponding to the first sub-region SR1 generated based on the plurality of event data generated during the first sampling time with the third threshold value (reference data in the second monitoring mode) is equal to or greater than the first threshold value, the visual sensor may increase the exclusion coefficient corresponding to the first sub-region SR1 (for example, update the exclusion coefficient to 2). When the comparison data based on the result of comparing the first probability data corresponding to the first sub-region SR1 generated based on the plurality of event data generated during the second sampling time after the first sampling time in time with the third threshold value (the above-mentioned reference data) is equal to or greater than the first threshold value, the visual sensor may increase the exclusion coefficient corresponding to the first sub-region SR1 again (for example, update the exclusion coefficient to 3). The time of the first sampling time may be the same as the time of the second sampling time. The third threshold value is a value that may be a reference for determining the degree of occurrence of the event, and may be, for example, a preset (or alternatively, an expected or determined) value or a value set by the user. The exclusion coefficient may be updated or maintained according to the repetition of the above process, and the latest exclusion coefficient determined according to the latest update may be referred to as an updated exclusion coefficient (or a final exclusion coefficient).
[0157] With reference to the above example, with respect to a sub-region in which an event has occurred continuously, the exclusion coefficient corresponding to the sub-region may be continuously updated. As a result, an event occurring in a sub-region in which an event has occurred continuously may be determined as noise and excluded when determining whether an object moves. Therefore, when the visual sensor wants to detect the movement of an object in a snowy environment, a sub-region in which an event caused by continuous movement (movement of snow) has occurred among a plurality of sub-regions may be determined as an exclusion region, and a sub-region not determined as an exclusion region may be determined as a valid region. The visual sensor may determine whether to update the motion count based on the comparison data corresponding to each sub-region included in the valid region, thereby preventing or reducing the determination of movement caused by unnecessary events (events occurring in response to the movement of snow). The exclusion region and the valid region are described below with reference to operation S440.
[0158] The updated exclusion coefficient according to the inventive concept may be a value between a preset (or, alternatively, desired or determined) upper limit and a lower limit. The upper limit and the lower limit are preset (or, alternatively, desired or determined) values so that the exclusion coefficient has a value within an appropriate range for determining continuous movement, and may also be set by a user.
[0159] When the exclusion coefficient corresponding to each of the plurality of sub-regions is updated only according to the comparison result of the comparison data and the first threshold, the sub-region once determined as the exclusion region may not be included in the valid region. Therefore, in order to prevent or reduce this problem, the processor according to the inventive concept may reset the updated exclusion coefficient corresponding to each of the plurality of sub-regions at a preset (or alternatively, expected or determined) cycle. In one embodiment, each of the updated multiple exclusion coefficients corresponding to the plurality of sub-regions may be reset to a value (e.g., a preset value) every other cycle. When the occurrence of continuous events disappears in the sub-region determined as the exclusion region, the sub-region may be prevented or reduced from being continuously determined as the exclusion region by resetting the exclusion coefficient. The preset (or alternatively, expected or determined) cycle may be a times the sampling time, and a may be an integer greater than 1. The step of resetting the exclusion coefficient may include updating the exclusion coefficient in reverse. Here, the reverse update means an update opposite to the above-mentioned updating of the exclusion coefficient. For example, when updating the exclusion coefficient means increasing the exclusion coefficient, the reverse update may mean reducing the exclusion coefficient. For example, according to some example embodiments, the accuracy of motion detection, power consumption reduction, and noise removal may be improved based on the above method. Thus, the improved apparatus and method overcomes the deficiencies of conventional apparatus and methods with respect to motion detection and noise removal, while reducing resource consumption and increasing data clarity. For example, by using the disclosed method, the visual sensor 110 may require fewer resources (such as memory access and / or power) to drive the circuit system to make a determination that an event has occurred.
[0160] In operation S440, the visual sensor may compare the final exclusion coefficient with a preset (or alternatively, expected or determined) fourth threshold value. In operation S500, the visual sensor may determine whether to update the motion count value based on the comparison result in operation S440 and the comparison result operation S410. When the final exclusion coefficient corresponding to one sub-region is equal to or greater than the fourth threshold value, the visual sensor may maintain the motion count value without updating the motion count value even when the comparison data corresponding to one sub-region is greater than the first threshold value (the comparison result in operation S410). For example, referring to Figure 5In operation S500, when the final exclusion coefficient corresponding to the first sub-region SR1 is equal to or less than the fourth threshold value (in this case, the first sub-region SR1 is a valid region), and when the comparison data corresponding to the first sub-region SR1 is equal to or greater than the first threshold value, the visual sensor may increase the motion count value. However, when the final exclusion coefficient corresponding to the first sub-region SR1 exceeds the fourth threshold value (in this case, the first sub-region SR1 is an exclusion region), and when the comparison data corresponding to the first sub-region SR1 is less than the first threshold value, the visual sensor may maintain the motion count value without updating the motion count value. The fourth threshold value is a value that may be a reference for determining a sub-region in which an event has continuously occurred, and may be a preset (or alternatively, a desired or determined) value or a value set by a user.
[0161] By adding operations S420, S430 and S440, when determining whether to update the motion count, the visual sensor can exclude event data corresponding to a sub-region in which an event has occurred continuously among multiple sub-regions. Therefore, in the second monitoring mode, the visual sensor can exclude the sub-region in which an event has occurred continuously.
[0162] As described above, among a plurality of sub-areas, an area including a sub-area other than a sub-area (exclusion area) in which an event has occurred continuously may be referred to as a valid area. The valid area and the exclusion area may be set based on the result of comparing the updated exclusion coefficient corresponding to each of the plurality of sub-areas with the fourth threshold. As described above, the visual sensor operating in the second monitoring mode according to the inventive concept may divide the plurality of sub-areas into exclusion areas and valid areas, and update the motion count value based on the comparison data corresponding to the sub-area included in the set valid area. Then, when in the first monitoring mode, the visual sensor may generate a motion signal based on the result of comparing the updated motion count value with the second threshold.
[0163] The operating method of the visual sensor according to the inventive concept may also be applied to the operating method of the image sensor. For example, the image sensor may generate a frame for each frame period, and generate a difference between pixel values corresponding to the same area in two or more consecutive frames. Here, the pixel value may be a value based on a pixel signal generated from each of a plurality of pixels included in the image sensor, and the difference between the pixel values corresponding to the same area may correspond to the above-mentioned event data.
[0164] Fig.14 is a block diagram illustrating an electronic device to which a vision sensor is applied according to some example embodiments.
[0165] Reference Fig.14, the electronic device 1000 may include a visual sensor 1100, a main processor 1200, a working memory 1300, a storage device 1400, a display device 1500, a communicator 1600, and a user interface 1700. The visual sensor 1100 may be the above reference Figure 1 and Figure 2 A vision sensor 100 is described.
[0166] The visual sensor 1100 can generate event data (e.g., Figure 1 and Figure 2 The main processor 1200 may control the overall operation of the electronic device 1000 and process the event data ED received from the visual sensor 1100 to detect the movement of the object. For example, the main processor 1200 may perform operations such as whether to update the motion count value, whether to update the exclusion coefficient, and compare each of the multiple data with the above-mentioned preset (or alternatively, expected or determined) threshold value, and determine whether the object moves according to the above operations.
[0167] The working memory 1300 may store data used in the operation of the electronic device 1000. For example, the working memory 1300 may temporarily store packets or frames processed by the processor 1200. For example, the working memory 1300 may include a volatile memory (such as a dynamic RAM (DRAM), a synchronous DRAM (SDRAM), etc.) and / or a nonvolatile memory (such as a phase change RAM (PRAM), a magnetoresistive RAM (MRAM), a resistive RAM (ReRAM), a ferroelectric RAM (FRAM), etc.).
[0168] The memory device 1400 may store data requested to be stored from the main processor 1200 or other components. The memory device 1400 may include a nonvolatile memory such as a flash memory, a PRAM, an MRAM, a ReRAM, a FRAM, etc.
[0169] The display device 1500 may include a display panel, a display driving circuit, and a display serial interface (DSI). For example, the display panel may be implemented by using various devices such as a liquid crystal display (LCD) device, a light emitting diode (LED) display device, an organic LED (OLED) display device, an active matrix OLED (AMOLED) display device, etc. The display driving circuit may include a timing controller, a source driver, etc. required to drive the display panel. The DSI host built into the main processor 1200 may perform serial communication with the display panel via the DSI.
[0170] The communicator 1600 may exchange signals with an external device / system via an antenna 1630. The transceiver 1610 and the modem (modulator / demodulator) 1620 of the communicator 1600 may process signals exchanged with an external device / system according to wireless communication rules such as Long Term Evolution (LTE), Worldwide Interoperability for Microwave Access (WIMAX), Global System for Mobile Communications (GSM), Code Division Multiple Access (CDMA), Bluetooth, Near Field Communication (NFC), Wireless Fidelity (Wi-Fi), Radio Frequency Identification (RFID), etc.
[0171] The user interface 1700 may include at least one of a keyboard, a mouse, a keypad, a button, a touch panel, a touch screen, a touch pad, a touch ball, a gyro sensor, a vibration sensor, an acceleration sensor, and the like.
[0172] Components of the electronic device 1000 (e.g., a visual sensor 1100, a main processor 1200, a working memory 1300, a storage device 1400, a display device 1500, a communicator 1600, and a user interface 1700) can exchange data based on one or more of various interface rules (such as, Universal Serial Bus (USB), Small Computer System Interface (SCSI), MIPI, I2C, Peripheral Component Interconnect Express (PCIe), Mobile PCIe (M-PCIe), Advanced Technology Attachment (ATA), Parallel ATA (PATA), Serial ATA (SATA), Serial Attached SCSI (SAS), Integrated Drive Electronics (IDE), Enhanced IDE (EIDE), Non-Volatile Memory Express (NVMe), Universal Flash Storage (UFS), etc.).
[0173] As described herein, any electronic device and / or portion thereof according to any example embodiment may include one or more instances of a processing circuit system (such as hardware including logic circuits; a hardware / software combination (such as a processor executing software); or any combination thereof), may be included in one or more instances of the processing circuit system, and / or may be implemented by one or more instances of the processing circuit system. For example, the processing circuit system may more specifically include, but is not limited to, a central processing unit (CPU), an arithmetic logic unit (ALU), a graphics processor (GPU), an application processor (AP), a digital signal processor (DSP), a microcomputer, a field programmable gate array (FPGA) and a programmable logic unit, a microprocessor, an application specific integrated circuit (ASIC), a neural network processor (NPU), an electronic control unit (ECU), an image signal processor (ISP), etc. In some example embodiments, the processing circuit system may include a non-transitory computer-readable storage device (e.g., a memory) storing a program of instructions (e.g., a DRAM device), and a processor (e.g., a CPU) configured to execute the program of instructions to implement the functions and / or methods performed by some or all of any device, system, module, unit, controller, circuit, architecture, and / or its components and / or any portion thereof according to any example embodiment.
[0174] While the inventive concept has been particularly shown and described with reference to embodiments thereof, it will be understood that various changes in form and details may be made therein without departing from the spirit and scope of the appended claims.
Claims
1. Visual sensor, include: A pixel array comprising a plurality of pixels arranged in a matrix form; an event detection circuit configured to detect whether an event has occurred in each of the plurality of pixels during a first sampling time, and to generate a plurality of pieces of first event data respectively corresponding to the pixels in which the event has occurred; as well as A processor is configured to receive the plurality of first event data and generate a motion signal based on the plurality of first event data and reference data.
2. The visual sensor according to claim 1, in, The processor is configured to switch an operating mode of the vision sensor from a monitoring mode to an active mode based on the motion signal.
3. The visual sensor according to claim 1, wherein The event detection circuit is configured to detect whether an event has occurred in each of the plurality of pixels during a second sampling time temporally preceding the first sampling time, and generate a plurality of pieces of second event data respectively corresponding to the pixels in which the event has occurred, and The reference data is based on the plurality of pieces of second event data.
4. The visual sensor according to claim 3, in, The time of the first sampling time is equal to the time of the second sampling time.
5. The visual sensor according to claim 3, in, The processor is configured to: generate first probability data based on the multiple first event data, generate second probability data corresponding to the reference data based on the multiple second event data, generate comparison data based on the difference between the first probability data and the second probability data, and generate a motion signal based on the result of comparing the comparison data with a first threshold.
6. The visual sensor according to claim 5, wherein The pixel array includes a plurality of sub-areas, each of which includes at least one pixel. The first probability data and the second probability data correspond to the same sub-region, and The processor is configured to: generate multiple comparison data corresponding to the multiple sub-areas respectively, update the motion count value based on the result of comparing each of the multiple comparison data with the first threshold, and generate a motion signal based on the result of comparing the updated motion count value with the second threshold.
7. The visual sensor according to claim 1, wherein The pixel array includes a plurality of sub-areas, each of which includes at least one pixel. The reference data is a third threshold value, and The processor is configured as: generating a plurality of first probability data respectively corresponding to the plurality of sub-areas based on the plurality of first event data; comparing each of the plurality of first probability data with a third threshold value corresponding to the reference data, generating a plurality of comparison data corresponding to the plurality of sub-regions respectively, updating a plurality of exclusion coefficients respectively corresponding to the plurality of sub-regions based on the plurality of comparison data, and The effective area is set based on a result of comparing each of the updated plurality of exclusion coefficients with a fourth threshold value.
8. The visual sensor according to claim 7, wherein The effective area includes at least one sub-area, and The processor is configured to generate a motion signal based on at least one piece of comparison data corresponding to the at least one sub-region included in the effective region.
9. The visual sensor according to claim 8, in, The processor is configured to update the motion count value based on a result of comparing the at least one comparison data corresponding to the at least one sub-region included in the valid region with a first threshold, and generate a motion signal based on a result of comparing the updated motion count value with a second threshold.
10. The visual sensor according to any one of claims 7 to 9, in, The processor is configured to reset each of the updated exclusion coefficients respectively corresponding to the sub-regions to a value every other cycle.
11. A method for operating a visual sensor, the visual sensor comprising a pixel array, the pixel array comprising a plurality of pixels, the operating method include: generating a plurality of pieces of first event data respectively corresponding to pixels among the plurality of pixels in which an event has occurred during a first sampling time; generating first probability data based on the plurality of first event data based on events occurring during a first sampling time; generating comparison data based on a difference between the first probability data and the reference data by comparing the first probability data with the reference data; determining whether to update the motion count value by comparing the comparison data with a first threshold; as well as A motion signal is generated based on a result of comparing a final motion count value with a second threshold, the final motion count value being generated by determining whether to update the motion count value.
12. The operating method according to claim 11, in, The step of determining whether to update the motion count value further includes determining the operation mode of the vision sensor by comparing the number of updates of the motion count value with a mode conversion coefficient.
13. The operating method according to claim 11, further comprising: include: generating a plurality of pieces of second event data respectively corresponding to pixels among the plurality of pixels in which an event has occurred during a second sampling time temporally preceding the first sampling time; generating second probability data based on the plurality of pieces of second event data based on events occurring during a second sampling time temporally preceding the first sampling time; The reference data is second probability data.
14. The operating method according to claim 13, wherein The pixel array includes a plurality of sub-regions, each sub-region includes at least one pixel, and the first probability data and the second probability data correspond to the same sub-region, and Steps to Generate Comparison Data include: A plurality of pieces of comparison data respectively corresponding to the plurality of sub-regions are generated.
15. The operating method according to claim 14, in, The step of determining whether to update the motion count value includes updating the motion count value based on a result of comparing each of the plurality of pieces of comparison data with a first threshold value.
16. The operating method according to claim 11, wherein The pixel array includes a plurality of sub-areas, each of which includes at least one pixel. Steps for generating first probability data include: generating a plurality of first probability data respectively corresponding to the plurality of sub-areas based on the plurality of first event data; The step of generating comparison data comprises: generating a plurality of comparison data respectively corresponding to the plurality of sub-areas by comparing each of the plurality of first probability data respectively corresponding to the plurality of sub-areas with a third threshold value corresponding to the reference data, and The steps of determining whether to update the motion count value include: determining whether to update a plurality of exclusion coefficients respectively corresponding to the plurality of sub-regions based on the plurality of pieces of comparison data respectively corresponding to the plurality of sub-regions; and The effective area is set based on a plurality of final exclusion coefficients respectively corresponding to the plurality of sub-areas, the plurality of final exclusion coefficients respectively corresponding to the plurality of sub-areas being generated by determining whether to update the plurality of exclusion coefficients.
17. The operating method according to claim 16, wherein The effective area includes at least one sub-area, and To determine whether to update the motion count value include: Whether to update the motion count value is determined by comparing comparison data corresponding to at least one sub-region included in the valid region with a first threshold value.
18. The operating method according to claim 16 or 17, further comprising: include: Each of the plurality of final exclusion coefficients respectively corresponding to the plurality of sub-regions is reset to a value every other cycle.
19. The operating method according to claim 18, in, The period is N times the first sampling time, and N is an integer greater than or equal to 1.
20. An image processing device for photographing an object, the image processing device include: a visual sensor configured to generate a plurality of pieces of event data respectively corresponding to pixels in which an event has occurred among a plurality of pixels; as well as a processor configured to determine whether the object moves based on the plurality of pieces of event data, Vision sensors include: a pixel array comprising the plurality of pixels; as well as an event detection circuit configured to detect whether an event has occurred in each of the plurality of pixels, and generate the plurality of pieces of event data respectively corresponding to the pixels in which the event has occurred, and The processor is configured as: generating first probability data based on event data received during a first sampling time, generating second probability data based on event data received during a second sampling time that is temporally continuous with the first sampling time by using a probability calculation model, generating a final motion count value based on the first probability data and the second probability data, and Whether the object has moved is determined by comparing the final motion count value to a second threshold.
