[go: up one dir, main page]

CN112689991B - Initialization synchronization device, initialization synchronization method, and camera - Google Patents

Initialization synchronization device, initialization synchronization method, and camera Download PDF

Info

Publication number
CN112689991B
CN112689991B CN201880097091.1A CN201880097091A CN112689991B CN 112689991 B CN112689991 B CN 112689991B CN 201880097091 A CN201880097091 A CN 201880097091A CN 112689991 B CN112689991 B CN 112689991B
Authority
CN
China
Prior art keywords
processing circuit
signal
signal processing
controller
initialization
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201880097091.1A
Other languages
Chinese (zh)
Other versions
CN112689991A (en
Inventor
刘锦秀
李远辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN112689991A publication Critical patent/CN112689991A/en
Application granted granted Critical
Publication of CN112689991B publication Critical patent/CN112689991B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

The embodiment of the application provides an initialization synchronization device, an initialization synchronization method and a camera, and relates to the technical field of video processing. The initialization synchronization apparatus includes: the device comprises a CPU, one or more controllers and a signal processing circuit, wherein each controller of the one or more controllers is coupled to the CPU and the signal processing circuit, and the signal processing circuit is connected with one or more sensors outside the initialization synchronization device. The CPU may control the signal processing circuit to be in a first state for instructing the first controller to connect with each of the one or more sensors through the signal processing circuit. The first controller may simultaneously transmit the initialization signal generated by the CPU to each of the one or more sensors through the signal processing circuit, such that each of the sensors can simultaneously receive the initialization signal and complete the initialization configuration at the same time.

Description

初始化同步装置、初始化同步方法及摄像机Initialization synchronization device, initialization synchronization method and camera

技术领域technical field

本申请涉及视频处理技术领域,特别涉及一种初始化同步装置、初始化同步方法及摄像机。The present application relates to the technical field of video processing, and in particular to an initialization synchronization device, an initialization synchronization method, and a camera.

背景技术Background technique

视频拼接技术是指将若干个摄像头获取到的视频图像拼接形成一幅全景图像的技术,该视频拼接技术通常应用在全景摄像机中。The video stitching technology refers to the technology of stitching the video images acquired by several cameras to form a panoramic image, and the video stitching technology is usually applied in the panoramic camera.

传统的全景摄像机包括:多个摄像头和SOC(System On Chip,系统级芯片),每个摄像头均包括图像传感器,每个图像传感器均与SOC连接。在每个摄像头正常获取图像之前,SOC向每个摄像头的图像传感器发送初始化配置指令,以完成图像传感器的初始化配置。在每个图像传感器初始化配置完成后,各图像传感器将获取到的图像传输到SOC中,SOC可以将不同的图像传感器获取到的图像拼接形成一幅全景图像。A traditional panoramic camera includes: multiple cameras and an SOC (System On Chip, System On Chip), each camera includes an image sensor, and each image sensor is connected to the SOC. Before each camera normally acquires an image, the SOC sends an initialization configuration instruction to the image sensor of each camera, so as to complete the initialization configuration of the image sensor. After the initial configuration of each image sensor is completed, each image sensor transmits the acquired images to the SOC, and the SOC can stitch the images acquired by different image sensors to form a panoramic image.

但是,目前SOC对多个图像传感器完成初始化配置并不是同步的,导致各个图像传感器所获取的图像也不同步,SOC对不同步的图像进行拼接,得到的全景图像的显示效果较差。However, at present, the initial configuration of multiple image sensors by the SOC is not synchronized, resulting in that the images acquired by each image sensor are not synchronized. The SOC stitches the asynchronous images, and the display effect of the obtained panoramic image is poor.

发明内容Contents of the invention

本申请提供了一种初始化同步装置、初始化同步方法及摄像机,能够对多个传感器同步进行初始化,从而使各个图像传感器的图像可以同步输出。The present application provides an initialization synchronization device, an initialization synchronization method, and a camera, capable of synchronously initializing a plurality of sensors, so that the images of each image sensor can be synchronously output.

第一方面,提供了一种初始化同步装置,包括:中央处理单元CPU、一个或多个控制器以及信号处理电路,其中,该一个或多个控制器中的每个控制器均耦合至该CPU以及该信号处理电路,该信号处理电路与该初始化同步装置外部的一个或多个传感器连接;该CPU,用于控制该信号处理电路处于第一状态,该第一状态用于指示第一控制器通过该信号处理电路与该一个或多个传感器中每个传感器连接,该第一控制器为该一个或多个控制器中的一个控制器;该第一控制器,用于在该信号处理电路处于第一状态时,将该CPU生成的初始化信号通过该信号处理电路同时发送至该一个或多个传感器中的每个传感器。In a first aspect, an initialization synchronization device is provided, including: a central processing unit CPU, one or more controllers, and a signal processing circuit, wherein each controller in the one or more controllers is coupled to the CPU And the signal processing circuit, the signal processing circuit is connected to one or more sensors outside the initialization synchronization device; the CPU is used to control the signal processing circuit to be in a first state, and the first state is used to indicate the first controller The signal processing circuit is connected to each sensor in the one or more sensors, and the first controller is a controller in the one or more controllers; the first controller is used in the signal processing circuit When in the first state, the initialization signal generated by the CPU is simultaneously sent to each sensor in the one or more sensors through the signal processing circuit.

在本申请中,CPU在控制信号处理电路处于第一状态时,第一控制器将CPU生成的初始化信号通过信号处理电路同时发送至一个或多个传感器中的每个传感器,使得每个传感器均能够同时接收到初始化信号,并在同一时间完成初始化配置,避免了各个传感器所获取的图像出现不同步的现象。若该初始化同步装置集成在SOC上,当该SOC将各个传感器获取的图像进行拼接得到全景图像时,由于初始化信号可以通过信号处理电路同时发送给各个图像传感器,使得各个传感器获取的图像是同步输出的,因此拼接得到的全景图像的显示效果较好。In this application, when the CPU controls the signal processing circuit to be in the first state, the first controller simultaneously sends the initialization signal generated by the CPU to each of the one or more sensors through the signal processing circuit, so that each sensor is The initialization signal can be received at the same time, and the initialization configuration can be completed at the same time, which avoids the asynchronous phenomenon of the images acquired by each sensor. If the initialization synchronization device is integrated on the SOC, when the SOC stitches the images acquired by each sensor to obtain a panoramic image, since the initialization signal can be sent to each image sensor through the signal processing circuit at the same time, the images acquired by each sensor are output synchronously. Therefore, the display effect of the panoramic image obtained by splicing is better.

可选的,该CPU,还用于控制该信号处理电路处于第二状态,该第二状态用于指示该一个或多个控制器中的每个控制器通过该信号处理电路与一个传感器相连;每个控制器,用于在该信号处理电路处于该第二状态时,将该CPU生成的该初始化信号或参数修改信号发送给与该每个控制器对应的传感器,该参数修改信号用于对该传感器中记录的初始化参数进行调整,该初始化参数为在对每个传感器进行初始化处理的过程中,该传感器接收到的初始化信号中携带的参数。Optionally, the CPU is also used to control the signal processing circuit to be in a second state, and the second state is used to instruct each of the one or more controllers to be connected to a sensor through the signal processing circuit; Each controller is configured to send the initialization signal or parameter modification signal generated by the CPU to the sensor corresponding to each controller when the signal processing circuit is in the second state, and the parameter modification signal is used for The initialization parameter recorded in the sensor is adjusted, and the initialization parameter is the parameter carried in the initialization signal received by the sensor during the initialization process of each sensor.

在本申请中,由于各个传感器之间存在制造误差,当对各个传感器均配置相同的初始化参数时,各个传感器所获取的图像的显示质量(例如清晰度或色彩深度等)会存在差异。为了使得各个传感器均能够获取到显示质量较高的图像,在通过初始化同步装置完成对各个传感器的初始化配置后,CPU可以控制信号处理电路处于第二状态,每个控制器可以将CPU生成的参数修改信号发送给与每个控制器各自对应的传感器。该参数修改信号用于对传感器的寄存器中记录的初始化参数进行调整,保证每个传感器均能够获取显示质量较高的图像。由于每个传感器中的初始化参数均能够被对应的控制器调节,因此在初始化配置完成后通过该初始化同步装置对各个传感器中的初始化参数进行调节的效率较高。In this application, due to manufacturing errors among the sensors, when the same initialization parameters are configured for each sensor, the display quality (such as sharpness or color depth, etc.) of images acquired by each sensor will be different. In order to enable each sensor to obtain images with higher display quality, after completing the initialization configuration of each sensor through the initialization synchronization device, the CPU can control the signal processing circuit to be in the second state, and each controller can convert the parameters generated by the CPU to Modification signals are sent to the respective sensors associated with each controller. The parameter modification signal is used to adjust the initialization parameters recorded in the registers of the sensor, so as to ensure that each sensor can obtain images with high display quality. Since the initialization parameters in each sensor can be adjusted by the corresponding controller, it is more efficient to adjust the initialization parameters in each sensor through the initialization synchronization device after the initialization configuration is completed.

可选的,该信号处理电路包括:输出处理电路和输入处理电路;在该信号处理电路处于该第一状态时,该第一控制器通过该输出处理电路向该一个或多个传感器中的每个传感器发送该CPU生成的信号;在该信号处理电路处于该第一状态时,该第一控制器通过该输入处理电路接收该一个或多个传感器中的每个传感器各自生成的响应信号。Optionally, the signal processing circuit includes: an output processing circuit and an input processing circuit; when the signal processing circuit is in the first state, the first controller sends the output processing circuit to each of the one or more sensors A sensor sends a signal generated by the CPU; when the signal processing circuit is in the first state, the first controller receives a respective response signal generated by each of the one or more sensors through the input processing circuit.

在本申请中,初始化同步装置中的CPU可以通过输出处理电路向一个或多个传感器中的每个传感器发送信号,CPU还可以通过输入处理电路接收每个传感器生成的信号,并由CPU进行信号处理。In this application, the CPU in the initialization synchronization device can send a signal to each sensor in one or more sensors through the output processing circuit, and the CPU can also receive the signal generated by each sensor through the input processing circuit, and the signal is processed by the CPU deal with.

可选的,该输出处理电路包括:一个或多个数字选择器,该一个或多个数字选择器中每个数字选择器的输出端与对应的传感器连接;当该信号处理电路处于该第一状态时,该一个或多个数字选择器中每个数字选择器的输入端均与该第一控制器相连;当该信号处理电路处于该第二状态时,该一个或多个数字选择器中每个数字选择器的输入端与对应的控制器相连。Optionally, the output processing circuit includes: one or more digital selectors, the output end of each digital selector in the one or more digital selectors is connected to the corresponding sensor; when the signal processing circuit is in the first state, the input terminal of each digital selector in the one or more digital selectors is connected to the first controller; when the signal processing circuit is in the second state, the one or more digital selectors The input terminal of each digital selector is connected with the corresponding controller.

可选的,每个数字选择器均包括第一输入端口、第二输入端口、状态选择端口和输出端口,每个数字选择器的第一输入端口均与该第一控制器连接,每个数字选择器的第二输入端口与对应的控制器连接,每个数字选择器的状态选择端口均与该CPU连接,每个数字选择器的输出端口与对应的传感器连接;其中,对于每个数字选择器,在该数字选择器的状态选择端口接收到该CPU发送的用于指示该信号处理电路处于该第一状态的指示信号时,该第一输入端口处于开启状态,该第二输入端口处于关断状态;对于每个数字选择器,在该数字选择器的状态选择端口接收到该CPU发送的用于指示该信号处理电路处于该第二状态的指示信号时,该第一输入端口处于关断状态,该第二输入端口处于开启状态。Optionally, each digital selector includes a first input port, a second input port, a state selection port and an output port, the first input port of each digital selector is connected to the first controller, each digital The second input port of the selector is connected with the corresponding controller, the state selection port of each digital selector is connected with the CPU, and the output port of each digital selector is connected with the corresponding sensor; wherein, for each digital selector When the state selection port of the digital selector receives the indication signal sent by the CPU to indicate that the signal processing circuit is in the first state, the first input port is in the open state, and the second input port is in the off state. Off state; for each digital selector, when the state selection port of the digital selector receives the indication signal sent by the CPU to indicate that the signal processing circuit is in the second state, the first input port is turned off state, the second input port is in the open state.

可选的,该输入处理电路包括:与门逻辑电路;当该信号处理电路处于该第一状态时,该与门逻辑电路将接收的该一个或多个传感器中的每个传感器各自生成的响应信号经过处理后,发送给该第一控制器;当该信号处理电路处于该第二状态时,该一个或多个控制器中的每个控制器接收对应的传感器生成的响应信号。Optionally, the input processing circuit includes: an AND gate logic circuit; when the signal processing circuit is in the first state, the AND gate logic circuit receives the respective responses generated by each of the one or more sensors After the signal is processed, it is sent to the first controller; when the signal processing circuit is in the second state, each of the one or more controllers receives a response signal generated by a corresponding sensor.

可选的,该输入处理电路还包括:信号选择器;该一个或多个传感器中的每个传感器均与该与门逻辑电路的输入端连接,该与门逻辑电路的输出端与该信号选择器的第一输入端连接,该信号选择器的输出端与该第一控制器连接,与该第一控制器对应的第一传感器还和该信号选择器的第二输入端连接;其中,当该信号处理电路处于该第一状态时,该与门逻辑电路将处理后的信号通过该信号选择器发送给该第一控制器;当该信号处理电路处于该第二状态时,该信号选择器将该第一传感器生成的响应信号发送给该第一控制器。Optionally, the input processing circuit further includes: a signal selector; each sensor in the one or more sensors is connected to the input terminal of the AND gate logic circuit, and the output terminal of the AND gate logic circuit is connected to the signal selector connected to the first input end of the signal selector, the output end of the signal selector is connected to the first controller, and the first sensor corresponding to the first controller is also connected to the second input end of the signal selector; wherein, when When the signal processing circuit is in the first state, the AND gate logic circuit sends the processed signal to the first controller through the signal selector; when the signal processing circuit is in the second state, the signal selector The response signal generated by the first sensor is sent to the first controller.

可选的,该初始化同步装置还包括:连接总线,该一个或多个控制器中的每个控制器通过该连接总线耦合至该CPU以及该信号处理电路,该连接总线为集成电路I2C连接总线和同步串行端口SSP连接总线中的一项或多项。Optionally, the initialization synchronization device further includes: a connection bus, each of the one or more controllers is coupled to the CPU and the signal processing circuit through the connection bus, and the connection bus is an integrated circuit I2C connection bus and synchronous serial port SSP connection bus one or more.

假设本申请中的连接总线为I2C连接总线,则:该输出处理电路包括:用于输出数据信号的第一输出处理电路,以及用于输出时钟信号的第二输出处理电路;该第一输出处理电路中的每个数字选择器的第一输入端口均与该第一控制器的数据端口连接,该第一输出处理电路中的每个数字选择器的第二输入端口与对应的控制器的数据端口连接,该第二输出处理电路中的每个数字选择器的第一输入端口均与该第一控制器的时钟端口连接,该第二输出处理电路中的每个数字选择器的第二输入端口与对应的控制器的时钟端口连接。Assuming that the connection bus in this application is an I2C connection bus, then: the output processing circuit includes: a first output processing circuit for outputting a data signal, and a second output processing circuit for outputting a clock signal; the first output processing circuit The first input port of each digital selector in the circuit is connected to the data port of the first controller, and the second input port of each digital selector in the first output processing circuit is connected to the data port of the corresponding controller. Port connection, the first input port of each digital selector in the second output processing circuit is connected with the clock port of the first controller, the second input port of each digital selector in the second output processing circuit The port is connected to the clock port of the corresponding controller.

该输入处理电路包括:用于输入数据信号的第一输入处理电路,以及用于输入时钟信号的第二输入处理电路。The input processing circuit includes: a first input processing circuit for inputting a data signal, and a second input processing circuit for inputting a clock signal.

可选的,该初始化同步装置还包括:系统寄存器,该系统寄存器分别与该CPU和该信号处理电路连接;该CPU用于控制该系统寄存器的寄存器值为第一数值,以使该信号处理电路处于该第一状态;该CPU还用于控制该系统寄存器的寄存器值为第二数值,以使该信号处理电路处于该第二状态,其中,该第一数值和该第二数值不同。Optionally, the initialization synchronization device also includes: a system register, the system register is respectively connected to the CPU and the signal processing circuit; the CPU is used to control the register value of the system register to a first value, so that the signal processing circuit In the first state; the CPU is also used to control the register value of the system register to a second value, so that the signal processing circuit is in the second state, wherein the first value is different from the second value.

可选的,该初始化同步装置还包括一个或多个输入输出IO接口,该信号处理电路通过一个或多个IO接口与该一个或多个传感器一一连接;其中,在该信号处理电路处于该第一状态时,该一个或多个IO接口均连接至该第一控制器;在该信号处理电路处于该第二状态时,每个控制器分别通过一个IO接口与对应的传感器相连。Optionally, the initialization synchronization device also includes one or more input and output IO interfaces, and the signal processing circuit is connected to the one or more sensors one by one through one or more IO interfaces; wherein, when the signal processing circuit is in the In the first state, the one or more IO interfaces are all connected to the first controller; when the signal processing circuit is in the second state, each controller is connected to the corresponding sensor through an IO interface.

可选的,该CPU还用于:在对每个传感器进行初始化处理之前,向每个传感器发送复位指令,以清除每个传感器中的初始化参数。Optionally, the CPU is further configured to: before performing initialization processing on each sensor, send a reset instruction to each sensor, so as to clear the initialization parameters in each sensor.

可选的,该CPU还用于:在对每个传感器进行初始化处理之后,接收每个传感器获取的图像信息;根据该图像信息中的同步信号,判断任意两个传感器获取的图像信息是否同步;对获取的图像信息不同步的传感器进行补偿调节。从而使得各个传感器200所获取的图像是同步的,进而提高了后续拼接形成的全景图像的显示效果。Optionally, the CPU is also used to: receive the image information obtained by each sensor after initializing each sensor; judge whether the image information obtained by any two sensors is synchronized according to the synchronization signal in the image information; Compensation adjustments are made for sensors whose acquired image information is out of sync. Therefore, the images acquired by each sensor 200 are synchronized, thereby improving the display effect of the panoramic image formed by subsequent splicing.

第二方面,提供了一种初始化同步方法,应用于初始化同步装置中,该初始化同步装置包括:CPU、一个或多个控制器以及信号处理电路,其中,该一个或多个控制器中的每个控制器均耦合至该CPU以及该信号处理电路,该信号处理电路与该初始化同步装置外部的一个或多个传感器连接,该方法包括:该CPU控制该信号处理电路处于第一状态,该第一状态用于指示第一控制器通过该信号处理电路与该一个或多个传感器中每个传感器连接,该第一控制器为该一个或多个控制器中的一个控制器;该第一控制器将该CPU生成的初始化信号通过该信号处理电路发送至该一个或多个传感器中的每个传感器。In a second aspect, an initialization synchronization method is provided, which is applied to an initialization synchronization device, and the initialization synchronization device includes: a CPU, one or more controllers, and a signal processing circuit, wherein each of the one or more controllers Each controller is coupled to the CPU and the signal processing circuit, the signal processing circuit is connected to one or more sensors outside the initialization synchronization device, the method includes: the CPU controls the signal processing circuit to be in a first state, the second A state is used to indicate that the first controller is connected to each sensor in the one or more sensors through the signal processing circuit, and the first controller is a controller in the one or more controllers; the first controller The controller sends the initialization signal generated by the CPU to each sensor in the one or more sensors through the signal processing circuit.

可选的,该方法还包括:该CPU控制该信号处理电路处于第二状态,该第二状态用于指示该一个或多个控制器中的每个控制器通过该信号处理电路与一个传感器相连;每个控制器将该CPU生成的该初始化信号或参数修改信号发送给与该每个控制器对应的传感器,该参数修改信号用于对该传感器中记录的初始化参数进行调整,该初始化参数为在对每个传感器进行初始化处理的过程中,该传感器接收到的初始化信号中携带的参数。Optionally, the method further includes: the CPU controls the signal processing circuit to be in a second state, and the second state is used to indicate that each of the one or more controllers is connected to a sensor through the signal processing circuit ; each controller sends the initialization signal or parameter modification signal generated by the CPU to the sensor corresponding to each controller, and the parameter modification signal is used to adjust the initialization parameter recorded in the sensor, and the initialization parameter is During the initialization process of each sensor, the parameters carried in the initialization signal received by the sensor.

可选的,该信号处理电路包括:输出处理电路和输入处理电路;在该CPU控制该信号处理电路处于第一状态后,该方法还包括:该第一控制器通过该输出处理电路向该一个或多个传感器中的每个传感器发送该CPU生成的信号;该第一控制器通过该输入处理电路接收该一个或多个传感器中的每个传感器各自生成的响应信号。Optionally, the signal processing circuit includes: an output processing circuit and an input processing circuit; after the CPU controls the signal processing circuit to be in the first state, the method further includes: the first controller sends the output processing circuit to the one Each sensor of the or plurality of sensors transmits the signal generated by the CPU; the first controller receives a response signal generated by each sensor of the one or more sensors through the input processing circuit.

可选的,该输出处理电路包括:一个或多个数字选择器,该一个或多个数字选择器中每个数字选择器的输出端与对应的传感器连接;该第一控制器通过该输出处理电路向该一个或多个传感器中的每个传感器发送该CPU生成的信号,包括:该一个或多个数字选择器中每个数字选择器控制各自的输入端均与该第一控制器相连,以使该第一控制器通过该一个或多个数字选择器向一个或多个传感器发送该CPU生成的信号;在该CPU控制该信号处理电路处于第二状态后,该方法还包括:该一个或多个数字选择器中每个数字选择器控制各自的输入端与对应的控制器相连。Optionally, the output processing circuit includes: one or more digital selectors, the output end of each digital selector in the one or more digital selectors is connected to the corresponding sensor; the first controller processes the a circuit sending the CPU-generated signal to each of the one or more sensors, comprising: each of the one or more digital selectors controlling a respective input terminal connected to the first controller, Make the first controller send the signal generated by the CPU to the one or more sensors through the one or more digital selectors; after the CPU controls the signal processing circuit to be in the second state, the method further includes: the one Each digital selector in the or multiple digital selectors controls its respective input terminal to be connected to a corresponding controller.

可选的,该输入处理电路包括:与门逻辑电路;该第一控制器通过该输入处理电路接收该一个或多个传感器中的每个传感器各自生成的响应信号,包括:该第一控制器接收通过该与门逻辑电路将接收的该一个或多个传感器中的每个传感器各自生成的响应信号经过处理后的信号;在该CPU控制该信号处理电路处于第二状态后,该方法还包括:该一个或多个控制器中的每个控制器接收对应的传感器生成的响应信号。Optionally, the input processing circuit includes: an AND gate logic circuit; the first controller receives the respective response signals generated by each of the one or more sensors through the input processing circuit, including: the first controller receiving a processed signal of the response signal generated by each sensor in the one or more sensors received by the AND gate logic circuit; after the CPU controls the signal processing circuit to be in the second state, the method further includes : Each of the one or more controllers receives a corresponding sensor-generated response signal.

可选的,该输入处理电路还包括:信号选择器,该一个或多个传感器中的每个传感器均与该与门逻辑电路的输入端连接,该与门逻辑电路的输出端与该信号选择器的第一输入端连接,该信号选择器的输出端与该第一控制器连接,与该第一控制器对应的第一传感器还和该信号选择器的第二输入端连接;该第一控制器接收通过该与门逻辑电路将接收的该一个或多个传感器中的每个传感器各自生成的响应信号经过处理后的信号,包括:该第一控制器接收该与门逻辑电路将处理后的信号通过该信号选择器发送的信号;在该CPU控制该信号处理电路处于第二状态后,该方法还包括:该信号选择器将该第一传感器生成的响应信号发送给该第一控制器。Optionally, the input processing circuit further includes: a signal selector, each of the one or more sensors is connected to the input terminal of the AND gate logic circuit, and the output terminal of the AND gate logic circuit is connected to the signal selector connected to the first input end of the signal selector, the output end of the signal selector is connected to the first controller, and the first sensor corresponding to the first controller is also connected to the second input end of the signal selector; the first The controller receives the processed response signal generated by each of the one or more sensors to be received by the AND gate logic circuit, including: the first controller receives the processed signal by the AND gate logic circuit the signal sent by the signal selector; after the CPU controls the signal processing circuit to be in the second state, the method further includes: the signal selector sends the response signal generated by the first sensor to the first controller .

可选的,该初始化同步装置还包括:系统寄存器,该系统寄存器分别与该CPU和该信号处理电路连接,该CPU控制该信号处理电路处于第一状态,包括:该CPU控制该系统寄存器的寄存器值为第一数值,以使该信号处理电路处于第一状态;该CPU控制该信号处理电路处于第二状态,包括:该CPU控制该系统寄存器的寄存器值为第二数值,以使该信号处理电路处于第二状态,其中,该第一数值和该第二数值不同。Optionally, the initialization synchronization device further includes: a system register, the system register is respectively connected to the CPU and the signal processing circuit, and the CPU controls the signal processing circuit to be in the first state, including: the CPU controls the register of the system register The value is the first value, so that the signal processing circuit is in the first state; the CPU controls the signal processing circuit to be in the second state, including: the CPU controls the register value of the system register to be the second value, so that the signal processing circuit The circuit is in a second state, wherein the first value and the second value are different.

可选的,该初始化同步装置还包括一个或多个输入输出IO接口,该信号处理电路通过一个或多个IO接口与该一个或多个传感器一一连接;在该CPU控制该信号处理电路处于第一状态后,该方法还包括:该信号处理电路控制该一个或多个IO接口均连接至该第一控制器;在该CPU控制该信号处理电路处于第二状态后,该方法还包括:该信号处理电路控制每个控制器分别通过一个IO接口与对应的传感器相连。Optionally, the initialization synchronization device also includes one or more input and output IO interfaces, and the signal processing circuit is connected to the one or more sensors one by one through one or more IO interfaces; when the CPU controls the signal processing circuit to After the first state, the method also includes: the signal processing circuit controls the one or more IO interfaces to be connected to the first controller; after the CPU controls the signal processing circuit to be in the second state, the method also includes: The signal processing circuit controls each controller to be connected to a corresponding sensor through an IO interface.

可选的,该方法还包括:在对每个传感器进行初始化处理之前,该CPU向每个传感器发送复位指令,以清除每个传感器中的初始化参数。Optionally, the method further includes: before performing initialization processing on each sensor, the CPU sends a reset instruction to each sensor, so as to clear initialization parameters in each sensor.

可选的,该方法还包括:在对每个传感器进行初始化处理之后,该CPU接收每个传感器获取的图像信息;该CPU根据该图像信息中的同步信号,判断任意两个传感器获取的图像信息是否同步;该CPU对获取的图像信息不同步的传感器进行补偿调节。Optionally, the method further includes: after each sensor is initialized, the CPU receives the image information acquired by each sensor; the CPU judges the image information acquired by any two sensors according to the synchronization signal in the image information Whether it is synchronous or not; the CPU compensates and adjusts the sensor whose acquired image information is not synchronous.

需要说明的是,第二方面中初始化同步方法的原理,可以参考第一方面初始化同步装置中的对应部分,本申请在此不再赘述。It should be noted that, for the principle of the initialization synchronization method in the second aspect, reference may be made to the corresponding part in the initialization synchronization device in the first aspect, which will not be repeated in this application.

第三方面,提供了一种摄像机,包括:多个摄像头和系统级芯片SOC,该SOC包括:第一方面任一该的初始化同步装置,每个摄像头均包括传感器,每个传感器均与该初始化同步装置连接。In a third aspect, a camera is provided, including: a plurality of cameras and a system-on-chip SOC, the SOC includes: any one of the initialization synchronization devices in the first aspect, each camera includes a sensor, and each sensor is connected to the initialization Synchronous device connection.

附图说明Description of drawings

图1是相关技术提供的一种全景摄像机的框图;Fig. 1 is a block diagram of a panoramic camera provided by the related art;

图2是相关技术提供的另一种全景摄像机的框图;Fig. 2 is a block diagram of another panoramic camera provided by related technologies;

图3是本申请实施例提供的一种初始化同步装置的框图;FIG. 3 is a block diagram of an initialization synchronization device provided in an embodiment of the present application;

图4是本申请实施例提供的另一种初始化同步装置的框图;FIG. 4 is a block diagram of another initialization synchronization device provided by an embodiment of the present application;

图5是本申请实施例提供的一种输出处理电路的结构示意图;FIG. 5 is a schematic structural diagram of an output processing circuit provided by an embodiment of the present application;

图6是图5示出的输出处理电路中的信号的传输的示意图;Fig. 6 is a schematic diagram of signal transmission in the output processing circuit shown in Fig. 5;

图7是本申请实施例提供的一种输入处理电路的结构示意图;FIG. 7 is a schematic structural diagram of an input processing circuit provided by an embodiment of the present application;

图8是图7示出的输出处理电路中的信号的传输的示意图。FIG. 8 is a schematic diagram of signal transmission in the output processing circuit shown in FIG. 7 .

通过上述附图,已示出本申请明确的实施例,后文中将有更详细的描述。这些附图和文字描述并不是为了通过任何方式限制本申请构思的范围,而是通过参考特定实施例为本领域技术人员说明本申请的概念。By means of the above drawings, specific embodiments of the present application have been shown, which will be described in more detail hereinafter. These drawings and text descriptions are not intended to limit the scope of the concept of the application in any way, but to illustrate the concept of the application for those skilled in the art by referring to specific embodiments.

具体实施方式detailed description

下面将结合附图对本申请实施方式作进一步地详细描述。The embodiments of the present application will be further described in detail below in conjunction with the accompanying drawings.

请参考图1,图1是相关技术提供的一种全景摄像机的框图,该全景摄像机包括:SOC 01和多个摄像头(图1中未示出),每个摄像头均可以包括图像传感器02。该SOC 01内部设置有一个I2C(Inter-Integrated Circuit,集成电路)总线011和多个INCK(InputClock,工作时钟)电路012,每个图像传感器02均与该I2C总线011连接,该多个INCK电路012与多个图像传感器02一一对应连接。Please refer to FIG. 1 . FIG. 1 is a block diagram of a panoramic camera provided in the related art. The panoramic camera includes: an SOC 01 and multiple cameras (not shown in FIG. 1 ), and each camera may include an image sensor 02 . The SOC 01 is internally provided with an I2C (Inter-Integrated Circuit, integrated circuit) bus 011 and a plurality of INCK (InputClock, operating clock) circuits 012, each image sensor 02 is connected to the I2C bus 011, and the plurality of INCK circuits 012 is connected to a plurality of image sensors 02 in one-to-one correspondence.

当全景摄像机获取全景图像时,SOC 01需要通过I2C总线011和多个INCK电路012向所有的图像传感器02发送初始化配置指令,每个图像传感器02在接收到初始化配置指令后,进行初始化配置,在图像传感器02初始化配置完成后,可以获取图像,并将获取到的图像发送给SOC 01,使得SOC 01将不同的图像传感器02获取到的图像进行拼接,以得到全景图像。When the panoramic camera acquires panoramic images, SOC 01 needs to send initialization configuration instructions to all image sensors 02 through the I2C bus 011 and multiple INCK circuits 012, and each image sensor 02 performs initialization configuration after receiving the initialization configuration instructions. After the image sensor 02 is initialized and configured, it can acquire images and send the acquired images to the SOC 01, so that the SOC 01 stitches the images acquired by different image sensors 02 to obtain a panoramic image.

但是,当所有的图像传感器02均通过一个I2C总线011连接时,SOC 01需要逐一控制多个图像传感器02进行初始化配置,也即是,当某个图像传感器初始化配置后,SOC 01才可以控制下一个图像传感器进行初始化配置。通常情况下,在图像传感器02初始化配置完成后,图像传感器02会立马将获取到的图像发送给SOC 01,而SOC 01无法控制多个图像传感器01在同一时间完成初始化配置,因此各个图像传感器02所获取的图像并不同步,SOC01对不同步的图像进行拼接,得到的全景图像的显示效果较差。However, when all the image sensors 02 are connected through an I2C bus 011, the SOC 01 needs to control multiple image sensors 02 one by one for initial configuration, that is, after an image sensor is initialized and configured, the SOC 01 can control the An image sensor is initially configured. Normally, after the initial configuration of the image sensor 02 is completed, the image sensor 02 will immediately send the acquired image to the SOC 01, and the SOC 01 cannot control multiple image sensors 01 to complete the initialization configuration at the same time, so each image sensor 02 The acquired images are not synchronized, and the SOC01 stitches the asynchronous images, and the display effect of the obtained panoramic image is poor.

请参考图2,图2是相关技术提供的另一种全景摄像机的框图,该全景摄像机中的SOC 01内设置有多个I2C总线011和多个INCK电路012,该多个I2C总线011与多个图像传感器02一一对应连接,该多个INCK电路012与多个图像传感器02一一对应连接。此时,SOC 01无需逐一控制多个图像传感器02进行初始化配置,虽然该多个图像传感器02可以同时进行初始化配置,但是由于软件顺序执行的原因,SOC 01需要通过该多个I2C总线011逐一的对每个图像传感器02发送初始化图像指令,每个图像传感器02初始化完成的时间仍然会依次延迟,SOC 01仍然无法控制多个图像传感器01在同一时间完成初始化配置,导致各个图像传感器02所获取的图像并不同步,SOC 01对不同步的图像进行拼接,得到的全景图像的显示效果较差。Please refer to Fig. 2, Fig. 2 is the block diagram of another kind of panoramic camera provided by the related art, the SOC 01 in this panoramic camera is provided with a plurality of I2C buses 011 and a plurality of INCK circuits 012, and the plurality of I2C buses 011 and multiple The image sensors 02 are connected in one-to-one correspondence, and the plurality of INCK circuits 012 are connected in one-to-one correspondence with the plurality of image sensors 02 . At this time, SOC 01 does not need to control multiple image sensors 02 to perform initialization configuration one by one. Although the multiple image sensors 02 can perform initialization configuration at the same time, due to the sequential execution of software, SOC 01 needs to perform initialization configurations one by one through the multiple I2C buses 011. Send an initialization image command to each image sensor 02, the time for each image sensor 02 to complete initialization will still be delayed sequentially, and the SOC 01 still cannot control multiple image sensors 01 to complete the initialization configuration at the same time, resulting in the information obtained by each image sensor 02 The images are not synchronized, and the SOC 01 stitches the asynchronous images, and the display effect of the obtained panoramic images is poor.

请参考图3,图3是本申请实施例提供的一种初始化同步装置的框图,该初始化同步装置100可以包括:Please refer to FIG. 3. FIG. 3 is a block diagram of an initialization synchronization device provided in an embodiment of the present application. The initialization synchronization device 100 may include:

中央处理单元(Central Processing Unit,CPU)10、一个或多个控制器20以及信号处理电路30,其中,该一个或多个控制器20中的每个控制器20均耦合至CPU 10以及信号处理电路30,该信号处理电路30与该初始化同步装置外部的一个或多个传感器200连接。示例性的,本申请实施例中的传感器200可以为图像传感器。Central Processing Unit (Central Processing Unit, CPU) 10, one or more controllers 20 and signal processing circuit 30, wherein, each controller 20 in the one or more controllers 20 is all coupled to CPU 10 and signal processing circuit A circuit 30, the signal processing circuit 30 is connected with one or more sensors 200 outside the initialization synchronization device. Exemplarily, the sensor 200 in the embodiment of the present application may be an image sensor.

该CPU 10,用于控制信号处理电路30处于第一状态,该第一状态用于指示第一控制器20a通过信号处理电路30与一个或多个传感器200中的每个传感器200连接,该第一控制器20a为一个或多个控制器20中的一个控制器。The CPU 10 is used to control the signal processing circuit 30 to be in a first state, the first state is used to instruct the first controller 20a to be connected to each sensor 200 in the one or more sensors 200 through the signal processing circuit 30, the first state A controller 20a is one of the one or more controllers 20 .

该第一控制器20a,用于在信号处理电路30处于第一状态时,将CPU 10生成的初始化信号通过信号处理电路30同时发送至一个或多个传感器200中的每个传感器200。The first controller 20a is configured to simultaneously send the initialization signal generated by the CPU 10 to each of the one or more sensors 200 through the signal processing circuit 30 when the signal processing circuit 30 is in the first state.

示例性的,信号处理电路30具有多个输入输出接口,其中,多个输入输出接口与传感器一一连接,当信号处理电路30处于第一状态时,信号处理电路30的多个输入输出接口均连接至上述第一控制器20a,当CPU10生成初始化信号时,该初始化信号通过第一控制器20a同时通过多个输入输出接口发送给每个传感器200,每个传感器200在接收到第一控制器20a发送的初始化信号后,可以将该初始化信号中携带的初始化参数(例如,图像的分辨率、刷新率、曝光时间和增益等)写入传感器200中的寄存器中,在初始化参数写入完成后,传感器200即可完成初始化配置。由于第一控制器20a通过信号处理电路30同时向一个或多个传感器200中的每个传感器200发送初始化信号,因此每个传感器200均能够同时接收到初始化信号,并在同一时间完成初始化配置,避免了各个传感器200所获取的图像出现不同步的现象。若该初始化同步装置100集成在SOC上,当该SOC将各个传感器200获取的图像进行拼接得到全景图像时,由于初始化信号可以通过信号处理电路30同时发送给各个图像传感器200,使得各个传感器200获取的图像是同步输出的,因此拼接得到的全景图像的显示效果较好。Exemplarily, the signal processing circuit 30 has multiple input and output interfaces, wherein the multiple input and output interfaces are connected to the sensors one by one. When the signal processing circuit 30 is in the first state, the multiple input and output interfaces of the signal processing circuit 30 are all Connected to the above-mentioned first controller 20a, when the CPU 10 generates an initialization signal, the initialization signal is sent to each sensor 200 through the first controller 20a through a plurality of input and output interfaces at the same time, and each sensor 200 receives the first controller After the initialization signal sent by 20a, the initialization parameters carried in the initialization signal (for example, image resolution, refresh rate, exposure time and gain, etc.) can be written into the register in the sensor 200, after the initialization parameter is written , the initial configuration of the sensor 200 can be completed. Since the first controller 20a sends an initialization signal to each sensor 200 in one or more sensors 200 at the same time through the signal processing circuit 30, each sensor 200 can receive the initialization signal at the same time, and complete the initialization configuration at the same time, This prevents the images acquired by the sensors 200 from being out of sync. If the initialization synchronization device 100 is integrated on the SOC, when the SOC stitches the images acquired by each sensor 200 to obtain a panoramic image, since the initialization signal can be sent to each image sensor 200 through the signal processing circuit 30 at the same time, each sensor 200 can obtain The images are output synchronously, so the display effect of the stitched panoramic images is better.

进一步的,该CPU 10,还用于控制信号处理电路30处于第二状态,该第二状态用于指示一个或多个控制器20中的每个控制器20通过信号处理电路30与一个传感器200相连。每个控制器20,用于在信号处理电路30处于第二状态时,将CPU 10生成的初始化信号发送给与每个控制器20各自对应的传感器200。Further, the CPU 10 is also used to control the signal processing circuit 30 to be in the second state, and the second state is used to indicate that each controller 20 in the one or more controllers 20 communicates with a sensor 200 through the signal processing circuit 30 connected. Each controller 20 is configured to send the initialization signal generated by the CPU 10 to the sensor 200 corresponding to each controller 20 when the signal processing circuit 30 is in the second state.

示例的,当信号处理电路30处于第二状态时,每个传感器200通过各自的控制器20与CPU 10相连,该CPU 10可以对每个传感器200独立进行控制。For example, when the signal processing circuit 30 is in the second state, each sensor 200 is connected to the CPU 10 through its own controller 20 , and the CPU 10 can control each sensor 200 independently.

在本申请实施例中,在初始化同步装置100完成对各个传感器200的初始化配置后,各个传感器200即可获取图像,但是由于各个传感器200之间存在制造误差,当对各个传感器200均配置相同的初始化参数时,各个传感器200所获取的图像的显示质量(例如清晰度或色彩深度等)会存在差异。为了使得各个传感器200均能够获取到显示质量较高的图像,在通过初始化同步装置100完成对各个传感器200的初始化配置后,CPU 10控制信号处理电路30处于第二状态,每个控制器20可以将CPU 10生成的参数修改信号发送给与每个控制器20各自对应的传感器200。该参数修改信号用于对传感器200的寄存器中记录的初始化参数进行调整,保证每个传感器200均能够获取显示质量较高的图像。由于每个传感器200中的初始化参数均能够被对应的控制器20调节,因此在初始化配置完成后通过该初始化同步装置100对各个传感器200中的初始化参数进行调节的效率较高。In the embodiment of the present application, after the initialization synchronization device 100 completes the initial configuration of each sensor 200, each sensor 200 can acquire an image, but due to the manufacturing error between each sensor 200, when each sensor 200 is configured with the same When the parameters are initialized, the display quality (such as sharpness or color depth, etc.) of the images acquired by each sensor 200 will be different. In order to enable each sensor 200 to obtain images with higher display quality, after the initial configuration of each sensor 200 is completed through the initialization synchronization device 100, the CPU 10 controls the signal processing circuit 30 to be in the second state, and each controller 20 can The parameter modification signal generated by the CPU 10 is sent to the sensor 200 respectively corresponding to each controller 20 . The parameter modification signal is used to adjust the initialization parameters recorded in the registers of the sensors 200, so as to ensure that each sensor 200 can obtain images with high display quality. Since the initialization parameters in each sensor 200 can be adjusted by the corresponding controller 20 , it is more efficient to adjust the initialization parameters in each sensor 200 through the initialization synchronization device 100 after the initialization configuration is completed.

在一种可选的实现方式中,如图4所示,图4是本申请实施例提供的另一种初始化同步装置的框图。该初始化同步装置100还可以包括:系统寄存器40,该系统寄存器40分别与CPU 10和信号处理电路30连接。CPU 10用于控制该系统寄存器40的寄存器值为第一数值,以使信号处理电路30处于第一状态;该CPU 10还用于控制该系统寄存器40的寄存器值为第二数值,以使信号处理电路30处于第二状态。其中,该第一数值与第二数值不同。示例的,该第一数值可以为1,该第二数值可以为0。需要说明的是,图4是以CPU 10控制系统寄存器40的寄存器值,来控制信号处理电路30处于第一状态或第二状态的,在另一种可选的实现方式中,该CPU 10可以直接控制信号处理电路30处于第一状态或第二状态,本申请实施例对此不作具体限定。In an optional implementation manner, as shown in FIG. 4 , FIG. 4 is a block diagram of another initialization synchronization device provided in an embodiment of the present application. The initialization synchronization device 100 may further include: a system register 40 , the system register 40 is connected to the CPU 10 and the signal processing circuit 30 respectively. The CPU 10 is used to control the register value of the system register 40 to a first value, so that the signal processing circuit 30 is in the first state; the CPU 10 is also used to control the register value of the system register 40 to a second value, so that the signal Processing circuit 30 is in a second state. Wherein, the first value is different from the second value. For example, the first value may be 1, and the second value may be 0. It should be noted that, in FIG. 4, the CPU 10 controls the register value of the system register 40 to control the signal processing circuit 30 to be in the first state or the second state. In another optional implementation manner, the CPU 10 may The direct control signal processing circuit 30 is in the first state or the second state, which is not specifically limited in this embodiment of the present application.

可选的,该初始化同步装置100还可以包括:一个或多个输入输出(Input/Output,IO)接口,信号处理电路30通过一个或多个IO接口与一个或多个传感器200一一连接。需要说明的是,图4仅是示意性的画出了一个IO总接口50的示意图,该IO总接口50中包含了与一个或多个传感器200一一连接的一个或多个IO接口。在本申请实施例中,在信号处理电路30处于第一状态时,一个或多个IO接口均连接至第一控制器20a,使得第一控制器20a与一个或多个传感器200中的每个传感器连接;在信号处理电路30处于第二状态时,每个控制器20分别通过一个IO接口与对应的传感器200相连,使得一个或多个控制器20中的每个控制20与对应的传感器200连接。Optionally, the initialization synchronization device 100 may further include: one or more input/output (Input/Output, IO) interfaces, and the signal processing circuit 30 is connected to one or more sensors 200 one by one through one or more IO interfaces. It should be noted that FIG. 4 only schematically shows a schematic diagram of an IO general interface 50 , and the IO general interface 50 includes one or more IO interfaces connected to one or more sensors 200 one by one. In the embodiment of the present application, when the signal processing circuit 30 is in the first state, one or more IO interfaces are connected to the first controller 20a, so that the first controller 20a and each of the one or more sensors 200 Sensor connection; when the signal processing circuit 30 is in the second state, each controller 20 is connected to the corresponding sensor 200 through an IO interface, so that each control 20 in one or more controllers 20 is connected to the corresponding sensor 200 connect.

在本申请实施例中,该初始化同步装置100还包括:连接总线60。该一个或多个控制器20中的每个控制器20通过该连接总线60耦合至CPU 10以及信号处理电路30,该信号处理电路30与IO总接口50之间也可以通过该连接总线60连接。可选的,该连接总线60可以为集成电路(Inter-Integrated Circuit,I2C)连接总线和同步串行端口(SynchronousSerlal Port,SSP)连接总线中的一项或多项。需要说明的是,该I2C连接总线可以包含用于传输数据信号的数据走线,以及用于传输时钟信号的时钟走线;该SSP连接总线可以包含三类信号走线:用于传输数据信号的输入输出数据走线(也称为双向数据走线)、用于传输时钟信号的时钟走线,以及用于传输片选信号的片选走线;该SSP连接总线还可以包含四类信号走线:用于传输数据信号的输入数据走线、用于传输数据信号的输出数据走线、用于传输时钟信号的时钟走线,以及用于传输片选信号的片选走线。应当理解,本申请实施例从功能的角度对初始化同步装置进行划分,实际实现时可以有另外的划分方式,例如多个模块可以结合或者可以集成到另一个系统。各个模块相互之间的耦合可以是通过一些接口实现,这些接口通常是电性通信接口,但是也不排除可能是机械接口或其它的形式接口。因此,作为分离部件说明的模块可以是或者也可以不是物理上分开的,既可以位于一个地方,也可以分布到同一个或不同设备的不同位置上。在本申请的各个实施例中,耦合是指通过特定方式的相互联系,包括直接相连或通过其他设备间接相连。In the embodiment of the present application, the initialization synchronization device 100 further includes: a connection bus 60 . Each controller 20 in the one or more controllers 20 is coupled to the CPU 10 and the signal processing circuit 30 through the connection bus 60, and the signal processing circuit 30 and the IO general interface 50 can also be connected through the connection bus 60 . Optionally, the connection bus 60 may be one or more of an integrated circuit (Inter-Integrated Circuit, I2C) connection bus and a synchronous serial port (Synchronous Serlal Port, SSP) connection bus. It should be noted that the I2C connection bus may include data traces for transmitting data signals, and clock traces for transmitting clock signals; the SSP connection bus may include three types of signal traces: Input and output data traces (also known as bidirectional data traces), clock traces for transmitting clock signals, and chip select traces for transmitting chip select signals; the SSP connection bus can also include four types of signal traces : Input data traces for transmitting data signals, output data traces for transmitting data signals, clock traces for transmitting clock signals, and chip select traces for transmitting chip select signals. It should be understood that the embodiment of the present application divides the initialization synchronization device from a functional point of view, and there may be other division methods in actual implementation, for example, multiple modules may be combined or integrated into another system. The mutual coupling of various modules may be realized through some interfaces, and these interfaces are usually electrical communication interfaces, but it is not excluded that they may be mechanical interfaces or other forms of interfaces. Thus, modules described as separate components may or may not be physically separate, and may be located at one location or distributed to different locations on the same or different devices. In various embodiments of the present application, coupling refers to interconnection in a specific manner, including direct connection or indirect connection through other devices.

可选的,如图4所示,该初始化同步装置100中的信号处理电路30包括:输出处理电路31和输入处理电路32。Optionally, as shown in FIG. 4 , the signal processing circuit 30 in the initialization synchronization device 100 includes: an output processing circuit 31 and an input processing circuit 32 .

在信号处理电路30处于第一状态时,第一控制器20a通过输出处理电路31向一个或多个传感器200中的每个传感器200发送CPU 10生成的信号,例如,该CPU 10生成的信号可以为初始化信号;该第一控制器20a通过输入处理电路32接收该一个或多个传感器200中的每个传感器200将各自生成的响应信号,例如,该每个传感器200的响应信号为传感器200在接收到初始化信号后生成的初始化响应信号。When the signal processing circuit 30 is in the first state, the first controller 20a sends the signal generated by the CPU 10 to each sensor 200 in the one or more sensors 200 through the output processing circuit 31, for example, the signal generated by the CPU 10 may be is an initialization signal; the first controller 20a receives the response signal that each sensor 200 in the one or more sensors 200 will generate respectively through the input processing circuit 32, for example, the response signal of each sensor 200 is the sensor 200 in An initialization response signal generated after an initialization signal is received.

在信号处理电路30处于第二状态时,一个或多个控制器20中的每个控制器20通过输出处理电路31向对应的传感器200发送CPU 10生成的信号,例如,该CPU 10生成的信号可以为参数修改信号;一个或多个控制器20中的每个控制器20通过输入处理电路32接收对应的传感器200的响应信号,例如,该每个传感器20的响应信号为传感器200在接收到参数修改信号后生成的参数修改响应信号。When the signal processing circuit 30 is in the second state, each controller 20 in the one or more controllers 20 sends the signal generated by the CPU 10 to the corresponding sensor 200 through the output processing circuit 31, for example, the signal generated by the CPU 10 The signal may be modified for a parameter; each controller 20 in the one or more controllers 20 receives a corresponding sensor 200 response signal through the input processing circuit 32, for example, the response signal of each sensor 20 is that the sensor 200 receives The parameter modification response signal generated after the parameter modification signal.

需要说明的是,本申请实施例中各个控制器20在接收到传感器200发送的响应信号后,会将该响应信号发送给CPU 10,由CPU 10进行信号处理。It should be noted that, in the embodiment of the present application, after receiving the response signal sent by the sensor 200, each controller 20 will send the response signal to the CPU 10, and the CPU 10 will perform signal processing.

请参考图5,图5是本申请实施例提供的一种输出处理电路31的结构示意图。该输出处理电路包括:一个或多个数字选择器311。在本申请实施例中,一个或多个数字选择器311中至少一个数字选择器311会对应一个传感器和一个控制器。该一个或多个数字选择器311的输出端与对应的传感器连接。Please refer to FIG. 5 , which is a schematic structural diagram of an output processing circuit 31 provided in an embodiment of the present application. The output processing circuit includes: one or more digital selectors 311 . In the embodiment of the present application, at least one digital selector 311 among the one or more digital selectors 311 corresponds to a sensor and a controller. The output terminals of the one or more digital selectors 311 are connected with corresponding sensors.

示例的,如图6所示,图6是图5示出的输出处理电路31中的信号的传输的示意图。当信号处理电路处于第一状态时,输出处理电路31中的信号传输方向为为图6中的实线所在方向,该一个或多个数字选择器311中的每个数字选择器311的输入端口与第一控制器相连,使得该第一控制器能够向一个或多个传感器中的每个传感器同时发送CPU生成的信号;当信号处理电路处于第二状态时,输出处理电路31中的信号传输方向为为图6中的虚线所在方向,该一个或多个数字选择器311中的每个数字选择器311的输入端与对应的控制器相连,使得一个或多个控制器中的每个控制器能够向对应的传感器发送CPU生成的信号。For example, as shown in FIG. 6 , FIG. 6 is a schematic diagram of signal transmission in the output processing circuit 31 shown in FIG. 5 . When the signal processing circuit is in the first state, the signal transmission direction in the output processing circuit 31 is the direction of the solid line in Fig. 6, the input port of each digital selector 311 in the one or more digital selectors 311 Be connected with the first controller, so that the first controller can simultaneously send the signal generated by the CPU to each sensor in one or more sensors; when the signal processing circuit is in the second state, the signal transmission in the output processing circuit 31 The direction is the direction of the dotted line in Fig. 6, the input end of each digital selector 311 in the one or more digital selectors 311 is connected with the corresponding controller, so that each of the one or more controllers controls The sensor can send the signal generated by the CPU to the corresponding sensor.

可选的,每个数字选择器311均包括:第一输入端口T1、第二输入端口T2、状态选择端口S和输出端口Z。每个数字选择器311的第一输入端口T1均与第一控制器连接;每个数字选择器311的第二输入端口T2与对应的控制器连接;每个数字选择器311的状态选择端口S与CPU连接,在一种可选的情况中,每个数字选择器311的状态选择端口S通过系统控制寄存器与CPU连接,也即状态选择端口S与系统控制寄存器连接,系统控制寄存器与CPU连接;每个数字选择器311的输出端口Z与对应的传感器连接。Optionally, each digital selector 311 includes: a first input port T1, a second input port T2, a state selection port S and an output port Z. The first input port T1 of each digital selector 311 is connected with the first controller; the second input port T2 of each digital selector 311 is connected with the corresponding controller; the state selection port S of each digital selector 311 Connect with CPU, in an optional situation, the state selection port S of each digital selector 311 is connected with CPU through system control register, namely state selection port S is connected with system control register, and system control register is connected with CPU ; The output port Z of each digital selector 311 is connected with the corresponding sensor.

对于每个数字选择器311,在该数字选择器311的状态选择端口S接收到CPU发送的用于指示信号处理电路处于第一状态的指示信号时,该数字选择器311的第一输入端口T1处于开启状态,该数字选择器的第二输入端口T2处于关断状态,从而使得一个或多个传感器中的每个传感器均通过该输出处理电路31与第一控制器相连。For each digital selector 311, when the state selection port S of the digital selector 311 receives the indication signal sent by the CPU to indicate that the signal processing circuit is in the first state, the first input port T1 of the digital selector 311 In the on state, the second input port T2 of the digital selector is in the off state, so that each of the one or more sensors is connected to the first controller through the output processing circuit 31 .

对于每个数字选择器311,在该数字选择器311的状态选择端口S接收到CPU发送的用于指示信号处理电路处于第二状态的指示信号时,该数字选择器311的第一输入端口T1处于关断状态,该数字选择器的第二输入端口T2处于开启状态,从而使得一个或多个传感器中的每个传感器均通过该输出处理电路31与对应的控制器相连。For each digital selector 311, when the state selection port S of the digital selector 311 receives the indication signal sent by the CPU to indicate that the signal processing circuit is in the second state, the first input port T1 of the digital selector 311 In the OFF state, the second input port T2 of the digital selector is in the ON state, so that each of the one or more sensors is connected to the corresponding controller through the output processing circuit 31 .

假设本申请实施例中的初始化同步装置中的连接总线为I2C连接总线,则该输出处理电路31可以包括:用于输出数据信号的第一输出处理电路31a,以及用于输出时钟信号的第二输出处理电路31b。其中,I2C连接总线中的数据走线与该第一输出处理电路31a连接,I2C连接总线中的时钟走线与该第二输出处理电路31b连接。该第一输出处理电路31a与第二输出处理电路31b均可以包括:一个或多个信号选择器311。该第一输出处理电路31a中的每个数字选择器311的第一输入端T1口均与第一控制器的数据端口连接,该第一输出处理电路中31a的每个数字选择器311的第二输入端口T2与对应的控制器的数据端口连接;该第二输出处理电路31b中的每个数字选择器311的第一输入端口T1均与第一控制器的时钟端口连接,该第二输出处理电路31b中的每个数字选择器311的第二输入端口T2与对应的控制器的时钟端口连接。Assuming that the connection bus in the initialization synchronization device in the embodiment of the present application is an I2C connection bus, the output processing circuit 31 may include: a first output processing circuit 31a for outputting data signals, and a second output processing circuit 31a for outputting clock signals Output processing circuit 31b. Wherein, the data wires in the I2C connection bus are connected to the first output processing circuit 31a, and the clock wires in the I2C connection bus are connected to the second output processing circuit 31b. Both the first output processing circuit 31 a and the second output processing circuit 31 b may include: one or more signal selectors 311 . The first input terminal T1 of each digital selector 311 in the first output processing circuit 31a is connected to the data port of the first controller, and the first input port T1 of each digital selector 311 in the first output processing circuit 31a The two input ports T2 are connected with the data port of the corresponding controller; the first input port T1 of each digital selector 311 in the second output processing circuit 31b is connected with the clock port of the first controller, and the second output The second input port T2 of each digital selector 311 in the processing circuit 31b is connected to the clock port of the corresponding controller.

请参考图7,图7是本申请实施例提供的一种输入处理电路32的结构示意图。该输入处理电路32可以包括:与门逻辑电路321。示例的,如图8所示,图8是图7示出的输出处理电路31中的信号的传输的示意图。当信号处理电路处于第一状态时,输入处理电路32中的信号传输方向为图8中的实线所在方向,一个或多个传感器中的每个传感器将各自生成的响应信号经过与门逻辑电路321处理后发送给第一控制器;当信号处理电路处于第二状态时,输入处理电路32中的信号传输方向为图8中的虚线所在方向,一个或多个控制器中的每个控制器接收对应的传感器生成的响应信号。Please refer to FIG. 7 , which is a schematic structural diagram of an input processing circuit 32 provided in an embodiment of the present application. The input processing circuit 32 may include: an AND gate logic circuit 321 . For example, as shown in FIG. 8 , FIG. 8 is a schematic diagram of signal transmission in the output processing circuit 31 shown in FIG. 7 . When the signal processing circuit is in the first state, the signal transmission direction in the input processing circuit 32 is the direction of the solid line in FIG. 321 is processed and sent to the first controller; when the signal processing circuit is in the second state, the signal transmission direction in the input processing circuit 32 is the direction of the dotted line in Figure 8, and each controller in one or more controllers A response signal generated by a corresponding sensor is received.

可选的,该输入处理电路32还可以包括:数字选择器322。在本申请实施例中,一个或多个传感器中的每个传感器均和与门逻辑电路321的输入端连接;该与门逻辑电路321的输出端与信号选择器322的第一输入端连接;该信号选择器322的输出端与第一控制器连接;与第一控制器对应的第一传感器还和信号选择器322的第二输入端连接。如图8所示,当信号处理电路处于第一状态时,与门逻辑电路322将处理后的信号通过信号选择器322发送给第一控制器;当信号处理电路处于第二状态时,信号选择器322将第一传感器生成的响应信号发送给第一控制器。Optionally, the input processing circuit 32 may further include: a digital selector 322 . In the embodiment of the present application, each of the one or more sensors is connected to the input end of the AND gate logic circuit 321; the output end of the AND gate logic circuit 321 is connected to the first input end of the signal selector 322; The output end of the signal selector 322 is connected to the first controller; the first sensor corresponding to the first controller is also connected to the second input end of the signal selector 322 . As shown in Figure 8, when the signal processing circuit is in the first state, the AND gate logic circuit 322 sends the processed signal to the first controller through the signal selector 322; when the signal processing circuit is in the second state, the signal selection The controller 322 sends the response signal generated by the first sensor to the first controller.

假设本申请实施例中的初始化同步装置中的连接总线为I2C连接总线,则该输入处理电路32可以包括:用于输入数据信号的第一输入处理电路32a,以及用于输入时钟信号的第二输入处理电路32b。其中,I2C连接总线中的数据走线与该第一输入处理电路32a连接,I2C连接总线中的时钟走线与该第二输入处理电路32b连接。该第一输入处理电路32a与第二输入处理电路32b均包括:与门逻辑电路321和信号选择器322,该与门逻辑电路321和信号选择器322之间的连接方式在第一输入处理电路32a和第二输入处理电路32b均相同。以下实施例对与门逻辑电路321和信号选择器322之间的具体连接方式进行示意性说明:Assuming that the connection bus in the initialization synchronization device in the embodiment of the present application is an I2C connection bus, the input processing circuit 32 may include: a first input processing circuit 32a for inputting data signals, and a second input processing circuit 32a for inputting clock signals Input processing circuit 32b. Wherein, the data wires in the I2C connection bus are connected to the first input processing circuit 32a, and the clock wires in the I2C connection bus are connected to the second input processing circuit 32b. Both the first input processing circuit 32a and the second input processing circuit 32b include: an AND gate logic circuit 321 and a signal selector 322, and the connection mode between the AND gate logic circuit 321 and the signal selector 322 is in the first input processing circuit 32a and the second input processing circuit 32b are identical. The following embodiment schematically illustrates the specific connection mode between the AND gate logic circuit 321 and the signal selector 322:

示例的,该与门逻辑电路321具有输出端口Z以及与一个或多个传感器一一对应一个或多个输入端口(T0、T1、T2、...、Tn),该数字选择器322具有第一输入端口T1、第二输入端口T2、状态选择端口S和输出端口Z。该一个或多个传感器中的每个传感器和与门逻辑电路321中对应的输入端口连接;该与门逻辑电路321的输出端口Z与数字选择器的第一输入端口T1连接;该一个或多个传感器中的第一传感器与数字选择器322的第二输入端口T2连接;该数字选择器322的输出端口Z与第一控制器连接;该一个或多个传感器中除第一传感器的每个传感器直接与对应控制器连接;该数字选择器322的状态选择端口S与CPU连接,示例的,该数字选择器322的状态选择端口S与系统控制寄存器连接,该系统控制寄存器需要与CPU连接。Exemplarily, the AND logic circuit 321 has an output port Z and one or more input ports (T0, T1, T2, . . . , Tn) corresponding to one or more sensors, and the digital selector 322 has a first An input port T1, a second input port T2, a state selection port S and an output port Z. Each sensor in the one or more sensors is connected to the corresponding input port in the AND gate logic circuit 321; the output port Z of the AND gate logic circuit 321 is connected to the first input port T1 of the digital selector; the one or more The first sensor in the three sensors is connected with the second input port T2 of the digital selector 322; the output port Z of the digital selector 322 is connected with the first controller; each of the one or more sensors except the first sensor The sensor is directly connected to the corresponding controller; the state selection port S of the digital selector 322 is connected to the CPU, for example, the state selection port S of the digital selector 322 is connected to the system control register, and the system control register needs to be connected to the CPU.

在数字选择器322的状态选择端口接收到CPU发送的用于指示信号处理电路处于第一状态的指示信号时,该数字选择器322的第一输入端口T1处于开启状态,该数字选择器322的第二输入端口T2处于关断状态。此时,一个或多个传感器中的各个传感器生成的响应信号经过与门逻辑电路321处理后,发送给第一传感器。需要说明的是,在信号处理电路处于第一状态时,CPU可以控制其与一个或多个控制器中除第一控制器之外的每个控制器之间的连接中断,此时,一个或多个传感器中除第一传感器之外的每个传感器生成的响应信号虽然可以发送给对应的控制器,但是这些控制器不会将接收到的响应信号发送给CPU,因此,该CPU仅能够接收到通过与门逻辑电路处理后通过第一控制器发送的信号,该CPU仅对通过第一控制器发送的信号进行处理即可。When the state selection port of the digital selector 322 receives the indication signal sent by the CPU to indicate that the signal processing circuit is in the first state, the first input port T1 of the digital selector 322 is in an open state, and the digital selector 322 The second input port T2 is in an off state. At this time, the response signals generated by each of the one or more sensors are processed by the AND gate logic circuit 321 and sent to the first sensor. It should be noted that, when the signal processing circuit is in the first state, the CPU may control the interruption of the connection between it and each of the one or more controllers except the first controller, at this time, one or more Although the response signals generated by each of the multiple sensors except the first sensor can be sent to the corresponding controllers, these controllers will not send the received response signals to the CPU, so the CPU can only receive When the signal sent by the first controller is processed by the AND gate logic circuit, the CPU only needs to process the signal sent by the first controller.

在数字选择器322的状态选择端口接收到CPU发送的用于指示信号处理电路处于第二状态的指示信号时,该数字选择器322的第二输入端口T2处于开启状态,该数字选择器322的第一输入端口T1处于关断状态。此时,第一传感器生成的响应信号可以通过该数字选择器322发送给第一控制器,一个或多个传感器中除第一传感器之外的每个传感器生成的响应信号直接发送给对应的控制器。需要说明的是,在信号处理电路处于第二状态时,CPU需要控制其与一个或多个控制器中每个控制器之间能够正常连接,此时,一个或多个传感器中的每个传感器生成的响应信号会通过过各自对应的控制器发送给CPU,使得该CPU能够对每个控制器发送的信号进行处理。When the state selection port of the digital selector 322 receives the indication signal sent by the CPU to indicate that the signal processing circuit is in the second state, the second input port T2 of the digital selector 322 is in an open state, and the digital selector 322 The first input port T1 is in an off state. At this time, the response signal generated by the first sensor can be sent to the first controller through the digital selector 322, and the response signal generated by each sensor in one or more sensors except the first sensor is directly sent to the corresponding controller. device. It should be noted that when the signal processing circuit is in the second state, the CPU needs to control the normal connection between it and each of the one or more controllers, and at this time, each of the one or more sensors The generated response signals are sent to the CPU through their corresponding controllers, so that the CPU can process the signals sent by each controller.

在一种可选的实现方式中,第一输入处理电路32a中的数字选择器322输出端口与第一控制器的数据端口连接;第二输入处理电路32b中的数字选择器322输出端口与第一控制器的时钟端口连接。一个或多个传感器中除第一传感器之外的每个传感器分别与对应的控制器的数据端口和时钟端口连接。In an optional implementation, the output port of the digital selector 322 in the first input processing circuit 32a is connected to the data port of the first controller; the output port of the digital selector 322 in the second input processing circuit 32b is connected to the first controller. A controller clock port connection. Each of the one or more sensors except the first sensor is respectively connected to the data port and the clock port of the corresponding controller.

在本申请实施例中,如图3或图4所示,该CPU 10还用于:在对每个传感器200进行初始化处理之前,向每个传感器200发送复位指令,以清除每个传感器200中的寄存器存储的初始化参数。需要说明的是,CPU 10在向每个传感器200发送复位指令时,CPU 10可以控制信号处理电路30处于第一状态,也可以控制信号处理电路30处于第二状态,本申请实施例对此不做限定。In the embodiment of the present application, as shown in FIG. 3 or FIG. 4 , the CPU 10 is further configured to: before each sensor 200 is initialized, send a reset command to each sensor 200 to clear the The registers store the initialization parameters. It should be noted that when the CPU 10 sends a reset command to each sensor 200, the CPU 10 may control the signal processing circuit 30 to be in the first state, or may control the signal processing circuit 30 to be in the second state, which is not discussed in the embodiment of the present application. Do limited.

在一种可选的实现方式中,由于各个传感器200内部均存在一些制造误差,因此,在初始化同步装置100对每个传感器200进行初始化处理之后,各个传感器200可能会经过不同的时长将获取到的图像传输给初始化同步装置100,通常情况下,若两个传感器200将获取到的图像传输给初始化同步装置100之间时间差在0.15微秒内,则可以认为该两个传感器获取的图像信息同步。在本申请实施例中,为了进一步的提高后续合成的拼接图像的显示效果,该CPU 10还用于:在对每个传感器200进行初始化处理30之后,接收每个传感器200获取的图像信息;根据图像信息中的同步信号,判断任意两个传感器200获取的图像信息是否同步;对获取的图像信息不同步的传感器200进行补偿调节。从而使得各个传感器200所获取的图像是同步的,进而提高了后续拼接形成的全景图像的显示效果。In an optional implementation, since there are some manufacturing errors inside each sensor 200, after the initialization synchronization device 100 initializes each sensor 200, each sensor 200 may acquire the Usually, if the time difference between the two sensors 200 transmitting the captured images to the initialization synchronization device 100 is within 0.15 microseconds, it can be considered that the image information acquired by the two sensors is synchronized . In the embodiment of the present application, in order to further improve the display effect of the subsequently synthesized spliced images, the CPU 10 is also configured to: receive the image information acquired by each sensor 200 after performing initialization processing 30 on each sensor 200; The synchronization signal in the image information is used to judge whether the image information acquired by any two sensors 200 is synchronized; to compensate and adjust the sensor 200 whose acquired image information is not synchronized. Therefore, the images acquired by each sensor 200 are synchronized, thereby improving the display effect of the panoramic image formed by subsequent splicing.

综上所述,本申请实施例提供的初始化同步在装置,包括:CPU、一个或多个控制器以及信号处理电路。CPU在控制信号处理电路处于第一状态时,第一控制器将CPU生成的初始化信号通过信号处理电路同时发送至一个或多个传感器中的每个传感器,使得每个传感器均能够同时接收到初始化信号,并在同一时间完成初始化配置,避免了各个传感器所获取的图像出现不同步的现象。若该初始化同步装置集成在SOC上,当该SOC将各个传感器获取的图像进行拼接得到全景图像时,由于初始化信号可以通过信号处理电路同时发送给各个图像传感器,使得各个传感器获取的图像是同步输出的,因此拼接得到的全景图像的显示效果较好。进一步的,该CPU还可以控制信号处理电路处于第二状态,每个控制器可以将CPU生成的参数修改信号发送给与每个控制器各自对应的传感器,该参数修改信号用于对传感器的寄存器中记录的初始化参数进行调整,保证每个传感器均能够获取显示质量较高的图像。由于每个传感器中的初始化参数均能够被对应的控制器调节,因此在初始化配置完成后通过该初始化同步装置对各个传感器中的初始化参数进行调节的效率较高。In summary, the initialization synchronization device provided by the embodiment of the present application includes: a CPU, one or more controllers, and a signal processing circuit. When the CPU controls the signal processing circuit to be in the first state, the first controller simultaneously sends the initialization signal generated by the CPU to each of the one or more sensors through the signal processing circuit, so that each sensor can simultaneously receive the initialization signal. signal, and complete the initialization configuration at the same time, avoiding the asynchronous phenomenon of the images acquired by each sensor. If the initialization synchronization device is integrated on the SOC, when the SOC stitches the images acquired by each sensor to obtain a panoramic image, since the initialization signal can be sent to each image sensor through the signal processing circuit at the same time, the images acquired by each sensor are output synchronously. Therefore, the display effect of the panoramic image obtained by splicing is better. Further, the CPU can also control the signal processing circuit to be in the second state, and each controller can send the parameter modification signal generated by the CPU to the respective sensor corresponding to each controller, and the parameter modification signal is used to modify the register of the sensor Adjust the initialization parameters recorded in , to ensure that each sensor can obtain images with high display quality. Since the initialization parameters in each sensor can be adjusted by the corresponding controller, it is more efficient to adjust the initialization parameters in each sensor through the initialization synchronization device after the initialization configuration is completed.

本申请实施例还提供了一种初始化同步方法,该方法应用于图3或4示出的初始化同步装置,该方法可以包括:The embodiment of the present application also provides an initialization synchronization method, which is applied to the initialization synchronization device shown in Figure 3 or 4, and the method may include:

步骤A1、CPU控制信号处理电路处于第一状态,第一状态用于指示第一控制器通过信号处理电路与一个或多个传感器中每个传感器连接,第一控制器为一个或多个控制器中的一个控制器。Step A1, the CPU controls the signal processing circuit to be in the first state, the first state is used to indicate that the first controller is connected to each sensor in one or more sensors through the signal processing circuit, and the first controller is one or more controllers A controller in .

步骤B1、第一控制器将CPU生成的初始化信号通过信号处理电路发送至一个或多个传感器中的每个传感器。Step B1, the first controller sends the initialization signal generated by the CPU to each of the one or more sensors through the signal processing circuit.

可选的,该初始化同步方法还可以包括:Optionally, the initialization synchronization method may also include:

步骤A2、CPU控制信号处理电路处于第二状态,第二状态用于指示一个或多个控制器中的每个控制器通过信号处理电路与一个传感器相连;Step A2, the CPU controls the signal processing circuit to be in a second state, and the second state is used to indicate that each of the one or more controllers is connected to a sensor through the signal processing circuit;

步骤B2、每个控制器将CPU生成的初始化信号或参数修改信号发送给与每个控制器对应的传感器。Step B2, each controller sends the initialization signal or parameter modification signal generated by the CPU to the sensor corresponding to each controller.

可选的,在CPU控制所述信号处理电路处于第一状态后,该初始化同步方法还可以包括:Optionally, after the CPU controls the signal processing circuit to be in the first state, the initialization synchronization method may further include:

步骤A3、第一控制器通过输出处理电路向一个或多个传感器中的每个传感器发送CPU生成的信号。Step A3, the first controller sends the signal generated by the CPU to each of the one or more sensors through the output processing circuit.

步骤B3、第一控制器通过输入处理电路接收一个或多个传感器中的每个传感器各自生成的响应信号。Step B3, the first controller receives the respective response signals generated by each of the one or more sensors through the input processing circuit.

可选的,上述步骤A3可以包括:一个或多个数字选择器中每个数字选择器控制各自的输入端均与第一控制器相连,以使第一控制器通过一个或多个数字选择器向一个或多个传感器发送CPU生成的信号。Optionally, the above step A3 may include: each of the one or more digital selectors controls its respective input terminal to be connected to the first controller, so that the first controller passes through one or more digital selectors Sends a CPU-generated signal to one or more sensors.

在CPU控制信号处理电路处于第二状态后,该初始化同步方法还可以包括:一个或多个数字选择器中每个数字选择器控制各自的输入端与对应的控制器相连。After the CPU controls the signal processing circuit to be in the second state, the initialization synchronization method may further include: each digital selector among the one or more digital selectors controls its respective input terminal to be connected to a corresponding controller.

可选的,上述步骤B3可以包括:第一控制器接收通过与门逻辑电路将接收的一个或多个传感器中的每个传感器各自生成的响应信号经过处理后的信号。Optionally, the above step B3 may include: the first controller receives the signal after processing the response signal generated by each of the one or more sensors to be received by the AND gate logic circuit.

在CPU控制信号处理电路处于第二状态后,该初始化同步方法还可以包括:一个或多个控制器中的每个控制器接收对应的传感器生成的响应信号。After the CPU controls the signal processing circuit to be in the second state, the initialization synchronization method may further include: each of the one or more controllers receives a response signal generated by a corresponding sensor.

可选的,上述步骤B3具体包括:第一控制器接收与门逻辑电路将处理后的信号通过信号选择器发送的信号。Optionally, the above step B3 specifically includes: the first controller receives the signal sent by the AND gate logic circuit through the signal selector after processing the signal.

在CPU控制信号处理电路处于第二状态后,该初始化同步方法还可以包括:信号选择器将第一传感器生成的响应信号发送给第一控制器。After the CPU controls the signal processing circuit to be in the second state, the initialization synchronization method may further include: the signal selector sends the response signal generated by the first sensor to the first controller.

可选的,在CPU控制信号处理电路处于第一状态后,该初始化同步方法还可以包括:信号处理电路控制一个或多个IO接口均连接至第一控制器;Optionally, after the CPU controls the signal processing circuit to be in the first state, the initialization synchronization method may further include: the signal processing circuit controls one or more IO interfaces to be connected to the first controller;

在CPU控制信号处理电路处于第二状态后,该初始化同步方法还可以包括:信号处理电路控制每个控制器分别通过一个IO接口与对应的传感器相连。After the CPU controls the signal processing circuit to be in the second state, the initialization synchronization method may further include: the signal processing circuit controls each controller to be connected to a corresponding sensor through an IO interface.

可选的,上述步骤A1中的CPU控制信号处理电路处于第一状态,可以包括:CPU控制系统寄存器的寄存器值为第一数值,以使信号处理电路处于第一状态。Optionally, the CPU controlling the signal processing circuit to be in the first state in the above step A1 may include: the CPU controlling the register value of the system register to be the first value, so that the signal processing circuit is in the first state.

可选的,上述步骤A2中的CPU控制信号处理电路处于第二状态,可以包括:CPU控制系统寄存器的寄存器值为第二数值,以使信号处理电路处于第二状态,其中,第一数值和第二数值不同。Optionally, the CPU controlling the signal processing circuit in the above step A2 to be in the second state may include: the register value of the CPU controlling the system register is the second value, so that the signal processing circuit is in the second state, wherein the first value and The second value is different.

可选的,该初始化同步方法还可以包括:在对每个传感器进行初始化处理之前,CPU向每个传感器发送复位指令,以清除每个传感器中的初始化参数。Optionally, the initialization synchronization method may further include: before performing initialization processing on each sensor, the CPU sends a reset instruction to each sensor, so as to clear the initialization parameters in each sensor.

可选的,该初始化同步方法还可以包括:Optionally, the initialization synchronization method may also include:

步骤A4、在对每个传感器进行初始化处理之后,CPU接收每个传感器获取的图像信息。Step A4, after each sensor is initialized, the CPU receives the image information acquired by each sensor.

步骤B4、CPU根据图像信息中的同步信号,判断任意两个传感器获取的图像信息是否同步。Step B4, the CPU judges whether the image information acquired by any two sensors is synchronized according to the synchronization signal in the image information.

步骤C4、CPU对获取的图像信息不同步的传感器进行补偿调节。Step C4, the CPU compensates and adjusts the sensors whose acquired image information is not synchronized.

需要说明的是,上述初始化同步方法的原理可以参考前述对初始化同步装置的实施例中的对应部分,在此不再赘述。It should be noted that, for the principle of the above initialization synchronization method, reference may be made to the corresponding part in the aforementioned embodiment of the initialization synchronization device, which will not be repeated here.

本申请实施例还提供了一种摄像机,该摄像机可以为全景摄像机,该摄像机可以包括:多个摄像头和SOC,该SOC包括:图3或4示出的初始化同步装置,每个摄像头均包括传感器,该传感器可以为图像传感器,每个传感器均与初始化同步装置连接。The embodiment of the present application also provides a camera, the camera can be a panoramic camera, the camera can include: a plurality of cameras and an SOC, the SOC includes: the initialization synchronization device shown in Figure 3 or 4, each camera includes a sensor , the sensor may be an image sensor, and each sensor is connected to the initialization synchronization device.

以上所述仅为本申请的较佳实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above descriptions are only preferred embodiments of the application, and are not intended to limit the application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the application shall be included in the protection of the application. within range.

Claims (21)

1.一种初始化同步装置,其特征在于,包括:中央处理单元CPU、一个或多个控制器以及信号处理电路,其中,所述一个或多个控制器中的每个控制器均耦合至所述CPU以及所述信号处理电路,所述信号处理电路与所述初始化同步装置外部的一个或多个传感器连接;1. A synchronization device for initialization, comprising: a central processing unit CPU, one or more controllers and a signal processing circuit, wherein each controller in the one or more controllers is coupled to the The CPU and the signal processing circuit, the signal processing circuit is connected to one or more sensors outside the initialization synchronization device; 所述CPU,用于控制所述信号处理电路处于第一状态,所述第一状态用于指示第一控制器通过所述信号处理电路与所述一个或多个传感器中每个传感器连接,所述第一控制器为所述一个或多个控制器中的一个控制器;The CPU is configured to control the signal processing circuit to be in a first state, and the first state is used to instruct the first controller to be connected to each sensor in the one or more sensors through the signal processing circuit, so said first controller is a controller of said one or more controllers; 所述第一控制器,用于在所述信号处理电路处于所述第一状态时,将所述CPU生成的初始化信号通过所述信号处理电路同时发送至所述一个或多个传感器中的每个传感器;The first controller is configured to simultaneously send the initialization signal generated by the CPU to each of the one or more sensors through the signal processing circuit when the signal processing circuit is in the first state a sensor; 所述CPU,还用于控制所述信号处理电路处于第二状态,所述第二状态用于指示所述一个或多个控制器中的每个控制器通过所述信号处理电路与一个传感器相连;The CPU is further configured to control the signal processing circuit to be in a second state, and the second state is used to indicate that each of the one or more controllers is connected to a sensor through the signal processing circuit ; 每个控制器,用于在所述信号处理电路处于所述第二状态时,将所述CPU生成的所述初始化信号或参数修改信号发送给与所述每个控制器对应的传感器,所述参数修改信号用于对所述传感器中记录的初始化参数进行调整,所述初始化参数为在对每个所述传感器进行初始化处理的过程中,所述传感器接收到的初始化信号中携带的参数。Each controller is configured to send the initialization signal or parameter modification signal generated by the CPU to a sensor corresponding to each controller when the signal processing circuit is in the second state, the The parameter modification signal is used to adjust the initialization parameter recorded in the sensor, and the initialization parameter is the parameter carried in the initialization signal received by the sensor during the initialization process of each sensor. 2.根据权利要求1所述的初始化同步装置,其特征在于,所述信号处理电路包括:输出处理电路和输入处理电路;2. The initialization synchronization device according to claim 1, wherein the signal processing circuit comprises: an output processing circuit and an input processing circuit; 在所述信号处理电路处于所述第一状态时,所述第一控制器通过所述输出处理电路向所述一个或多个传感器中的每个传感器发送所述CPU生成的信号;when the signal processing circuit is in the first state, the first controller sends the CPU-generated signal to each of the one or more sensors via the output processing circuit; 在所述信号处理电路处于所述第一状态时,所述第一控制器通过所述输入处理电路接收所述一个或多个传感器中的每个传感器各自生成的响应信号。When the signal processing circuit is in the first state, the first controller receives, through the input processing circuit, a respective generated response signal of each of the one or more sensors. 3.根据权利要求2所述的初始化同步装置,其特征在于,3. The initialization synchronization device according to claim 2, characterized in that, 所述输出处理电路包括:一个或多个数字选择器,所述一个或多个数字选择器中每个数字选择器的输出端与对应的传感器连接;The output processing circuit includes: one or more digital selectors, the output end of each digital selector in the one or more digital selectors is connected to the corresponding sensor; 当所述信号处理电路处于所述第一状态时,所述一个或多个数字选择器中每个数字选择器的输入端均与所述第一控制器相连;When the signal processing circuit is in the first state, the input terminal of each digital selector in the one or more digital selectors is connected to the first controller; 当所述信号处理电路处于所述第二状态时,所述一个或多个数字选择器中每个数字选择器的输入端与对应的控制器相连。When the signal processing circuit is in the second state, an input terminal of each digital selector in the one or more digital selectors is connected to a corresponding controller. 4.根据权利要求3所述的初始化同步装置,其特征在于,4. The initialization synchronization device according to claim 3, wherein: 每个所述数字选择器均包括第一输入端口、第二输入端口、状态选择端口和输出端口,每个所述数字选择器的第一输入端口均与所述第一控制器连接,每个所述数字选择器的第二输入端口与对应的控制器连接,每个所述数字选择器的状态选择端口均与所述CPU连接,每个所述数字选择器的输出端口与对应的传感器连接;Each of the digital selectors includes a first input port, a second input port, a state selection port and an output port, the first input port of each of the digital selectors is connected to the first controller, each The second input port of the digital selector is connected to the corresponding controller, the state selection port of each digital selector is connected to the CPU, and the output port of each digital selector is connected to the corresponding sensor ; 其中,对于每个所述数字选择器,在所述数字选择器的状态选择端口接收到所述CPU发送的用于指示所述信号处理电路处于所述第一状态的指示信号时,所述第一输入端口处于开启状态,所述第二输入端口处于关断状态;Wherein, for each of the digital selectors, when the state selection port of the digital selector receives an indication signal sent by the CPU to indicate that the signal processing circuit is in the first state, the second One input port is in an open state, and the second input port is in an off state; 对于每个所述数字选择器,在所述数字选择器的状态选择端口接收到所述CPU发送的用于指示所述信号处理电路处于所述第二状态的指示信号时,所述第一输入端口处于关断状态,所述第二输入端口处于开启状态。For each of the digital selectors, when the state selection port of the digital selector receives an indication signal sent by the CPU to indicate that the signal processing circuit is in the second state, the first input The port is in an off state, and the second input port is in an on state. 5.根据权利要求4所述的初始化同步装置,其特征在于,5. The initialization synchronization device according to claim 4, characterized in that, 所述输出处理电路包括:用于输出数据信号的第一输出处理电路,以及用于输出时钟信号的第二输出处理电路;The output processing circuit includes: a first output processing circuit for outputting a data signal, and a second output processing circuit for outputting a clock signal; 所述第一输出处理电路中的每个所述数字选择器的第一输入端口均与所述第一控制器的数据端口连接,所述第一输出处理电路中的每个所述数字选择器的第二输入端口与对应的控制器的数据端口连接,The first input port of each of the digital selectors in the first output processing circuit is connected to the data port of the first controller, and each of the digital selectors in the first output processing circuit The second input port of is connected to the data port of the corresponding controller, 所述第二输出处理电路中的每个所述数字选择器的第一输入端口均与所述第一控制器的时钟端口连接,所述第二输出处理电路中的每个所述数字选择器的第二输入端口与对应的控制器的时钟端口连接。The first input port of each of the digital selectors in the second output processing circuit is connected to the clock port of the first controller, and each of the digital selectors in the second output processing circuit The second input port of is connected to the clock port of the corresponding controller. 6.根据权利要求2所述的初始化同步装置,其特征在于,6. The initialization synchronization device according to claim 2, characterized in that, 所述输入处理电路包括:与门逻辑电路;The input processing circuit includes: an AND gate logic circuit; 当所述信号处理电路处于所述第一状态时,所述与门逻辑电路将接收的所述一个或多个传感器中的每个传感器各自生成的响应信号经过处理后,发送给所述第一控制器;When the signal processing circuit is in the first state, the AND gate logic circuit processes the received response signal generated by each sensor in the one or more sensors, and sends it to the first controller; 当所述信号处理电路处于所述第二状态时,所述一个或多个控制器中的每个控制器接收对应的传感器生成的响应信号。Each of the one or more controllers receives a corresponding sensor-generated response signal when the signal processing circuit is in the second state. 7.根据权利要求6所述的初始化同步装置,其特征在于,7. The initialization synchronization device according to claim 6, characterized in that, 所述输入处理电路还包括:信号选择器;The input processing circuit also includes: a signal selector; 所述一个或多个传感器中的每个传感器均与所述与门逻辑电路的输入端连接,所述与门逻辑电路的输出端与所述信号选择器的第一输入端连接,所述信号选择器的输出端与所述第一控制器连接,与所述第一控制器对应的第一传感器还和所述信号选择器的第二输入端连接;Each sensor in the one or more sensors is connected to the input terminal of the AND gate logic circuit, the output terminal of the AND gate logic circuit is connected to the first input terminal of the signal selector, and the signal The output end of the selector is connected to the first controller, and the first sensor corresponding to the first controller is also connected to the second input end of the signal selector; 其中,当所述信号处理电路处于所述第一状态时,所述与门逻辑电路将处理后的信号通过所述信号选择器发送给所述第一控制器;Wherein, when the signal processing circuit is in the first state, the AND gate logic circuit sends the processed signal to the first controller through the signal selector; 当所述信号处理电路处于所述第二状态时,所述信号选择器将所述第一传感器生成的响应信号发送给所述第一控制器。When the signal processing circuit is in the second state, the signal selector sends the response signal generated by the first sensor to the first controller. 8.根据权利要求6所述的初始化同步装置,其特征在于,8. The initialization synchronization device according to claim 6, characterized in that, 所述输入处理电路包括:用于输入数据信号的第一输入处理电路,以及用于输入时钟信号的第二输入处理电路。The input processing circuit includes: a first input processing circuit for inputting a data signal, and a second input processing circuit for inputting a clock signal. 9.根据权利要求1至8任一所述的初始化同步装置,其特征在于,所述初始化同步装置还包括:系统寄存器,所述系统寄存器分别与所述CPU和所述信号处理电路连接;9. The initialization synchronization device according to any one of claims 1 to 8, wherein the initialization synchronization device further comprises: a system register, the system register being connected to the CPU and the signal processing circuit respectively; 所述CPU用于控制所述系统寄存器的寄存器值为第一数值,以使所述信号处理电路处于所述第一状态;The register value used by the CPU to control the system register is a first value, so that the signal processing circuit is in the first state; 所述CPU还用于控制所述系统寄存器的寄存器值为第二数值,以使所述信号处理电路处于所述第二状态,其中,所述第一数值和所述第二数值不同。The CPU is further configured to control the register value of the system register to a second value, so that the signal processing circuit is in the second state, wherein the first value is different from the second value. 10.根据权利要求1至8任一所述的初始化同步装置,其特征在于,所述初始化同步装置还包括一个或多个输入输出IO接口,所述信号处理电路通过一个或多个IO接口与所述一个或多个传感器一一连接;10. The initialization synchronization device according to any one of claims 1 to 8, characterized in that, the initialization synchronization device also includes one or more input and output IO interfaces, and the signal processing circuit communicates with one or more IO interfaces The one or more sensors are connected one by one; 其中,在所述信号处理电路处于所述第一状态时,所述一个或多个IO接口均连接至所述第一控制器;Wherein, when the signal processing circuit is in the first state, the one or more IO interfaces are all connected to the first controller; 在所述信号处理电路处于所述第二状态时,每个所述控制器分别通过一个IO接口与对应的传感器相连。When the signal processing circuit is in the second state, each of the controllers is respectively connected to the corresponding sensor through an IO interface. 11.根据权利要求1至8任一所述的初始化同步装置,其特征在于,11. The initialization synchronization device according to any one of claims 1 to 8, characterized in that: 所述CPU还用于:在对每个所述传感器进行初始化处理之前,向每个所述传感器发送复位指令,以清除每个所述传感器中的初始化参数。The CPU is further configured to: before performing initialization processing on each of the sensors, send a reset instruction to each of the sensors, so as to clear initialization parameters in each of the sensors. 12.根据权利要求1至8任一所述的初始化同步装置,其特征在于,所述CPU还用于:12. The initialization synchronization device according to any one of claims 1 to 8, wherein the CPU is further used for: 在对每个所述传感器进行初始化处理之后,接收每个所述传感器获取的图像信息;After performing initialization processing on each of the sensors, receiving image information acquired by each of the sensors; 根据所述图像信息中的同步信号,判断任意两个传感器获取的图像信息是否同步;According to the synchronization signal in the image information, it is judged whether the image information acquired by any two sensors is synchronized; 对获取的图像信息不同步的传感器进行补偿调节。Compensation adjustments are made for sensors whose acquired image information is out of sync. 13.一种初始化同步方法,其特征在于,应用于初始化同步装置中,所述初始化同步装置包括:CPU、一个或多个控制器以及信号处理电路,其中,所述一个或多个控制器中的每个控制器均耦合至所述CPU以及所述信号处理电路,所述信号处理电路与所述初始化同步装置外部的一个或多个传感器连接,所述方法包括:13. An initialization synchronization method, characterized in that it is applied to an initialization synchronization device, and the initialization synchronization device includes: a CPU, one or more controllers, and a signal processing circuit, wherein the one or more controllers Each of the controllers is coupled to the CPU and the signal processing circuit, the signal processing circuit is connected to one or more sensors outside the initialization synchronization device, and the method includes: 所述CPU控制所述信号处理电路处于第一状态,所述第一状态用于指示第一控制器通过所述信号处理电路与所述一个或多个传感器中每个传感器连接,所述第一控制器为所述一个或多个控制器中的一个控制器;The CPU controls the signal processing circuit to be in a first state, the first state is used to instruct the first controller to be connected to each sensor in the one or more sensors through the signal processing circuit, and the first the controller is a controller of the one or more controllers; 所述第一控制器将所述CPU生成的初始化信号通过所述信号处理电路发送至所述一个或多个传感器中的每个传感器;The first controller sends the initialization signal generated by the CPU to each of the one or more sensors through the signal processing circuit; 所述CPU控制所述信号处理电路处于第二状态,所述第二状态用于指示所述一个或多个控制器中的每个控制器通过所述信号处理电路与一个传感器相连;The CPU controls the signal processing circuit to be in a second state, the second state is used to instruct each of the one or more controllers to be connected to a sensor through the signal processing circuit; 每个控制器将所述CPU生成的所述初始化信号或参数修改信号发送给与所述每个控制器对应的传感器,所述参数修改信号用于对所述传感器中记录的初始化参数进行调整,所述初始化参数为在对每个所述传感器进行初始化处理的过程中,所述传感器接收到的初始化信号中携带的参数。Each controller sends the initialization signal or parameter modification signal generated by the CPU to a sensor corresponding to each controller, and the parameter modification signal is used to adjust the initialization parameters recorded in the sensor, The initialization parameter is a parameter carried in an initialization signal received by the sensor during the initialization process of each sensor. 14.根据权利要求13所述的方法,其特征在于,所述信号处理电路包括:输出处理电路和输入处理电路;14. The method according to claim 13, wherein the signal processing circuit comprises: an output processing circuit and an input processing circuit; 在所述CPU控制所述信号处理电路处于第一状态后,所述方法还包括:After the CPU controls the signal processing circuit to be in the first state, the method further includes: 所述第一控制器通过所述输出处理电路向所述一个或多个传感器中的每个传感器发送所述CPU生成的信号;the first controller sends the CPU-generated signal to each of the one or more sensors via the output processing circuit; 所述第一控制器通过所述输入处理电路接收所述一个或多个传感器中的每个传感器各自生成的响应信号。The first controller receives, via the input processing circuit, respective generated response signals of each of the one or more sensors. 15.根据权利要求14所述的方法,其特征在于,所述输出处理电路包括:一个或多个数字选择器,所述一个或多个数字选择器中每个数字选择器的输出端与对应的传感器连接;15. The method according to claim 14, wherein the output processing circuit comprises: one or more digital selectors, the output terminal of each digital selector in the one or more digital selectors is corresponding to sensor connections; 所述第一控制器通过所述输出处理电路向所述一个或多个传感器中的每个传感器发送所述CPU生成的信号,包括:The first controller sends the CPU-generated signal to each of the one or more sensors via the output processing circuit, comprising: 控制所述一个或多个数字选择器中每个数字选择器的输入端均与所述第一控制器相连,以使所述第一控制器通过所述一个或多个数字选择器向一个或多个传感器发送所述CPU生成的信号;The input end of each digital selector controlling the one or more digital selectors is connected to the first controller, so that the first controller sends one or more digital selectors through the one or more digital selectors a plurality of sensors sending signals generated by the CPU; 在所述CPU控制所述信号处理电路处于第二状态后,所述方法还包括:After the CPU controls the signal processing circuit to be in the second state, the method further includes: 控制所述一个或多个数字选择器中每个数字选择器各自的输入端与对应的控制器相连。The respective input terminals of each digital selector among the one or more digital selectors are controlled to be connected with corresponding controllers. 16.根据权利要求14所述的方法,其特征在于,所述输入处理电路包括:与门逻辑电路;16. The method according to claim 14, wherein the input processing circuit comprises: an AND logic circuit; 所述第一控制器通过所述输入处理电路接收所述一个或多个传感器中的每个传感器各自生成的响应信号,包括:The first controller receives, via the input processing circuit, respective generated response signals from each of the one or more sensors, comprising: 所述第一控制器接收通过所述与门逻辑电路将接收的所述一个或多个传感器中的每个传感器各自生成的响应信号经过处理后的信号;The first controller receives a signal processed by the AND gate logic circuit to receive a response signal generated by each of the one or more sensors respectively; 在所述CPU控制所述信号处理电路处于第二状态后,所述方法还包括:After the CPU controls the signal processing circuit to be in the second state, the method further includes: 所述一个或多个控制器中的每个控制器接收对应的传感器生成的响应信号。Each of the one or more controllers receives a corresponding sensor-generated response signal. 17.根据权利要求13至16任一所述的方法,其特征在于,所述初始化同步装置还包括:系统寄存器,所述系统寄存器分别与所述CPU和所述信号处理电路连接,17. The method according to any one of claims 13 to 16, wherein the initialization synchronization device further comprises: a system register, the system register is respectively connected to the CPU and the signal processing circuit, 所述CPU控制所述信号处理电路处于第一状态,包括:The CPU controls the signal processing circuit to be in a first state, including: 所述CPU控制所述系统寄存器的寄存器值为第一数值,以使所述信号处理电路处于第一状态;The CPU controls the register value of the system register to be a first value, so that the signal processing circuit is in a first state; 所述CPU控制所述信号处理电路处于第二状态,包括:The CPU controls the signal processing circuit to be in a second state, including: 所述CPU控制所述系统寄存器的寄存器值为第二数值,以使所述信号处理电路处于第二状态,其中,所述第一数值和所述第二数值不同。The CPU controls the register value of the system register to be a second value, so that the signal processing circuit is in a second state, wherein the first value is different from the second value. 18.根据权利要求13至16任一所述的方法,其特征在于,所述初始化同步装置还包括一个或多个输入输出IO接口,所述信号处理电路通过一个或多个IO接口与所述一个或多个传感器一一连接;18. The method according to any one of claims 13 to 16, wherein the initialization synchronization device further comprises one or more input and output IO interfaces, and the signal processing circuit communicates with the One or more sensors are connected one by one; 在所述CPU控制所述信号处理电路处于第一状态后,所述方法还包括:After the CPU controls the signal processing circuit to be in the first state, the method further includes: 通过所述信号处理电路使所述一个或多个IO接口均连接至所述第一控制器;connecting the one or more IO interfaces to the first controller through the signal processing circuit; 在所述CPU控制所述信号处理电路处于第二状态后,所述方法还包括:After the CPU controls the signal processing circuit to be in the second state, the method further includes: 通过所述信号处理电路使每个所述控制器分别通过一个IO接口与对应的传感器相连。Through the signal processing circuit, each of the controllers is respectively connected to the corresponding sensor through an IO interface. 19.根据权利要求13至16任一所述的方法,其特征在于,所述方法还包括:19. The method according to any one of claims 13 to 16, further comprising: 在对每个所述传感器进行初始化处理之前,所述CPU向每个所述传感器发送复位指令,以清除每个所述传感器中的初始化参数。Before performing initialization processing on each of the sensors, the CPU sends a reset instruction to each of the sensors to clear initialization parameters in each of the sensors. 20.根据权利要求13至16任一所述的方法,其特征在于,所述方法还包括:20. The method according to any one of claims 13 to 16, further comprising: 在对每个所述传感器进行初始化处理之后,所述CPU接收每个所述传感器获取的图像信息;After performing initialization processing on each of the sensors, the CPU receives image information acquired by each of the sensors; 所述CPU根据所述图像信息中的同步信号,判断任意两个传感器获取的图像信息是否同步;The CPU judges whether the image information acquired by any two sensors is synchronized according to the synchronization signal in the image information; 所述CPU对获取的图像信息不同步的传感器进行补偿调节。The CPU compensates and adjusts the sensors whose acquired image information is not synchronized. 21.一种摄像机,其特征在于,包括:多个摄像头和系统级芯片SOC,所述SOC包括:权利要求1至12任一所述的初始化同步装置,每个所述摄像头均包括传感器,每个所述传感器均与所述初始化同步装置连接。21. A camera, characterized in that it comprises: a plurality of cameras and a system-on-chip SOC, the SOC comprising: the initialization synchronization device according to any one of claims 1 to 12, each of the cameras includes a sensor, and each Each of the sensors is connected to the initialization synchronization device.
CN201880097091.1A 2018-09-28 2018-09-28 Initialization synchronization device, initialization synchronization method, and camera Active CN112689991B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/108445 WO2020062076A1 (en) 2018-09-28 2018-09-28 Initialization synchronization device and method and camera

Publications (2)

Publication Number Publication Date
CN112689991A CN112689991A (en) 2021-04-20
CN112689991B true CN112689991B (en) 2022-12-27

Family

ID=69950994

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201880097091.1A Active CN112689991B (en) 2018-09-28 2018-09-28 Initialization synchronization device, initialization synchronization method, and camera

Country Status (2)

Country Link
CN (1) CN112689991B (en)
WO (1) WO2020062076A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113949817A (en) * 2021-11-30 2022-01-18 东风商用车有限公司 Camera power-on initialization control method, device, equipment and readable storage medium
CN116039511A (en) * 2023-03-07 2023-05-02 上汽通用五菱汽车股份有限公司 Control method of 360-degree panoramic system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105298758A (en) * 2015-09-29 2016-02-03 重庆科凯前卫风电设备有限责任公司 Acceleration sensing system of wind driven generator

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4071157B2 (en) * 2003-05-27 2008-04-02 セイコーインスツル株式会社 Image sensor
CN101991426A (en) * 2009-08-21 2011-03-30 上海境彩环保科技有限公司 High resolution digital imaging detector
DE102010009775B4 (en) * 2010-03-01 2012-06-21 Rittal Gmbh & Co. Kg Cabinet monitoring device
US10180340B2 (en) * 2014-10-09 2019-01-15 Invensense, Inc. System and method for MEMS sensor system synchronization
US20170249464A1 (en) * 2015-05-28 2017-08-31 Telefonaktiebolaget Lm Ericsson (Publ) METHOD FOR ENABLING SIMULTANEOUS CONTROL OF A PLURALITY OF TPMs AND RELATED COMPONENTS
CN106131461A (en) * 2016-06-28 2016-11-16 湖北久之洋红外系统股份有限公司 A kind of multiple image sensor synchronous control system and image processing module
CN108282600A (en) * 2017-01-06 2018-07-13 北京京东尚科信息技术有限公司 Refrigerator inside image capture apparatus and refrigerator

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105298758A (en) * 2015-09-29 2016-02-03 重庆科凯前卫风电设备有限责任公司 Acceleration sensing system of wind driven generator

Also Published As

Publication number Publication date
CN112689991A (en) 2021-04-20
WO2020062076A1 (en) 2020-04-02

Similar Documents

Publication Publication Date Title
US10063839B2 (en) Method and apparatus for 3D capture synchronization
US6119183A (en) Multi-port switching system and method for a computer bus
CN112689991B (en) Initialization synchronization device, initialization synchronization method, and camera
US11979695B2 (en) SPI-based data transmission system
TWI812604B (en) Image sensor and control system
JP6330873B2 (en) Imaging device
JPWO2020129685A1 (en) Communication equipment and communication methods, and programs
JPS63234323A (en) Pipeline system
US10257440B2 (en) Video matrix controller
JP6007509B2 (en) Serial I/F bus control device and imaging device
US8032332B2 (en) Semiconductor inspecting apparatus
JPWO2020166378A1 (en) Communication equipment and methods, and programs
CN118606241A (en) Multi-serial port switching system, method, board and storage medium
US11995012B2 (en) High speed interface for multi image sensor device
US12197365B2 (en) Information processing system, image processing apparatus, and communication control method
US20220180838A1 (en) Signal Processing Circuit and Link Initialization Method Thereof
CN112422229B (en) Physical layer reconstruction system
US11924579B1 (en) FPD-link IV video generator system
JP2018163321A (en) Multi-display system, video display system, display device, video display control controller
CN110024372B (en) Arrangement to prevent wrong image orientation for rear view cameras
CN119450169A (en) Binocular camera access method and system
WO2023093202A1 (en) Camera system and unmanned device
JPH05298410A (en) Picture processor
JPH0514416A (en) Data transmission method
JP2004234173A (en) Data adjustment device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant