Sensor synchronization control method, image sensor and readable storage medium

By dividing the master-slave system in a multi-image sensor system and using the synchronization control signal triggered by the master image sensor for synchronous imaging control, the problem of poor synchronization stability under bus control is solved and high-stability multi-image sensor synchronization control is achieved.

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

Patent Information

Application Number
CN202211274247.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-18
Publication Date
2024-10-25
Estimated Expiration
2042-10-18

AI Technical Summary

Technical Problem

In multi-image sensor application scenarios, when bus control is used to achieve synchronous imaging control, there is a problem of poor synchronization stability, making it difficult to ensure stable synchronous imaging and stop imaging of multiple image sensors.

Method used

By performing a master-slave division between the master image sensor and the slave image sensor, the master image sensor sends a synchronous imaging signal according to the imaging control signal, and sends a synchronous stop imaging signal at the end of the preset imaging cycle to instruct the slave image sensor to perform the corresponding operation. Achieve synchronous control.

Benefits of technology

It minimizes the impact of control signal transmission delay and improves the stability of synchronous control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115734066B_ABST
    Figure CN115734066B_ABST
Patent Text Reader

Abstract

The present application provides a sensor synchronization control method, an image sensor, and a readable storage medium, the sensor synchronization control method comprising: the master image sensor sends a synchronization imaging signal to the slave image sensor according to the imaging control signal; the master image sensor and the slave image sensor simultaneously perform imaging operations according to the synchronization imaging signal; the master image sensor stops the imaging operation at the end of a preset imaging cycle, and sends a synchronization stop imaging signal to the slave image sensor, instructing the slave image sensor to stop the imaging operation at the same time. Through the implementation of the scheme of the present application, multiple image sensors are divided into master and slave, and the synchronization control signal triggered by the master image sensor performs the synchronization imaging control of the multiple image sensors, which can minimize the influence of the control signal transmission delay, and the stability of the synchronization control is high.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of image sensors, and in particular to a sensor synchronization control method, an image sensor, and a readable storage medium. Background Art

[0002] With the continuous development of science and technology, the application of image sensors is becoming more and more extensive. At present, a single image sensor can no longer meet complex imaging needs, and multi-image sensor technology has emerged.

[0003] In the application scenario of multiple image sensors, multiple image sensors usually have the need for synchronous imaging control. The relevant technology currently uses bus control to achieve this, that is, the control bus sends start imaging instructions and stop imaging instructions to multiple image sensors at the same time to achieve synchronous control of multiple image sensors. However, there is usually a transmission delay in the process of the control bus transmitting signals to the image sensor, making it difficult to ensure that multiple image sensors can stably achieve synchronous imaging and stop imaging. Summary of the invention

[0004] The embodiments of the present application provide a sensor synchronization control method, an image sensor, and a readable storage medium, which can at least solve the problem of poor synchronization stability in the related art of using a bus to perform synchronous imaging control on multiple image sensors.

[0005] A first aspect of an embodiment of the present application provides a sensor synchronization control method, which is applied to a main image sensor, including:

[0006] Sending a synchronous imaging signal to the slave image sensor according to the imaging control signal; wherein the synchronous imaging signal is used to instruct the slave image sensor to perform an imaging operation;

[0007] performing an imaging operation according to the synchronous imaging signal;

[0008] When a preset imaging cycle ends, the imaging operation is stopped, and a synchronous imaging stop signal is sent to the slave image sensor; wherein the imaging cycle includes at least one frame cycle, and the synchronous imaging stop signal is used to instruct the slave image sensor to stop the imaging operation.

[0009] A second aspect of an embodiment of the present application provides a sensor synchronization control method, which is applied to a slave image sensor, comprising:

[0010] Performing an imaging operation according to a synchronous imaging signal sent by a main image sensor;

[0011] Receiving a synchronous stop imaging signal sent by the main image sensor at the end of a preset imaging cycle; wherein the imaging cycle includes at least one frame cycle of the main image sensor;

[0012] The imaging operation is stopped according to the synchronous imaging stop signal.

