Binocular synchronous camera convenient for receiving end to use
By using the same type of sensor and ISP in the binocular lens, ensuring consistent power-on timing, and setting up an AHD decoder on the binocular module board, the problem of insufficient synchronization of the binocular camera is solved and the binocular image is achieved. Precise synchronization, suitable for ranging scenarios of fast moving objects.
Patent Information
- Application Number
- CN202420456789.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-11
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2034-03-11
AI Technical Summary
Existing binocular cameras cannot guarantee the synchronization of binocular images, resulting in measurement errors when measuring the distance of moving objects, and cannot be applied to ranging scenarios for fast-moving objects.
Design a binocular lens in which the two cameras have the same model of sensor and image signal processor (ISP), use the same model of flash firmware, the same power supply and clock source, ensure that the power-on timing of the sensor and ISP is consistent, and the An AHD decoder is installed on the binocular module board to achieve synchronous output of binocular images.
It achieves precise synchronization of binocular images, reducing the work of synchronization control on the receiving end. It is suitable for ranging scenarios of fast-moving objects and avoids frame drop problems. The ISP's firmware design is simple and no special operations are required to obtain synchronization. Effect.
Smart Images

Figure CN221900960U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of cameras, in particular to a binocular synchronous camera which is convenient for a receiving end to use. Background Art
[0002] Binocular cameras are often used in some applications that measure the distance of moving objects, and the images output by the binocular lenses are required to be as synchronized as possible. Synchronization here means that the exposure time difference of the pictures taken by the two cameras is as small as possible, and the two pictures obtained by the back-end application occur at the same time as much as possible. The common requirement is that the time difference is within 10 milliseconds. A smaller time difference can reduce the measurement error caused by the movement of the object between the two cameras.
[0003] Some products have only two image sensors (sensors) in the binocular lens. The Rawdata of the two sensors are transmitted to the chip, which then processes the image and sends the optimized image to the back-end for ranging applications. This method has two basic requirements for the chip: 1. The chip supports two sensor inputs. It is better if the chip can process the Raw data of two sensor inputs at the same time. 2. To ensure that the two sensors on the binocular module board are exposed as simultaneously as possible, the chip needs to periodically output an Fsync pulse signal to the two sensors on the binocular module board. The sensor generally has an Fsync pin. By configuring the sensor, the sensor will perform the exposure operation only after receiving the Fsync pulse. In order to ensure that the frame rate of the video stream is fixed, this periodic pulse signal cannot be affected by other chip transactions, resulting in time deviation.
[0004] In addition, the chip should process the raw data from the sensor as much as possible while processing other tasks. This is especially important in some applications that require fast measurement speed. Therefore, this method has certain requirements for the selection of back-end chips. At the same time, the chip also needs to add software and hardware operations to synchronize the binocular images. The principle block diagram is as follows Figure 1 shown.
[0005] In many application scenarios that require cameras, the use of analog HD cameras has become very mature. For an analog HD camera, it generally includes a sensor and an image signal processor (AHD ISP) with analog HD video stream output function. Such a binocular module board will perform a series of optimization processes on the Raw data obtained by the sensor, including: automatic exposure, automatic white balance, color matrix conversion, color optimization, etc., and finally encode the optimized image into AHD (an analog HD protocol) format, which only requires one signal line to be transmitted to the back-end receiving device, and the back-end device does not need to process the image effect.
[0006] Although the technology of analog high-definition cameras is already mature, if two analog high-definition cameras are simply used as binocular image input devices for the ranging system, the synchronization of the binocular images cannot be guaranteed because the two modules are isolated and have no communication relationship with each other. Such a binocular system can generally only be used for image stitching applications, and cannot be applied to scenarios where moving objects are measured.
[0007] In view of this, the inventor of the present invention has made in-depth considerations on the many deficiencies and inconveniences caused by the imperfections of existing binocular cameras, and has actively researched, improved and trial-produced the present invention. Utility Model Content
[0008] The utility model aims to solve the problem that the binocular camera in the prior art cannot ensure the synchronization of binocular images, and provides a binocular lens.
[0009] In order to achieve the above purpose, the solution of the utility model is:
[0010] A binocular lens, wherein one camera has a sensor-A and an ISP-A connected to the sensor-A, and the other camera has a sensor-B and an ISP-B connected to the sensor-B, the sensor-A and the sensor-B are of the same model, the ISP-A and the ISP-B are of the same model, the flash used by the ISP-A and the ISP-B are of the same model, the flash is burned with the same firmware, the power required by the ISP-A and the ISP-B is generated by the same power chip, the clock source provided to the ISP-A and the ISP-B is the same active crystal oscillator, the reset signals of the ISP-A and the ISP-B are generated by the same reset chip, and the power-on timing of the sensor-A and the sensor-B is consistent.
[0011] Furthermore, the sensor-A, sensor-B, ISP-A and ISP-B are arranged on a binocular module board.
[0012] Furthermore, the binocular template group is also provided with an AHD decoder, and the ISP-A and ISP-B are connected to the AHD decoder.
[0013] After adopting the above scheme, the synchronization method of binocular lenses and the method for obtaining synchronized images at the receiving end of the utility model have the following advantages compared with the prior art:
[0014] 1. The binocular image synchronization work of the binocular lens of the utility model has been completed at the camera end, and the receiving end does not need to process the control work related to image synchronization.
[0015] 2. The binocular images output by the binocular lens of the present invention can achieve precise synchronization and can be applied to scenes requiring distance measurement of fast-moving objects.
[0016] 3. The ISP-A and ISP-B used in the binocular lens of this utility model are just a single chip for processing image effects. The software architecture is simple and there will be no frame drop problem.
[0017] 4. The firmware burned into ISP-A and ISP-B in the binocular lens of the utility model is just the general firmware of the conventional analog camera. No other special operations need to be added for binocular image synchronization. The binocular synchronization effect can be obtained by using appropriate hardware design.
[0018] The binocular lens of the utility model can ensure accurate synchronization of binocular images and is easy to use by the receiving end. Such a binocular lens transmits the image to the receiving end, and the receiving end does not need to handle the control work related to image synchronization. The image obtained from the camera end is an accurately synchronized image, which can be directly output to the back-end distance measurement application. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 This is a principle block diagram of the interaction between the existing binocular lens and the chip.
[0020] Figure 2 The figure is a principle block diagram of the interaction between the existing binocular lens and the receiving end.
[0021] Figure 3 It is the overall flow chart of the utility model.
[0022] Figure 4 It is a schematic diagram of the hardware framework of the utility model.
[0023] Figure 5 This is the OmniVison sensor power-on sequence timing diagram.
[0024] Figure 6 This is the power-on sequence timing diagram of ON Semiconductor's sensor.
[0025] Figure 7 This is the power-on sequence diagram of SONY's sensor.
[0026] Figure 8 This is the power-on timing diagram of ISP. DETAILED DESCRIPTION
[0027] In order to further explain the technical solution of the present invention, the present invention is described in detail below through specific embodiments.
[0028] like Figure 3 and Figure 4As shown, the utility model discloses a synchronous binocular lens convenient for use at the receiving end, wherein one camera has a sensor-A and an ISP-A, and the other camera has a sensor-B and an ISP-B, the sensor-A and the sensor-B are of the same model, the ISP-A and the ISP-B are of the same model, and the flash memory (flash) used by the ISP-A and the ISP-B is of the same model. Because the design, manufacture and testing of the same model chip are highly accurate and consistent, it can be ensured that the two cameras can work at the same time and have the same timing after being powered on in the same temperature and power supply environment.
[0029] When designing a chip, designers use computer-aided design tools to create the chip's functional and timing specifications and ensure that the chip can work properly at a given clock frequency; when manufacturing, a strict and consistent manufacturing process is used to ensure that the chip's structure and performance are consistent with the design specifications; when testing, accurate and consistent testing methods are used to screen out chips that do not meet the specification requirements, thereby ensuring that all chips shipped have the same performance and timing characteristics. When the chip is powered on, since the same model of chips are produced according to the same design and manufacturing process, their circuit structure and component parameters are the same, which makes them have the same timing behavior under the same clock signal.
[0030] After ensuring that the chips of the two cameras are of the same model, the synchronization method of the binocular lenses of the utility model is implemented according to the following ideas:
[0031] To synchronize the first frame of the two video streams of the binocular lens after power-on, the first condition is that sensor-A and sensor-B are exposed and output the first frame data at the same time after power-on, that is, the power-on timing of sensor-A and sensor-B must be consistent. The following is an example of the description of the sensor power-on timing in the specifications of several mainstream sensor manufacturers:
[0032] OmniVison (Well Semiconductor):
[0033] like Figure 5 As shown, after the reset of sensor-A and sensor-B is released, the system enters a stable and waiting state for operation. ISP writes the correct configuration to sensor-A and sensor-B through I2C. After the fourth time point + t4, sensor-A and sensor-B can output the first frame of the video stream. Since the reset duration of sensor-A and sensor-B and the configuration of sensor-A and sensor-B are controlled by ISP, the time point of reset release of sensor-A and sensor-B and the time point of end of I2C configuration can be controlled to be the same.
[0034] The fourth time point is the fixed delay inside the sensor, and the difference between sensors of the same model is not large. t4 depends on the exposure time of the sensor. Since the external brightness conditions of sensor-A and sensor-B on the binocular lens are the same, and the exposure time is limited by the ISP, the t4 of sensor-A and sensor-B will be the same.
[0035] By ensuring that the above times are the same, it can be ensured that sensor-A and sensor-B are exposed at the same time after power-on and output the first frame of data at the same time, that is, the first frame of the video stream output by the binocular lens remains synchronized.
[0036] ON Semiconductor
[0037] like Figure 6 As shown, after the sensor is powered on, the reset duration t4 (reset time) is controlled by the ISP, and the reset release time points of sensor-A and sensor-B can also be set to be the same.
[0038] t5 and t6 are determined by Sensor-A and Sensor-B internally. For Sensor-A and Sensor-B of the same model, there is little difference. Software Standby is also controlled by ISP, so Sensor-A and Sensor-B can be set to the same duration. By ensuring that the above times are the same, it can be ensured that Sensor-A and Sensor-B are exposed and output the first frame of data at the same time after power-on.
[0039] Sony:
[0040] like Figure 7 As shown in the figure, since the binocular lens only uses the Master mode, there is no need for XVS and XHS trigger signals. Similar to the two sensors mentioned above, after power-on, the AHD ISP controls the sensor reset, I2C configuration, and standby time, so that the two sensors can output the first frame of data at the same time after power-on.
[0041] From the sensor timing information of the above three companies, it can be concluded that the sensor is a passive device in the camera. The time interval (Tpower_up_to_out) from the power-on to the output of the first frame of data depends on the inherent delay inside the sensor and the relevant control of the ISP, which includes: the reset duration of the sensor, the time point when the sensor jumps out of the standby state, the time point when I2C starts to configure, and the parameters configured by I2C. In the present utility model, the sensor-A and sensor-B of the binocular lens are of the same model, so it can be ensured that the inherent delay inside sensor-A and sensor-B is basically the same. Then Tpower_up_to_out only depends on the relevant control of ISP-A and ISP-B. To make the reset release time point given by ISP-A and ISP-B to each sensor, the time point when the sensor jumps out of the standby state, and the time point when I2C starts to configure the same, ISP-A and ISP-B must be of the same model, and the flash memory (flash) corresponding to ISP-A and ISP-B for storing firmware must also be of the same model and burn the same firmware.
[0042] At the same time, the power supply required by each module of ISP-A and ISP-B must be generated by the same power chip to ensure that the power supply environment of ISP-A and ISP-B is the same; the clock source (EXTCLK) provided to ISP-A and ISP-B must be the same active crystal oscillator to ensure that the clock frequency of ISP-A and ISP-B is the same; the reset signal (RESETB) of ISP-A and ISP-B must be generated by the same reset chip to ensure that ISP-A and ISP-B enter the working state at the same time after power-on.
[0043] Take a commonly used ISP power-on sequence as an example:
[0044] like Figure 8 As shown in the figure, since ISP-A and ISP-B have the same power supply conditions and use the same clock source and reset chip, the time from power-on to reset release for ISP-A and ISP-B is consistent (the second time point in the example). Since ISP-A and ISP-B use the same model and have the same firmware burned into the flash memory, the time interval from ISP-A and ISP-B reading the firmware from the flash memory through the SPI interface to starting to control and configure their respective sensors through the I2C interface is consistent (T4 in the example).
[0045] It can be concluded that after power-on, SPI operates on each sensor simultaneously.
[0046] According to the above description of the binocular lens sensor and ISP, after the binocular module board of the binocular lens of the utility model is powered on, ISP-A and ISP-B will operate and configure their respective sensors at the same time, and the operation and configuration content (i.e. the amount of data written to sensor-A and sensor-B through I2C) are completely consistent. Therefore, sensor-A and sensor-B will be exposed at the same time after powering on, and output the first frame of Raw data of the valid image at the same time.
[0047] The Raw data output by Sensor-A and Sensor-B to ISP-A and ISP-B is only brightness data, which needs to be optimized and converted into YUV format data by ISP before it can be used by the back-end. Taking the AHD ISP used in the present invention as an example, it will optimize and convert the received Raw data into YUV data, and then encode it into AHD format and output it to the back-end.
[0048] Since ISP-A and ISP-B are the same model and run the same firmware, the processing and data format conversion of Raw data by ISP-A and ISP-B are completed by the hardware inside the ISP chip. The same model of chip will guarantee the same circuit characteristics and timing behavior after leaving the factory. Therefore, for ISP-A and ISP-B, the interval time from receiving the Rawdata of the first frame of valid image to outputting the AHD signal of the first frame of valid image is the same. Therefore, after ISP-A and ISP-B are powered on, they will output the AHD signal of the first frame of valid image at the same time.
[0049] According to the above description, the AHD signal of the first valid image frame after the binocular lens is powered on has been synchronized. In order to ensure that the binocular images are always synchronized in a simple way, the ISP firmware can set the camera output to a video stream with a fixed frame rate. This setting is a common setting for ordinary analog cameras and does not require special processing in the software.
[0050] In the utility model, the decoder for the AHD signal is also on the binocular module board, and it is an AHD decoder with dual-channel AHD input and single-channel MIPI output. This decoder is already very mature on the market. After the chip on the back-end device receives the MIPI signal output by the decoder, it can distinguish the two AHD video streams by the identifier of the virtual channel (VC) in the MIPI data packet, and obtain two stable video streams according to the synchronization information of the two AHD video streams in the data packet. Chips that implement this function are already very common on the market, and there is basically no selection problem. As for the operation of receiving MIPI signals and distinguishing and obtaining multi-channel images through MIPI virtual channels, general chips can be easily implemented.
[0051] The above embodiments and drawings do not limit the product form and style of the present utility model. Any appropriate changes or modifications made by ordinary technicians in the relevant technical field should be deemed to be within the patent scope of the present utility model.
Claims
1. A binocular synchronous camera convenient for use at a receiving end, characterized in that: One of the cameras has sensor-A and ISP-A connected to sensor-A, and the other camera has sensor-B and ISP-B connected to sensor-B. Sensor-A and sensor-B are of the same model, ISP-A and ISP-B are of the same model, flash used by ISP-A and ISP-B is of the same model, the same firmware is burned in the flash, the power required by ISP-A and ISP-B is generated by the same power chip, the clock source provided to ISP-A and ISP-B is the same active crystal oscillator, the reset signals of ISP-A and ISP-B are generated by the same reset chip, and the power-on timing of sensor-A and sensor-B is consistent.
2. The binocular synchronous camera convenient for use by the receiving end as claimed in claim 1, characterized in that: The sensor-A, sensor-B, ISP-A and ISP-B are arranged on the binocular module board.
3. The binocular synchronous camera convenient for use by the receiving end as claimed in claim 2, characterized in that: The binocular module board is also provided with an AHD decoder, and the ISP-A and ISP-B are connected to the AHD decoder.
