Image function test method, test board and system of vehicle-mounted camera

By using dial switches and MCU processors in the on-board camera to preset the image format and initialize it during the loading process, the time-consuming problem of image format switching is solved, achieving more efficient production and reducing costs.

CN120378602APending Publication Date: 2025-07-25TRULY OPTO ELECTRONICS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510471281.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-15
Publication Date
2025-07-25

AI Technical Summary

Technical Problem

In the prior art, the on-board camera takes a long time to switch image formats, resulting in low productivity and increased costs.

Method used

The image format is pre-set by using a dial switch and an MCU processor, and the initialization parameters are immediately written during the loading process, and initialization is performed by power supply circuit.

Benefits of technology

Shorten the testing time, improve production efficiency and reduce production costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120378602A_ABST
    Figure CN120378602A_ABST
Patent Text Reader

Abstract

The invention discloses an image function test method, test board and system for a vehicle-mounted camera, and the method comprises the steps: providing an image function test board which comprises a dial switch, an MCU processor, an SOC processor, a coaxial connector, a USB interface and a power circuit; the MCU processor predefines a test image and initializes a parameter starting instruction according to the code of the dial switch, presets an image format to be tested through the dial switch, and supplies power to the image function test board and the camera module by using the power supply circuit; and meanwhile, the MCU processor writes an initialization parameter starting instruction of a corresponding image format into the camera module for initialization, and transmits an image needing to be tested to a PC (Personal Computer) end for image function test. The whole initialization process can be completed in the feeding process, the testing time is shortened, the working efficiency is improved, and the production cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of in-vehicle camera module testing, and particularly to an image function testing method, a test board and a system for an in-vehicle camera. Background Art

[0002] In-vehicle cameras usually output two image formats, RAW and YUV. Before leaving the factory, the camera needs to perform function detection on these two image formats, and the PC computer host software needs to be set to light up the corresponding format to output the image. Before each time the camera lights up and outputs the image, the PC computer host software needs to write the initialization start parameters to the camera. The initialization parameters are at least several hundred lines of instructions, and at most several thousand or tens of thousands of lines of instructions. The more instructions there are, the more time it takes to write, and the slower the power-on startup and image output time of the camera.

[0003] The existing image function testing steps for in-vehicle cameras are as follows: a. After the production employee (or machine) connects the camera to the test board and powers it on, and starts running the PC computer host software to write the initialization start parameter instructions to the camera. The time consumed in step a: The feeding takes about 2 - 3 seconds, and the host computer writes the initialization parameters, which takes about 2 - 3 seconds. That is, the time consumed in step a is 5 - 6 seconds.

[0004] b. After the SOC processor receives the write instruction from the PC host software, it writes the initialization start parameter instruction of the host computer to the camera through the coaxial cable.

[0005] c. After the camera completes the initialization startup configuration, it outputs the image data to the SOC processor, and the SOC processor then transmits the image data to the PC host software. Finally, after the host software receives the image, various image function tests are performed.

[0006] If the camera simultaneously switches between the two image formats, RAW and YUV, to output and light up the image, the startup time consumed will be approximately twice as long, which significantly reduces the production efficiency and increases the production cost. Summary of the Invention

[0007] In the prior art, when performing image function testing on a camera module, it takes a long time, resulting in a significant reduction in production efficiency and an increase in production cost.

[0008] In view of the above problems, an image function testing method, a test board and a system for an in-vehicle camera are proposed. By setting a DIP switch and an MCU processor, the image format to be tested is set in advance through the DIP switch. After the MCU processor is connected, it immediately writes the initialization parameter start instruction to the camera module for initialization. The entire initialization process can be completed during the feeding process, shortening the test time, improving the work efficiency, and reducing the production cost.

[0009] In a first aspect, an image function testing method for a vehicle-mounted camera includes: Step 100: Provide an image function test board, including: a DIP switch, an MCU processor, an SOC processor, a coaxial connector, a USB interface, and a power supply circuit; the DIP switch is electrically connected to the MCU processor, the SOC processor is connected to the PC through the USB interface, and the output ends of the MCU processor and the SOC processor are connected to the coaxial connector; the power supply circuit is electrically connected to the SOC processor, the MCU processor, and the coaxial connector respectively; Step 200: The MCU processor pre-defines and initializes parameter start instructions for the test image according to the encoding of the DIP switch, pre-sets the image format to be tested through the DIP switch, connects the image function test board to the camera module through the coaxial connector, and powers the image function test board and the camera module using the power supply circuit; Step 300: Perform a feeding operation on the camera module. At the same time, the MCU processor writes the initialization parameter start instruction corresponding to the image format into the camera module for initialization. After the initialization is completed, the image to be tested is transmitted to the PC for image function testing.