[0013] A third aspect of an embodiment of the present application provides an image sensor, comprising: a memory and a processor, wherein the processor is used to execute a computer program stored in the memory, and when the processor executes the computer program, it implements each step of the sensor synchronization control method provided in the first aspect or the second aspect of the embodiment of the present application.

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

[0015] It can be seen from the above that according to the sensor synchronization control method, image sensor and readable storage medium provided by the present application, the master image sensor sends a synchronization imaging signal to the slave image sensor according to the imaging control signal; the master image sensor and the slave image sensor simultaneously perform imaging operations according to the synchronization imaging signal; the master image sensor stops the imaging operation at the end of the preset imaging cycle, and sends a synchronization stop imaging signal to the slave image sensor, instructing the slave image sensor to stop the imaging operation at the same time. Through the implementation of the present application, multiple image sensors are divided into master and slave, and the synchronization control signal triggered by the master image sensor performs the synchronization imaging control of multiple image sensors, which can minimize the impact of the control signal transmission delay, and the stability of the synchronization control is relatively high. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 A basic flow chart of a sensor synchronization control method applied to a main image sensor side provided in the first embodiment of the present application;

[0017] Figure 2 A basic flow chart of a sensor synchronization control method applied to a slave image sensor side provided in the first embodiment of the present application;

[0018] Figure 3 A detailed flowchart of the sensor synchronization control method provided in the second embodiment of the present application;

[0019] Figure 4 A schematic diagram of a program module of a sensor synchronization control device applied to a main image sensor side provided in a third embodiment of the present application;

[0020] Figure 5 A schematic diagram of a program module of a sensor synchronization control device applied to a slave image sensor side provided in a third embodiment of the present application;

[0021] Figure 6This is a schematic diagram of the structure of an image sensor provided in the fourth embodiment of the present application. DETAILED DESCRIPTION

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

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

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

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

[0026] In order to solve the problem of poor synchronization stability of synchronous imaging control of multiple image sensors using a bus in the related art, the first embodiment of the present application provides a sensor synchronization control method, which is applied to a main image sensor. It should be understood that a plurality of image sensors are arranged in the image acquisition system of the present embodiment, and the plurality of image sensors include a main image sensor and at least one slave image sensor. The main image sensor can be fixed to a specific image sensor, or can be flexibly adjusted according to different application scenarios. The present embodiment does not make a sole limitation. In addition, it should be noted that at least one type of image sensor can be configured among the plurality of image sensors of the present embodiment, and the type of image sensor may include but is not limited to EVS image sensor, TOF image sensor, CMOS image sensor, CCD image sensor, etc. In a preferred implementation manner of the present embodiment, two image sensors are configured in the system, namely a main image sensor and a slave image sensor, the main image sensor is a CMOS image sensor, and the slave image sensor is an EVS image sensor.

[0027] like Figure 1 The basic flow chart of the sensor synchronization control method provided in this embodiment includes the following steps:

[0028] Step 101: Send a synchronous imaging signal to a slave image sensor according to an imaging control signal.

[0029] Specifically, when the image acquisition system of this embodiment meets the image acquisition requirements, the controller in the system sends an imaging control signal to the main image sensor. The main image sensor generates a synchronous imaging signal based on the imaging control signal and sends it to the slave image sensor to instruct the slave image sensor to perform a synchronous imaging operation.

[0030] Step 102: Perform an imaging operation according to the synchronous imaging signal.

[0031] Specifically, after the master image sensor of this embodiment generates a synchronous imaging signal, it and the slave image sensor both perform an imaging operation according to the signal, thereby realizing synchronous imaging of multiple sensors in a master-slave relationship.

[0032] Step 103: When the preset imaging cycle ends, the imaging operation is stopped, and a synchronous imaging stop signal is sent to the slave image sensor.

[0033] Specifically, the main image sensor of the present embodiment is limited to a preset imaging period and automatically detects whether the conditions for stopping imaging are met. When the preset imaging period reaches the end moment, it stops its own imaging operation and simultaneously sends a stop imaging signal to the slave image sensor to trigger the slave image sensor to stop imaging synchronously. It should be understood that, in the present embodiment, the imaging period of the main image sensor includes at least one frame period of the main image sensor.

