Camera calibration system, method and electronic equipment with gyroscope function
By designing a camera calibration system with gyroscope functionality and utilizing a combination of DIP switch modules and main control modules, compatible calibration of various camera models was achieved. This solved the problems of high cost and poor compatibility in existing technologies, reduced production costs, and improved work efficiency.
Patent Information
- Application Number
- CN202410904993.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-08
- Publication Date
- 2026-01-06
- Estimated Expiration
- 2044-07-08
AI Technical Summary
In the existing technology, cameras with gyroscope sensor functions require different types of calibration methods before leaving the factory, resulting in high costs and poor compatibility.
Design a camera calibration system with gyroscope functionality, including a main control module, a power module, a DIP switch module, an interface module, and a communication module. The DIP switch module outputs coded information to match the camera model, and the corresponding calibration algorithm is written into the main control module to achieve compatible calibration of multiple camera models.
A single calibration board is compatible with multiple camera module models, reducing production costs and improving work efficiency.
Smart Images

Figure CN119031117B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of camera technology, and in particular to a camera calibration system, method, and electronic device with gyroscope functionality. Background Technology
[0002] Currently, cameras include automotive cameras, robot cameras, industrial drone cameras, action cameras, etc. Most of these types of camera products need to have functions such as measuring acceleration, angular velocity, and image stabilization. Therefore, these types of camera products require the use of gyroscope sensors.
[0003] In related technologies, if the acceleration, direction, angular velocity, and other related parameters of a camera with a gyroscope sensor are inaccurate before leaving the factory, it will seriously affect the use and safety of the camera product. Therefore, cameras with gyroscope sensors need to be calibrated before leaving the factory. However, at present, different cameras have different calibration methods. When there are many different types of cameras, multiple different calibration test boards need to be designed, which is costly and has poor compatibility. Summary of the Invention
[0004] The purpose of this invention is to overcome the shortcomings of the prior art and provide a camera calibration system, method and electronic device with gyroscope function, which can be used to calibrate and test a variety of different types of cameras with gyroscope sensor function.
[0005] The objective of this invention is achieved through the following technical solution:
[0006] The first aspect of this application provides a camera calibration system with a gyroscope function: a main control module for writing various calibration algorithms; a power supply module electrically connected to the main control module, the power supply module being connected to an external DC power supply to power the main control module; a DIP switch module electrically connected to the main control module, the DIP switch module being used to switch codes to match the calibration algorithms; an interface module electrically connected to both the main control module and the power supply module, the interface module being used to connect a camera module so that the camera module can access the main control module; and a communication module electrically connected to the main control module, the communication module being used to drive the main control module to run the calibration algorithms.
[0007] The DIP switch module includes multiple switch units, each of which is electrically connected to the main control module.
[0008] The interface module includes a connector, which is electrically connected to the main control module and the power module respectively.
[0009] The interface module also includes a connecting line, which is electrically connected to the connector.
[0010] The communication module includes a USB connector, which is electrically connected to the main control module.
[0011] The communication module also includes a terminal, which is electrically connected to the USB connector.
[0012] The USB connector is provided with a first port.
[0013] The USB connector is provided with a second port.
[0014] A second aspect of this application provides a camera calibration method with a gyroscope function, applied to a camera calibration system with a gyroscope function, comprising: an external power supply connected to a power module to supply power to a main control module; the camera module being connected to a connector via a connecting cable so that the power module supplies power to the camera module; multiple switch units being toggled according to the model of the camera module to output encoded information; and the terminal sending a calibration algorithm to the main control module via a USB connector based on the encoded information to perform calibration testing on the camera module.
[0015] A third aspect of this application provides an electronic device, including: a processor; and a memory storing executable code thereon, which, when executed by the processor, causes the processor to perform a method for calibrating a camera with gyroscope functionality.
[0016] Compared with the prior art, the present invention has at least the following advantages:
[0017] This application utilizes a DIP switch module. The code output by this module represents a specific camera module model, and the number of coded bits can be set according to the number of camera module models. Then, the main control module pre-writes the corresponding camera module model and calibration algorithm. During testing and calibration, only the calibration algorithm for the corresponding model needs to be retrieved. This setup enables compatibility with multiple camera module models on a single calibration board, reducing production costs and improving work efficiency. Attached Figure Description
[0018] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly described below.
[0019] Figure 1 This is a functional block diagram of a camera calibration system with gyroscope functionality according to an embodiment of the present invention;
[0020] Figure 2This is a flowchart of a camera calibration method with gyroscope function according to an embodiment of the present invention;
[0021] Figure 3 This is a schematic diagram of the structure of an electronic device according to an embodiment of the present invention. Detailed Implementation
[0022] Embodiments of this application will now be described in more detail with reference to the accompanying drawings. While embodiments of this application are shown in the drawings, it should be understood that this application may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided to make this application more thorough and complete, and to fully convey the scope of this application to those skilled in the art.
[0023] It should be understood that although the terms "first," "second," "third," etc., may be used in this application to describe various information, this information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of this application, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this application, "multiple" means two or more, unless otherwise explicitly specified.
[0024] Unless otherwise expressly specified and limited, the terms "installation," "connection," "linking," and "fixing," etc., should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances.
[0025] Currently, if the acceleration, direction, angular velocity, and other related parameters of a camera with a gyroscope sensor are inaccurate before leaving the factory, it will seriously affect the use and safety of the camera product. Therefore, cameras with gyroscope sensors need to be calibrated before leaving the factory. However, different cameras currently use different calibration methods. When there are many different types of cameras, multiple different calibration test boards need to be designed, which is costly and has poor compatibility.
[0026] To address the aforementioned issues, this application provides a camera calibration system, method, and electronic device with gyroscope functionality, which can be used as a test board compatible with various types of cameras equipped with gyroscope sensors for calibration.
[0027] The technical solutions of the embodiments of this application are described in detail below with reference to the accompanying drawings.
[0028] The first aspect of this application provides a camera calibration system with a gyroscope function, including: a main control module 100, a power supply module 200, a DIP switch module 300, an interface module 400, and a communication module 500. The main control module 100 is used to write various calibration algorithms; the power supply module 200 is electrically connected to the main control module 100 and is connected to an external DC power supply to power the main control module 100; the DIP switch module 300 is electrically connected to the main control module 100 and is used to switch codes to match the calibration algorithms; the interface module 400 is electrically connected to both the main control module 100 and the power supply module 200, and is used to connect a camera module so that the camera module can be connected to the main control module 100; the communication module 500 is electrically connected to the main control module 100 and is used to drive the main control module 100 to run the calibration algorithms.
[0029] It should be noted that the main control module 100 is an MCU processor, and its various calibration algorithms are matched with the models of various camera modules. The power supply module 200 is used to connect an external DC 12V power supply. The DIP switch module 300 toggles different bits of the switch to form 0 or 1 binary codes. The DIP switch in this application has 6 bits, and the encoding range is 0 to 63, which is 2 to the power of 6. If the first bit is turned ON and the other bits remain unchanged, the code is 000001. Therefore, it can be compatible with 64 different types of gyroscope sensor models based on the 6-bit DIP switch settings. Similarly, the number of bits of the DIP switch can be selected according to the number of gyroscope sensor types that need to be compatible. The interface module 400 is connected to the camera module via a wired connection. The communication module 500 is used to drive the main control module 100 to run the calibration algorithm corresponding to the model of the camera module according to the encoding of the DIP switch module 300.
[0030] Please see Figure 1 In one embodiment, the DIP switch module 300 includes multiple switch units, each of which is electrically connected to the main control module 100.
[0031] It should be noted that this application has 6 switch units, all of which can be toggled.
[0032] Please see Figure 1 In one embodiment, the interface module 400 includes a connector that is electrically connected to both the main control module 100 and the power module 200. Specifically, the interface module 400 also includes a connecting cable that is electrically connected to the connector.
[0033] It should be noted that the connecting cable can be a USB cable or a Type-C cable. The connecting cable is used to connect the camera module to the connector so that the power module 200 supplies power to the camera module and puts it into working condition.
[0034] Please see Figure 1 In one embodiment, the communication module 500 includes a USB connector electrically connected to the main control module. Specifically, the communication module 500 further includes a terminal electrically connected to the USB connector. Specifically, the USB connector has a first port. Specifically, the USB connector also has a second port.
[0035] It should be noted that the terminal generally refers to the PC, and the USB connector is the medium for communication between the main control module 100 and the terminal. The first port is the port on the main control module, and the second port is the port on the terminal; the two are connected via a USB cable.
[0036] The above method enables compatibility of multiple camera module models on a single calibration board, reducing production costs and improving work efficiency.
[0037] Please see Figure 2 The second aspect of this application provides a camera calibration method with gyroscope functionality, applied to a camera calibration system with gyroscope functionality, comprising:
[0038] Step S101: Connect an external power supply to the power module to supply power to the main control module.
[0039] It should be noted that the camera calibration system with gyroscope function is set on a calibration board, and the power module is connected to an external DC 12V power supply to keep the calibration board in normal working condition.
[0040] Step S102: The camera module is connected to the connector via a connecting cable so that the power module supplies power to the camera module.
[0041] It should be noted that the camera module is connected to the connector via a connecting cable, and the power module supplies power to the camera module via the connecting cable, enabling the camera module to be in working condition.
[0042] Step S103: Based on the model of the camera module, toggle multiple switch units accordingly to output encoded information.
[0043] It should be noted that the operator can obtain the coding information of the camera module by toggling multiple switch units according to the model of the camera module.
[0044] Step S104: The terminal sends the calibration algorithm to the main control module via the USB connector according to the encoding information to perform calibration testing on the camera module.
[0045] It should be noted that after the calibration board is set with the camera module model, it is connected to the terminal via the USB connector. The terminal's host computer software then instructs the main control module to perform calibration tests based on the obtained camera module model. Finally, according to the terminal's calibration algorithm and the calibration board's main control module, the final calibration data is written to the camera module via the calibration board's connection cable.
[0046] The above method enables compatibility of multiple camera module models on a single calibration board, reducing production costs and improving work efficiency.
[0047] A third aspect of this application provides an electronic device 1000, see [link to relevant documentation]. Figure 3 The electronic device 1000 includes a memory 1010 and a processor 1020.
[0048] The processor 1020 can be a central processing unit (CPU), or it can be an integrated circuit composed of other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be any conventional processor that can run the Linux kernel.
[0049] Memory 1010 may include various types of storage units, such as system memory, read-only memory (ROM), and permanent storage devices. ROM may store static data or instructions required by processor 1020 or other modules of the computer. Permanent storage devices may be read-write storage devices. Permanent storage devices may be non-volatile storage devices that retain stored instructions and data even when the computer is powered off. In some embodiments, permanent storage devices use mass storage devices (e.g., magnetic or optical disks, flash memory) as permanent storage devices. In other embodiments, permanent storage devices may be removable storage devices (e.g., floppy disks, optical drives). System memory may be a read-write storage device or a volatile read-write storage device, such as dynamic random access memory. System memory may store some or all of the instructions and data required by the processor during operation. Furthermore, memory 1010 may include any combination of computer-readable storage media, including various types of semiconductor memory chips (e.g., DRAM, SRAM, SDRAM, flash memory, programmable read-only memory), and disks and / or optical disks may also be used. In some embodiments, the memory 1010 may include a removable storage device that is readable and / or writable, such as a laser disc (CD), a read-only digital multifunction optical disc (e.g., DVD-ROM, dual-layer DVD-ROM), a read-only Blu-ray disc, a high-density optical disc, a flash memory card (e.g., SD card, mini SD card, Micro-SD card, etc.), a magnetic floppy disk, etc. Computer-readable storage media do not contain carrier waves or transient electronic signals transmitted wirelessly or via wired connections.
[0050] The memory 1010 stores executable code, which, when processed by the processor 1020, can cause the processor 1020 to execute part or all of the methods described above.
[0051] Furthermore, the method according to this application can also be implemented as a computer program or computer program product, which includes computer program code instructions for performing some or all of the steps in the method described above.
[0052] The solution of this application has been described in detail above with reference to the accompanying drawings. In the above embodiments, the descriptions of each embodiment have different focuses; for parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments. Those skilled in the art should also understand that the actions and modules involved in the specification are not necessarily essential to this application. Furthermore, it is understood that the steps in the method of this application embodiment can be adjusted, combined, and deleted according to actual needs, and the modules in the device of this application embodiment can be combined, divided, and deleted according to actual needs.
[0053] The various embodiments of this application have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen to best explain the principles, practical application, or improvement of the technology in the market, or to enable others skilled in the art to understand the embodiments disclosed herein.
Claims
1. A camera calibration system with gyroscopic functionality, characterized by, The application relates to a calibration device for camera modules. The calibration device comprises a main control module, a power module, a dial module, an interface module and a communication module. The main control module is used for writing a plurality of calibration algorithms matching the models of various camera modules. The power module is electrically connected with the main control module and externally connected with a direct-current power supply to supply power to the main control module. The dial module is electrically connected with the main control module and is used for dialing different bits of switch units to form binary codes to match the calibration algorithms. The interface module is electrically connected with the main control module and the power module and is used for connecting the camera modules to enable the camera modules to access the main control module.
2. The camera calibration system with gyro function according to claim 1, characterized in that, The communication module is electrically connected with the main control module and is used for driving the main control module to run the calibration algorithms corresponding to the models of the camera modules according to the codes of the dial module.
3. The camera calibration system with gyro function according to claim 1, wherein, The dial module comprises a plurality of switch units, and each switch unit is electrically connected with the main control module.
4. The camera calibration system with gyro function according to claim 3, characterized in that, The interface module comprises a connector electrically connected with the main control module and the power module.
5. The camera calibration system with gyro function according to claim 1, wherein, The interface module further comprises a connecting line electrically connected with the connector.
6. The camera calibration system with gyro function according to claim 5, characterized in that, The communication module comprises a USB plug-in end electrically connected with the main control module.
7. The camera calibration system with gyro function according to claim 5, wherein, The communication module further comprises a terminal electrically connected with the USB plug-in end.
8. The camera calibration system with gyro function according to claim 5, wherein, The USB plug-in end is provided with a first port.
9. A camera calibration method with gyro function, applied to the camera calibration system with gyro function according to any one of claims 1 to 8, characterized in that, The USB plug-in end is provided with a second port. The power module is externally connected with a power supply to supply power to the main control module. The camera modules are plugged into the connector in the interface module through the connecting line in the interface module to enable the power module to supply power to the camera modules. According to the models of the camera modules, a plurality of switch units are dialed to output code information. The terminal in the communication module is connected to the terminal through the USB plug-in end in the communication module according to the code information, and the host computer software on the terminal enables the main control module to calibrate and test according to the obtained model of the camera module, and the main control module writes the data after final calibration and testing into the camera module through the connecting line of the calibration board to calibrate and test the camera module.
10. An electronic device, comprising: The application relates to a calibration device for camera modules. The calibration device comprises a processor and a memory. When the executable code is executed by the processor, the processor executes the method in claim 9.
Citation Information
Patent Citations
Calibration test method and calibration test device for look-around system, and vehicle
CN110580722A
Single-calibration-board multi-camera calibration method and device, electronic equipment and storage medium
CN114170322A