[0010] In a first possible implementation manner in combination with the image function testing method for the vehicle-mounted camera according to the first aspect of the present invention, in the step 200, it includes: Step 210: The MCU processor defines the RAW image format and the YUV image format according to different encodings respectively; Step 220: The MCU processor stores the initialization parameter start instructions corresponding to different encodings.

[0011] In a second possible implementation manner in combination with the first possible implementation manner of the first aspect of the present invention, in the step 200, it further includes: Step 230: If it is necessary to test the RAW image format first, turn the DIP switch to the first encoding; Step 240: If it is necessary to test the YUV image format first, turn the DIP switch to the second encoding.

[0012] In a third possible implementation manner in combination with the second possible implementation manner of the first aspect of the present invention, in the step 200, it further includes: Step 250: The power supply circuit supplies power to the MCU processor and the SOC processor; Step 260: The power supply circuit supplies power to the camera module through the coaxial connector.

[0013] Combined with the third possible implementation manner of the first aspect of the present invention, in the fourth possible implementation manner, the step 300 includes: Step 310, the MCU processor transmits the initialization parameter startup instruction corresponding to the encoding to the camera module; Step 320, the camera module starts the initialization of the corresponding test image according to the initialization parameter startup instruction.

[0014] Combined with the fourth possible implementation manner of the first aspect of the present invention, in the fifth possible implementation manner, the step 300 further includes: Step 330, after the initialization is completed, the camera module transmits the test image to the SOC processor; Step 340, the SOC processor transmits the test image to the PC side through the USB interface.

[0015] In the second aspect, an image function test board for a vehicle-mounted camera, adopting the image function test method for a vehicle-mounted camera described in the first aspect, includes a DIP switch, an MCU processor, an SOC processor, a coaxial connector, a USB interface, and a power supply circuit; The DIP switch is electrically connected to the MCU processor, the SOC processor is connected to the PC side through the USB interface, and the output ends of the MCU processor and the SOC processor are connected to the coaxial connector; the power supply circuit is electrically connected to the SOC processor, the MCU processor, and the coaxial connector respectively; The DIP switch is used to preset the image format to be tested through encoding; The MCU processor is used to pre-define the test image and the initialization parameter startup instruction according to the encoding of the DIP switch, write the initialization parameter startup instruction corresponding to the image format into the camera module, and perform initialization; The power supply circuit is used to supply power to the test board and the camera module; The SOC processor is used to transmit the test image to the PC side through the USB interface after receiving it.

[0016] Combined with the image function test board for a vehicle-mounted camera described in the second aspect of the present invention, in the first possible implementation manner, the MCU processor is further used to define the RAW image format and the YUV image format respectively according to different encodings, and store the initialization parameter startup instructions corresponding to different encodings.

[0017] Combined with the first possible implementation manner of the first aspect of the present invention, in the second possible implementation manner, the DIP switch is further configured to, when it is necessary to first test the RAW image format, set the DIP switch to the first encoding, and when it is necessary to first test the YUV image format, set the DIP switch to the second encoding.

[0018] In a third aspect, an image function test system for a vehicle-mounted camera includes the image function test board for a vehicle-mounted camera described in the second aspect, and further includes: A camera module and a PC terminal; The image function test board is electrically connected to the camera module through a coaxial connector and electrically connected to the PC terminal through a USB interface.

[0019] Implementing the image function test method, test board and system for a vehicle-mounted camera of the present invention, by setting a DIP switch and an MCU processor, the image format to be tested is preset through the DIP switch. After connection, the MCU processor immediately writes the initialization parameter start instruction into the camera module for initialization. The entire initialization process can be completed during the loading process, shortening the test time, improving work efficiency, and reducing production costs. Description of the Drawings