[0034] In an optional implementation of this embodiment, before the step of sending a synchronous imaging signal from the image sensor according to the imaging control signal, the step further includes: receiving an imaging control signal generated by the light source controller based on the light source projection control signal.

[0035] Specifically, in practical applications, the controller that triggers the imaging control signal can usually be the main controller configured in the system. However, this embodiment takes into account that in the image acquisition scenario, the image sensor usually needs to cooperate with a specific lighting environment to achieve imaging. Then, the image acquisition system is also configured with a light source and a light source controller. The light source controller is used to control the light source to project light, and the image sensor usually meets the imaging requirements when the specific light source environment is met. Therefore, the image sensor and the light source of this embodiment also have the requirement to work synchronously.

[0036] For the above considerations, this embodiment may not rely on the main controller in the system to directly control the main image sensor, but the light source controller may trigger the imaging control signal to the main image sensor. That is, the main controller may send a light source projection control signal to the light source controller, or the light source controller may automatically trigger the light source projection control signal when it detects that the preset working conditions are met. When the light source controller sends the light source projection control signal to the light source to be controlled, it also sends an imaging control signal to the main image sensor accordingly, thereby realizing the synchronous operation of the light source and the image sensor.

[0037] Furthermore, in an optional implementation of the present embodiment, before the above-mentioned step of stopping the imaging operation at the end of the preset imaging cycle and sending a synchronous stop imaging signal to the image sensor, it also includes: acquiring the light projection timing data indicated by the imaging control signal; and setting the end time of the imaging cycle based on the light projection timing data.

[0038] Specifically, in practical applications, the light source controller can control multiple light sources to project light in different time periods to form different lighting environments, and thus the light source controller controls the light sources according to a preset light projection timing. In this embodiment, when the light source controller sends an imaging control signal to the main image sensor, the imaging control signal can carry light projection timing data, and the main image sensor can determine the imaging termination time according to the light projection timing data, and the imaging termination time is also the end time of the imaging cycle.

[0039] In an optional implementation of the present embodiment, after the above-mentioned step of performing the imaging operation according to the synchronous imaging signal, it also includes: real-time monitoring of the control signal sent by the main controller during the imaging cycle; if a stop imaging control signal sent by the main controller is received before the end of the imaging cycle, the imaging operation is stopped, and a synchronous stop imaging signal is sent to the slave image sensor.

[0040] Specifically, in actual applications, the main controller can actively perform imaging control intervention before the end of the imaging cycle, that is, it can send a stop imaging control signal to the main image sensor at any time to control the main image sensor to stop the imaging operation in advance. At the same time, the main image sensor will also send a synchronous stop imaging signal to the slave image sensor to instruct the slave image sensor to stop imaging synchronously.

[0041] In an optional implementation of the present embodiment, the above-mentioned step of sending a synchronous imaging signal to the slave image sensor according to the imaging control signal includes: sending a synchronous imaging signal of a corresponding type to the slave image sensor according to the imaging control signal and the target imaging mode corresponding to the slave image sensor indicated by the imaging control signal; wherein the synchronous imaging signal is used to instruct the slave image sensor to perform an imaging operation with reference to a frame period corresponding to the target imaging mode.

[0042] Specifically, in the present embodiment, the slave image sensor can support a variety of different types of imaging modes, such as event mode and frame mode, and the frame period setting rules in different imaging modes are different. When the slave sensor works in frame mode, the integer multiple of the frame period of the slave image sensor is equal to the frame period of the master image sensor, so that the slave image sensor synchronously collects integer frames in the frame mode, and all data frames are valid data; when the slave sensor works in event mode, its frame period has no multiple relationship with the frame period of the master image sensor, so that the data synchronously collected by the slave image sensor contains incomplete data frames, which need to be discarded during image processing.

[0043] Based on this, in this embodiment, when the controller in the system (for example, the main controller) sends an imaging control signal to the main image sensor, the imaging control signal carries the imaging mode setting information of the slave image sensor, so that the main image sensor can adaptively send a synchronous imaging signal according to the imaging mode of the slave image sensor indicated by the imaging control signal, so that the slave image sensor can flexibly operate in different imaging modes and effectively match the imaging requirements in different imaging scenarios.