[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.

[0021] Figure 1 It is a schematic flowchart of a specific embodiment of an image function test method for a vehicle-mounted camera in this application; Figure 2 It is Figure 1 The first specific embodiment flowchart of step 200 in Figure 3 It is Figure 1 The second specific embodiment flowchart of step 200 in Figure 4 It is Figure 1 The third specific embodiment flowchart of step 200 in Figure 5 It is Figure 1 The first specific embodiment flowchart of step 300 in Figure 6 It is Figure 1 The second specific embodiment flowchart of step 300 in Figure 7 It is a schematic diagram of a specific embodiment of an image function test system for an in-vehicle camera in the prior art; Figure 8 It is a schematic diagram of a specific embodiment of an image function test system for an in-vehicle camera in the present application; Detailed implementation manners

[0022] Next, the technical solutions in the present invention will be clearly and completely described in conjunction with the accompanying drawings in the invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments in the present invention, other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0023] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field to which the present invention belongs. The terms used in the description of the present invention herein are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more of the related listed items.

[0024] It should be noted that when an element is referred to as being "fixed to" or "disposed on" another element, it can be directly on the other element or indirectly on the other element. When an element is referred to as being "connected to" another element, it can be directly connected to the other element or indirectly connected to the other element.

[0025] It should be understood that the orientation or positional relationship indicated by the terms "length", "width", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc. is based on the orientation or positional relationship shown in the drawings, and is only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation to the present application.

[0026] In addition, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of such features. In the description of the present application, "a plurality of" means two or more, unless otherwise specifically defined.

[0027] In the prior art, when performing an image function test on a camera module, it takes a long time, resulting in a significant reduction in production efficiency and an increase in production costs. For example Figure 7 ,Figure 7 It is a schematic diagram of a specific embodiment of an image function test system for an in-vehicle camera in the prior art.

[0028] In view of the above problems, an image function test method, test board and system for an in-vehicle camera are proposed.

[0029] In a first aspect, an image function test method for an in-vehicle camera, as Figure 1 , Figure 1 is a schematic diagram of a specific embodiment process of an image function test method for an in-vehicle camera in the present application, including: Step 100: Provide an image function test board. Please refer to Figure 8 , which includes: a DIP switch, an MCU processor, an SOC processor, a coaxial connector, a USB interface and a power supply circuit; the DIP switch is electrically connected to the MCU processor, the SOC processor is connected to the PC through the USB interface, and the output ends of the MCU processor and the SOC processor are connected to the coaxial connector; the power supply circuit is electrically connected to the SOC processor, the MCU processor and the coaxial connector respectively.

[0030] In this embodiment, the camera module is connected to the coaxial connector of the test board through its own coaxial interface. The test board is powered by a DC12V power input. After being processed by the power supply chip of the power supply circuit, it supplies power to the MCU processor and the SOC processor, and supplies power to the camera module through the coaxial connector, so that the test board is in a normal working state.

[0031] Step 200: The MCU processor pre-defines the test image and initializes the parameter start instruction according to the coding of the DIP switch, pre-sets the image format to be tested through the DIP switch, connects the image function test board to the camera module through the coaxial connector, and uses the power supply circuit to supply power to the image function test board and the camera module; In a preferred embodiment, as Figure 2 , Figure 2 is Figure 1 a schematic diagram of a first specific embodiment process of step 200 in; step 200 includes: step 210: The MCU processor defines the RAW image format and the YUV image format according to different codings respectively; step 220: The MCU processor stores the initialization parameter start instructions corresponding to different codings.

[0032] In this embodiment, according to the image format of the functions to be tested by the camera module, the corresponding codes of the dip switches on the test board are set. For example, dip switch 0 is defined as the function of the camera RAW format image, and dip switch 1 is defined as the function of the camera YUV format image. The MCU processor of the test board defines the functions of the RAW and YUV format images according to different codes of the dip switches, and stores the initialization parameter start instructions corresponding to the dip switch codes required by the camera in the firmware of the MCU processor.

[0033] In a preferred embodiment, as Figure 3 , Figure 3 is Figure 1 the schematic flow chart of the second specific embodiment of step 200 in

[0034] In this embodiment, when the dip switch of the test board is 0, the MCU writes the RAW initialization parameter start instruction to the camera. When the dip switch is 1, the MCU writes the YUV initialization parameter start instruction to the camera.