[0044] In an optional implementation of this embodiment, before the above step of sending a synchronous imaging signal to a slave image sensor according to an imaging control signal, it also includes: acquiring an image capture mode associated with the imaging control signal; and determining a slave image sensor from a plurality of image sensors according to the image capture mode.

[0045] Specifically, currently, in order to meet the more diversified and complex image acquisition needs of users, the number of image sensors configured in the image acquisition system is usually large. In this embodiment, if there are multiple slave image sensors, if the slave image sensors that need to work synchronously are not all slave image sensors, then the master image sensor needs to determine the slave image sensor to be synchronized. In actual applications, the imaging tasks performed by the image acquisition system in different scenarios are different, and different imaging tasks correspond to different image capture modes. Each image capture mode is pre-configured with a combination of image sensors that need to be triggered. Accordingly, the master image sensor can adaptively determine the slave image sensor that is currently controlled from multiple synchronously controllable image sensors.

[0046] In addition, this embodiment also adaptively provides a sensor synchronization control method applied to a slave image sensor, such as Figure 2 FIG. 1 is a basic flow chart of a sensor synchronization control method applied to a slave image sensor provided by this embodiment. The sensor synchronization control method includes the following steps:

[0047] Step 201: Perform an imaging operation according to a synchronous imaging signal sent by a main image sensor;

[0048] Step 202: receiving a synchronous imaging stop signal sent by the main image sensor at the end of a preset imaging cycle;

[0049] Step 203: Stop the imaging operation according to the synchronous imaging stop signal.

[0050] Specifically, in this embodiment, the slave image sensor starts imaging synchronously with the main image sensor in response to the synchronous imaging signal triggered by the main image sensor, and stops imaging synchronously with the main image sensor in response to the synchronous stop imaging signal triggered by the main image sensor itself detecting the end of the imaging cycle (the imaging cycle includes at least one frame cycle of the main image sensor). It is worth noting that the main image sensor of this embodiment sends the above-mentioned synchronous imaging signal in response to the imaging control signal. In actual applications, the imaging control signal is sent to the main image sensor by the main controller, and can also be sent to the main image sensor by the light source controller in response to the light source projection control signal.

[0051] In an optional implementation of the present embodiment, the above-mentioned step of performing an imaging operation according to the synchronous imaging signal sent by the main image sensor includes: acquiring a target imaging mode when receiving the synchronous imaging signal sent by the main image sensor; and performing an imaging operation with reference to a frame period corresponding to the target imaging mode.

[0052] Specifically, in this embodiment, the slave image sensor can be configured with a variety of imaging modes. Taking the EVS image sensor as an example, it can be configured with an event mode and a frame mode to adapt to different imaging requirements. It is worth noting that the main image sensor of this embodiment can carry an image capture mode associated with an imaging control signal in the above-mentioned synchronous imaging signal, and the slave image sensor can determine the corresponding target imaging mode based on the image capture mode, or the imaging control signal received by the main image sensor carries the imaging mode setting information of the slave image sensor, so that the main image sensor can adaptively send a synchronous imaging signal according to the imaging mode of the slave image sensor indicated by the imaging control signal, and the slave image sensor determines the indicated target imaging mode according to the type of the synchronous imaging signal. In addition, the frame period configured by the slave image sensor of this embodiment in different imaging modes is different, and the frame period (that is, the frame duration) of the slave image sensor can be associated with the frame period of the default configuration of the main image sensor.

[0053] Further, in an optional implementation of the present embodiment, the above-mentioned step of acquiring the target imaging mode when the synchronous imaging signal sent by the main image sensor is received includes: when the synchronous imaging signal sent by the main image sensor is received in the independent imaging stage, acquiring the target imaging mode corresponding to the synchronous imaging stage.

[0054] Specifically, in the present embodiment, before the slave image sensor receives the synchronous imaging signal sent by the main image sensor, the slave image sensor may be in an independent imaging stage, that is, working independently of the main image sensor. After receiving the synchronous imaging signal, the slave image sensor enters the synchronous imaging stage working synchronously with the main image sensor and adaptively enters the corresponding imaging mode so that the frame period is adaptively configured.

[0055] Furthermore, in an optional implementation of the present embodiment, the above-mentioned step of acquiring the target imaging mode corresponding to the synchronous imaging stage includes: acquiring the amount of data collected in the independent imaging stage; and determining the target imaging mode corresponding to the synchronous imaging stage based on the amount of data.

[0056] Specifically, in this embodiment, the amount of data actually collected from the image sensor in the independent imaging stage can be used as a reference to determine the target imaging mode of the synchronous imaging stage. For example, if the amount of data actually collected is greater than a preset threshold, the frame mode is determined as the target imaging mode; otherwise, the event mode is determined as the target imaging mode.

[0057] Furthermore, in an optional implementation of the present embodiment, the step of performing an imaging operation according to the frame period corresponding to the above-mentioned reference target imaging mode includes: if the target imaging mode is a frame mode, determining its own second frame period based on a preset frame period calculation formula and the first frame period of the main image sensor indicated by the synchronous imaging signal; and performing the imaging operation according to the second frame period.

[0058] Among them, the frame period calculation formula is expressed as Tn=Tm / N, Tn represents the second frame period, Tm represents the first frame period, and N is a positive integer greater than 1, that is, in the frame mode, the integer multiple of the frame period of the slave image sensor is equal to the frame period of the main image sensor. When the slave image sensor stops imaging synchronously with the main image sensor, the number of image frames collected by the slave image sensor is an integer number of frames. It is worth noting that if the main image sensor outputs a frame and the slave image sensor has not yet finished outputting, the last frame of the slave image sensor will be directly discarded. Of course, in other embodiments, if the slave image sensor operates in the event mode, the frame period of the slave image sensor is not absolutely related to the frame period of the main image sensor. When the slave image sensor stops imaging synchronously with the main image sensor, the slave image sensor may stop imaging during the acquisition of a certain frame of image data.

[0059] It should also be noted that for the event mode of this embodiment, its frame period has no multiple relationship with the frame period of the main image sensor, so that the data synchronously collected from the image sensor can generate events, record timestamps and output them completely according to the time when the event occurs. Based on this, more sufficient time information can be provided during image processing, and the frame period of the event mode is more flexible, supporting smaller time granularity, thereby ensuring higher time accuracy of the event.

[0060] Based on the technical solution of the embodiment of the present application, the master image sensor sends a synchronous imaging signal to the slave image sensor according to the imaging control signal; the master image sensor and the slave image sensor simultaneously perform imaging operations according to the synchronous imaging signal; the master image sensor stops the imaging operation at the end of the preset imaging cycle, and sends a synchronous stop imaging signal to the slave image sensor, instructing the slave image sensor to stop the imaging operation at the same time. Through the implementation of the solution of the present application, multiple image sensors are divided into master and slave, and the synchronous imaging control of multiple image sensors is performed by the synchronous control signal triggered by the master image sensor, which can minimize the impact of the control signal transmission delay, and the stability of the synchronous control is relatively high.

[0061] Figure 3 The method in is a refined sensor synchronization control method provided in the second embodiment of the present application, which is applied to an image acquisition system including a main controller, a light source controller, a main image sensor, and a slave image sensor. The sensor synchronization control method includes:

[0062] Step 301: The main controller sends a light source projection control signal to the light source controller.

[0063] Step 302: The light source controller controls the light source to perform a light projection operation according to the light source projection control signal, and sends an imaging control signal to the main image sensor.

[0064] In this embodiment, the light source controller controls the light source to work and synchronously triggers the image sensor to work.

[0065] Step 303: The master image sensor acquires an image capture mode associated with the imaging control signal, and determines a slave image sensor from a plurality of image sensors according to the image capture mode.

[0066] Specifically, in actual application scenarios, in order to meet diverse and complex image acquisition needs, the image acquisition system is configured with multiple cameras, that is, the slave image sensors that can be synchronously controlled by the main image sensor can be multiple or some of them. The main image sensor of this embodiment determines the slave image sensors for synchronous control based on the adaptability of the image shooting mode.