[0035] In a preferred embodiment, as Figure 4 , Figure 4 is Figure 1 the schematic flow chart of the third specific embodiment of step 200 in

[0036] In this embodiment, the camera module is connected to the test board through a coaxial connector (coaxial cable), and the power supply circuit of the test board supplies power to the camera module to make the camera module in the powered-on state.

[0037] Step 300: Perform the feeding operation on the camera module. At the same time, the MCU processor writes the initialization parameter start instruction corresponding to the image format to the camera module for initialization. After the initialization is completed, the image to be tested is transmitted to the PC for image function testing.

[0038] In a preferred embodiment, as Figure 5 , Figure 5 is Figure 1 the schematic flow chart of the first specific embodiment of step 300 in

[0039] In this embodiment, after the test board sets the image format of the camera through the DIP switch, when the camera is powered on, the MCU processor actively writes the initialization startup parameter instruction to the camera immediately, so that the camera quickly completes the initialization state. After the camera completes the initialization state, the camera is in a state of image output.

[0040] In a preferred embodiment, if Figure 6 , Figure 6 yes Figure 1 A flowchart of a second specific embodiment of step 300 in FIG. 300; step 300 further includes: step 330, after initialization is completed, the camera module transmits the test image to the SOC processor; step 340, the SOC processor transmits the test image to the PC via the USB interface.

[0041] In this embodiment, after the SOC processor receives the camera image data, it transmits the image data to the PC through the USB interface. After the PC host software receives the camera image, it performs various image function tests.

[0042] In the embodiment of the present application, a. When the production staff (or machine) connects the camera module to the test board and powers on, the MCU processor actively writes the initialization parameter startup instruction to the camera. Within the 2 to 3 seconds consumed by loading, the camera quickly completes the initialization startup configuration. b. After the camera completes the initialization startup configuration, it outputs the image data to the SOC processor, and the SOC processor transmits the image data to the PC host software. Finally, after the host software receives the image, it performs various image function tests. By setting the dip switch and the MCU processor, the image format to be tested is set in advance through the dip switch. After the MCU processor is connected, the initialization parameter startup instruction is immediately written to the camera module for initialization. The entire initialization process can be completed during the loading process, shortening the test time, improving work efficiency, and reducing production costs.

[0043] In the second aspect, an image function test board for a vehicle-mounted camera adopts the image function test method for the vehicle-mounted camera of the first aspect, please refer to Figure 8, including a DIP switch, an MCU processor, an SOC processor, a coaxial connector, a USB interface and a power circuit; the DIP switch is electrically connected to the MCU processor, the SOC processor is connected to the PC through the USB interface, and the output ends of the MCU processor and the SOC processor are connected to the coaxial connector; the power circuit is electrically connected to the SOC processor, the MCU processor and the coaxial connector respectively; the DIP switch is used to preset the image format to be tested through coding; the MCU processor is used to define and initialize the parameter start instruction of the test image in advance according to the coding of the DIP switch, write the initialization parameter start instruction corresponding to the image format into the camera module, and perform initialization; the power circuit is used to supply power to the test board and the camera module; the SOC processor is used to transmit the test image to the PC through the USB interface after receiving it.

[0044] Further, the MCU processor is further used to define the RAW image format and the YUV image format respectively according to different codings, and store the initialization parameter start instructions corresponding to different codings.

[0045] Further, the DIP switch is further used to switch the DIP switch to the first coding when the RAW image format needs to be tested first, and switch the DIP switch to the second coding when the YUV image format needs to be tested first.

[0046] In a third aspect, an image function test system for a vehicle-mounted camera, such as Figure 8 , Figure 8 is a schematic diagram of a specific embodiment of an image function test system for a vehicle-mounted camera in this application; it includes the image function test board for the vehicle-mounted camera in the second aspect, and further includes a camera module and a PC; the image function test board is electrically connected to the camera module through a coaxial connector and electrically connected to the PC through a USB interface.

[0047] Implementing an image function test method, test board and system for a vehicle-mounted camera of the present invention, by setting a DIP switch and an MCU processor, presetting the image format to be tested through the DIP switch in advance, and after connection, the MCU processor immediately writes the initialization parameter start instruction into the camera module for initialization. The entire initialization process can be completed during the loading process, shortening the test time, improving work efficiency, and reducing production costs.