[0067] Step 304: The master image sensor sends a synchronous imaging signal to the slave image sensor, and performs an imaging operation according to the synchronous imaging signal.

[0068] Step 305: The slave image sensor performs an imaging operation according to the synchronous imaging signal sent by the master image sensor.

[0069] Step 306: When the preset imaging cycle ends, the master image sensor stops the imaging operation and sends a synchronous imaging stop signal to the slave image sensor.

[0070] Step 307: The slave image sensor stops the imaging operation according to the synchronous imaging stop signal sent by the master image sensor.

[0071] The main image sensor of the present embodiment is limited to a preset imaging cycle and automatically detects whether the conditions for stopping imaging are met. When the preset imaging cycle reaches the end moment, it stops its own imaging operation and simultaneously sends a stop imaging signal to the slave image sensor, triggering the slave image sensor to stop imaging synchronously without relying on the stop imaging control signal sent by the main controller.

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

[0073] Based on the technical solution of the embodiment of the present application, the master image sensor sends a synchronous imaging signal to the slave image sensor according to the imaging control signal; the master image sensor and the slave image sensor simultaneously perform imaging operations according to the synchronous imaging signal; the master image sensor stops the imaging operation at the end of the preset imaging cycle, and sends a synchronous stop imaging signal to the slave image sensor, instructing the slave image sensor to stop the imaging operation at the same time. Through the implementation of the solution of the present application, multiple image sensors are divided into master and slave, and the synchronous imaging control of multiple image sensors is performed by the synchronous control signal triggered by the master image sensor, which can minimize the impact of the control signal transmission delay, and the stability of the synchronous control is relatively high.

[0074] Figure 4 A sensor synchronization control device is provided in the third embodiment of the present application. The sensor synchronization control device can be used to implement the sensor synchronization control method applied to the main image sensor side in the above-mentioned embodiment, and the sensor synchronization control device mainly includes:

[0075] A first sending module 401 is used to send a synchronous imaging signal to the slave image sensor according to the imaging control signal; wherein the synchronous imaging signal is used to instruct the slave image sensor to perform an imaging operation;

[0076] A first execution module 402 executes an imaging operation according to a synchronous imaging signal;

[0077] The second sending module 403 is used to stop the imaging operation at the end of a preset imaging cycle and send a synchronous imaging stop signal to the slave image sensor; wherein the imaging cycle includes at least one frame cycle, and the synchronous imaging stop signal is used to instruct the slave image sensor to stop the imaging operation.

[0078] In some implementations of this embodiment, the sensor synchronization control device mainly includes: a first receiving module, used to: receive an imaging control signal generated by a light source controller based on a light source projection control signal.

[0079] Furthermore, in some implementations of this embodiment, the sensor synchronization control device mainly includes: a setting module, which is used to: obtain the light projection timing data indicated by the imaging control signal; and set the end time of the imaging cycle based on the light projection timing data.

[0080] In some implementations of this embodiment, the sensor synchronization control device mainly includes: a monitoring module, which is used to: monitor the control signal sent by the main controller in real time during the imaging cycle. Correspondingly, the second sending module is also used to: if a stop imaging control signal sent by the main controller is received before the end of the imaging cycle, the imaging operation is stopped and a synchronous stop imaging signal is sent to the slave image sensor.

[0081] In some implementations of the present embodiment, the first sending module is specifically used to: send a corresponding type of synchronous imaging signal to the slave image sensor according to an imaging control signal and a target imaging mode corresponding to the slave image sensor indicated by the imaging control signal; wherein the synchronous imaging signal is used to instruct the slave image sensor to perform an imaging operation with reference to a frame period corresponding to the target imaging mode.

[0082] In some implementations of this embodiment, the sensor synchronization control device mainly includes: a determination module, which is used to: obtain an image capture mode associated with an imaging control signal; and determine a slave image sensor from a plurality of image sensors according to the image capture mode.

[0083] in addition, Figure 5 Another sensor synchronization control device provided in the third embodiment of the present application. The sensor synchronization control device can be used to implement the sensor synchronization control method applied to the image sensor side in the above-mentioned embodiment, and the sensor synchronization control device mainly includes:

[0084] A second execution module 501, configured to execute an imaging operation according to a synchronous imaging signal sent by the main image sensor;

[0085] The second receiving module 502 is used to receive a synchronous stop imaging signal sent by the main image sensor at the end of a preset imaging cycle; wherein the imaging cycle includes at least one frame cycle of the main image sensor;

[0086] The stop module 503 is used to stop the imaging operation according to the synchronous stop imaging signal.

[0087] In some implementations of this embodiment, the second execution module is specifically used to: acquire the target imaging mode when receiving the synchronous imaging signal sent by the main image sensor; and perform the imaging operation with reference to the frame period corresponding to the target imaging mode.

[0088] Furthermore, in some implementations of the present embodiment, when the second execution module executes the above-mentioned function of acquiring the target imaging mode when the synchronous imaging signal sent by the main image sensor is received, it is specifically used to: when the synchronous imaging signal sent by the main image sensor is received in the independent imaging stage, acquire the target imaging mode corresponding to the synchronous imaging stage.

[0089] Furthermore, in an optional implementation of the present embodiment, when the second execution module executes the above-mentioned function of acquiring the target imaging mode corresponding to the synchronous imaging stage, it is specifically used to: acquire the amount of data collected in the independent imaging stage; and determine the target imaging mode corresponding to the synchronous imaging stage based on the data amount.

[0090] Furthermore, in some other implementations of the present embodiment, when the second execution module executes the function of performing the imaging operation according to the frame period corresponding to the above-mentioned reference target imaging mode, it is specifically used to: if the target imaging mode is a frame mode, determine its own second frame period based on a preset frame period calculation formula and the first frame period of the main image sensor indicated by the synchronous imaging signal; wherein the frame period calculation formula is expressed as Tn=Tm / N, Tn represents the second frame period, Tm represents the first frame period, and N is a positive integer greater than 1; perform the imaging operation according to the second frame period.

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

[0092] According to the sensor synchronization control device provided in this embodiment, the main image sensor sends a synchronization imaging signal to the slave image sensor according to the imaging control signal; the main image sensor and the slave image sensor simultaneously perform imaging operations according to the synchronization imaging signal; the main image sensor stops the imaging operation at the end of the preset imaging cycle, and sends a synchronization stop imaging signal to the slave image sensor, instructing the slave image sensor to stop the imaging operation at the same time. Through the implementation of the scheme of this application, multiple image sensors are divided into master and slave, and the synchronization control signal triggered by the main image sensor performs the synchronization imaging control of multiple image sensors, which can minimize the influence of the control signal transmission delay, and the stability of the synchronization control is relatively high.

[0093] Figure 6 An image sensor provided in the fourth embodiment of the present application may be a master image sensor or a slave image sensor in the aforementioned embodiment. The image slave sensor may be used to implement the sensor synchronization control method in the aforementioned embodiment, and mainly includes: a memory 601 and a processor 602; a computer program 603 that can be run on the processor 602 is stored on the memory 601, the memory 601 and the processor 602 are in communication connection, and when the processor 602 executes the computer program 603, the sensor synchronization control method in the aforementioned embodiment is implemented. The number of processors may be one or more.

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

[0095] Furthermore, the present application also provides a computer-readable storage medium, which may be provided in the image sensor in the above embodiments. Figure 6 Memory in the illustrated embodiment.

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

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

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

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

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

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

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

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

Claims