[0048] The above are only the preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. An image function test method for an in-vehicle camera, characterized in that, Including: Step 100: Provide an image function test board, including: a DIP switch, an MCU processor, an SOC processor, a coaxial connector, a USB interface, and a power supply circuit; The DIP switch is electrically connected to the MCU processor, the SOC processor is connected to the PC through the USB interface, and the output ends of the MCU processor and the SOC processor are connected to the coaxial connector; the power supply circuit is electrically connected to the SOC processor, the MCU processor, and the coaxial connector respectively; Step 200: The MCU processor pre-defines and initializes parameter startup instructions for the test image according to the encoding of the DIP switch, pre-sets the image format to be tested through the DIP switch, connects the image function test board to the camera module through the coaxial connector, and uses the power supply circuit to supply power to the image function test board and the camera module; Step 300: Perform a feeding operation on the camera module. At the same time, the MCU processor writes the initialization parameter startup instruction corresponding to the image format into the camera module for initialization. After the initialization is completed, the image to be tested is transmitted to the PC for image function testing.

2. The method for testing the image function of an in-vehicle camera according to claim 1, wherein The step 200 includes: Step 210: The MCU processor defines the RAW image format and the YUV image format according to different encodings respectively; Step 220: The MCU processor stores the initialization parameter startup instructions corresponding to different encodings.

3. The method for testing the image function of the vehicle-mounted camera according to claim 2, wherein The step 200 further includes: Step 230: If it is necessary to test the RAW image format first, turn the DIP switch to the first encoding; Step 240: If it is necessary to test the YUV image format first, turn the DIP switch to the second encoding.

4. The image function test method of the vehicle-mounted camera according to claim 3, wherein, The step 200 further includes: Step 250: The power supply circuit supplies power to the MCU processor and the SOC processor; Step 260: The power supply circuit supplies power to the camera module through the coaxial connector.

5. The method for testing the image function of an in-vehicle camera according to claim 4, characterized in that, The step 300 includes: Step 310: The MCU processor transmits the initialization parameter startup instruction corresponding to the encoding to the camera module; Step 320: The camera module starts the initialization of the corresponding test image according to the initialization parameter startup instruction.

6. The method for testing the image function of an in-vehicle camera according to claim 5, wherein The step 300 further includes: Step 330: After the initialization is completed, the camera module transmits the test image to the SOC processor; Step 340: The SOC processor transmits the test image to the PC through the USB interface.

7. An image function test board for a vehicle-mounted camera, which adopts the image function test method for a vehicle-mounted camera described in any one of claims 1-6, characterized in that, Including a DIP switch, an MCU processor, an SOC processor, a coaxial connector, a USB interface, and a power supply circuit; The DIP switch is electrically connected to the MCU processor, the SOC processor is connected to the PC through the USB interface, and the output ends of the MCU processor and the SOC processor are connected to the coaxial connector; the power supply circuit is electrically connected to the SOC processor, the MCU processor, and the coaxial connector respectively; The DIP switch is used to preset the image format to be tested through encoding; The MCU processor is used to pre-define and initialize the parameter startup instruction for the test image according to the encoding of the DIP switch, write the initialization parameter startup instruction corresponding to the image format into the camera module, and perform initialization; The power supply circuit is used to supply power to the test board and the camera module; The SOC processor is used to transmit the test image to the PC side through the USB interface after receiving it.

8. The image function test board of the vehicle-mounted camera according to claim 7, characterized in that, The MCU processor is further used to define the RAW image format and the YUV image format respectively according to different encodings, and store the initialization parameter startup instructions corresponding to different encodings.

9. The image function test board of the vehicle-mounted camera according to claim 8, characterized in that, The DIP switch is further used to switch the DIP switch to the first encoding when it is necessary to test the RAW image format first, and switch the DIP switch to the second encoding when it is necessary to test the YUV image format first.

10. An image function test system for an in-vehicle camera, characterized in that, The image function test board of the vehicle-mounted camera according to any one of claims 8-9 further includes: A camera module and a PC side; The image function test board is electrically connected to the camera module through a coaxial connector and electrically connected to the PC side through a USB interface.