1. A sensor synchronization control method, applied to a main image sensor, It is characterized in that include: Sending a synchronous imaging signal to the slave image sensor according to the imaging control signal; wherein the synchronous imaging signal is used to instruct the slave image sensor to perform an imaging operation; the slave image sensor is used to obtain the amount of data collected in the independent imaging stage when receiving the synchronous imaging signal, determine the target imaging mode corresponding to the synchronous imaging stage according to the amount of data, and perform the imaging operation with reference to the frame period corresponding to the target imaging mode; the imaging mode types of the slave image sensor include event mode and frame mode, in the frame mode, the integer multiple of the frame period of the slave image sensor is equal to the frame period of the master image sensor, and in the event mode, the frame period of the slave image sensor does not have an integer multiple relationship with the frame period of the master image sensor; performing an imaging operation according to the synchronous imaging signal; When a preset imaging cycle ends, the imaging operation is stopped, and a synchronous imaging stop signal is sent to the slave image sensor; wherein the imaging cycle includes at least one frame cycle, and the synchronous imaging stop signal is used to instruct the slave image sensor to stop the imaging operation.

2. The sensor synchronization control method according to claim 1, It is characterized in that Before the step of sending a synchronous imaging signal from the image sensor according to the imaging control signal, the method further includes: The imaging control signal generated by the light source controller based on the light source projection control signal is received.

3. The sensor synchronization control method according to claim 2, It is characterized in that Before the step of stopping the imaging operation at the end of the preset imaging cycle and sending a synchronous imaging stop signal to the slave image sensor, the method further includes: Acquiring light projection timing data indicated by the imaging control signal; The end time of the imaging period is set based on the light projection timing data.

4. The sensor synchronization control method according to claim 1, It is characterized in that After the step of performing the imaging operation according to the synchronous imaging signal, the method further includes: monitoring in real time the control signal sent by the main controller during the imaging cycle; If the imaging stop control signal sent by the master controller is received before the imaging cycle ends, the imaging operation is stopped, and a synchronous imaging stop signal is sent to the slave image sensor.

5. The sensor synchronization control method according to any one of claims 1 to 4, It is characterized in that Before the step of sending a synchronous imaging signal to the slave image sensor according to the imaging control signal, the method further includes: Acquiring an image capturing mode associated with an imaging control signal; The slave image sensor is determined from a plurality of image sensors according to the image capturing mode.

6. A sensor synchronization control method, applied to an image sensor, It is characterized in that include: Performing an imaging operation according to a synchronous imaging signal sent by a main image sensor; Receiving a synchronous stop imaging signal sent by the main image sensor at the end of a preset imaging cycle; wherein the imaging cycle includes at least one frame cycle of the main image sensor; stopping the imaging operation according to the synchronous imaging stop signal; The step of performing an imaging operation according to the synchronous imaging signal sent by the master image sensor comprises: acquiring a target imaging mode when receiving the synchronous imaging signal sent by the master image sensor; performing an imaging operation with reference to a frame period corresponding to the target imaging mode; wherein the imaging mode types of the slave image sensor include an event mode and a frame mode, in which an integer multiple of the frame period of the slave image sensor is equal to the frame period of the master image sensor, and in which an integer multiple relationship does not exist between the frame period of the slave image sensor and the frame period of the master image sensor in the event mode; The step of acquiring the target imaging mode upon receiving the synchronous imaging signal sent by the main image sensor comprises: acquiring the target imaging mode corresponding to the synchronous imaging stage upon receiving the synchronous imaging signal sent by the main image sensor in the independent imaging stage; The step of acquiring the target imaging mode corresponding to the synchronous imaging stage includes: acquiring the amount of data collected in the independent imaging stage; and determining the target imaging mode corresponding to the synchronous imaging stage according to the amount of data.

7. The sensor synchronization control method according to claim 6, It is characterized in that The step of performing an imaging operation with reference to a frame period corresponding to the target imaging mode comprises: If the target imaging mode is a frame mode, the second frame period of the main image sensor is determined based on a preset frame period calculation formula and the first frame period of the main image sensor indicated by the synchronous imaging signal; wherein the frame period calculation formula is expressed as Tn=Tm / N, Tn represents the second frame period, Tm represents the first frame period, and N is a positive integer greater than 1; An imaging operation is performed according to the second frame period.

8. An image sensor, It is characterized in that The device comprises a memory and a processor, wherein: The processor is used to execute the computer program stored in the memory; When the processor executes the computer program, the steps in the sensor synchronization control method described in any one of claims 1 to 5 or 6 to 7 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the sensor synchronization control method described in any one of claims 1 to 5 or 6 to 7 are implemented.