Multi-channel camera link switching device
By designing a multi-channel cameralink switching device, the signal analysis and switching of multiple cameralink videos is realized using FPGA chips and microcontroller soft cores, the problem that existing equipment can only process one video image, and the adjustment efficiency and equipment adaptability are improved , realizes simultaneous observation and automation upgrade of multiple products.
Patent Information
- Application Number
- CN202411224526.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-03
- Publication Date
- 2024-11-19
AI Technical Summary
The existing testing and testing equipment can only process one cameralink video image at the same time, resulting in inefficiency, easy equipment damage, and inability to compare multiple product performances at the same time, which is not conducive to automation and batch upgrades.
Design a multi-channel cameralink switching device, including cameralink video acquisition module, signal analysis and control and image processing module, circuit board automatic numbering module, cameralink video output module and power module, and use FPGA chip and microcontroller soft core to realize multiple cameralink video signal analysis and switching, output cameralink video all the way.
It realizes efficient switching of multi-channel cameralink video, improves tuning efficiency and product consistency, extends the service life of the equipment, and supports automation and batch upgrades.
Smart Images

Figure CN118984364A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of image processing, and in particular relates to a switching device capable of switching multi-channel cameralink video images into one channel. Background Art
[0002] At present, in the batch testing, debugging and production of video imaging products such as thermal imagers and CCD complete machines, thermal imagers, gas detection equipment, CCD systems, and observation and measurement equipment, it is necessary to observe the multi-channel cameralink video images of the above products at the same time.
[0003] Each product has at least one cameralink video image output. During the batch testing, debugging, and production stages of these products, multiple video image products to be debugged must be debugged at the same time to be more efficient and ensure product consistency. However, the current debugging equipment only has one cameralink receiving interface. During the debugging process, due to the limitation of the cameralink interface, the debugging personnel can only debug one device at a time, so this type of debugging method will have the following problems: (1) Low efficiency, only one product can be debugged at a time; (2) After repeatedly plugging and unplugging the video interface of the debugging equipment, it is easy to damage the debugging equipment, causing unnecessary losses; (3) The commissioning personnel cannot compare the performance of two or more products in the same commissioning environment at the same time, which reduces the consistency of the products; (4) It is not conducive to the automation, mass production, and generalization of the upgrading and transformation of the debugging and testing tooling equipment, and cannot improve the product adaptability of the debugging and testing tooling equipment. Summary of the invention
[0004] In order to improve the adaptability of the debugging device and improve the debugging efficiency and debugging quality of the product, the present invention proposes a multi-channel cameralink switching device.
[0005] A multi-channel cameralink switching device, characterized in that it includes a cameralink video acquisition module, a program loading and data storage module, a signal analysis and control and image processing module, a circuit board automatic numbering module, a cameralink video output module, a power module and a serial port analysis module installed on a circuit board; multiple cameralink videos are connected to the cameralink video acquisition module, the cameralink video acquisition module is connected to the signal analysis and control and image processing module, and the circuit board automatic numbering module and the serial port analysis module are also connected to the signal analysis and control and image processing module at the same time, the signal analysis and control and image processing module is electrically connected to the program loading and data storage module, and finally the signal analysis and control and image processing module is connected to the cameralink video output module, and the power module is electrically connected to the remaining modules; wherein an FPGA chip is arranged in the signal analysis and control and image processing module, and a single-chip microcomputer soft core is embedded in the FPGA chip.
[0006] Furthermore, the cameralink video acquisition module acquires eight channels of cameralink videos.
[0007] Furthermore, the program loading circuit in the program loading and data storage module adopts a FLASH chip.
[0008] Furthermore, the input voltage range of the power module is DC9-48V, and the output is 5V, 3.3V, 1.8V, 1.5V, and 1.2V.
[0009] The method of using this device for multi-channel cameralink switching is as follows: S1-Program loading and data storage module stores the software programs that need to be preloaded when the device is started, and also stores the non-volatile data required by the device during operation; at the same time, the cameralink video acquisition module performs impedance matching, signal reception, and conversion on multiple cameralink videos, and pushes the data out in the form of a parallel port; S2-The signal analysis and control and image processing module receives the parallel port data output by the cameralink video acquisition module, selects one of the multiple cameralink video acquisition module signals according to the good and bad state of the circuit board automatic numbering module and the serial port data received by the serial port analysis module, encodes it and performs corresponding image processing, generates the signal required by the cameralink video output module, and drives the cameralink video output module 3 to output the signal; at the same time, the circuit board automatic numbering module generates different electrical signals according to the encoder in the circuit board and sends them to the signal analysis and control and image processing module, and the serial port analysis module receives the control instructions of the host computer system, converts them into TTL level and sends them to the signal analysis and control and image processing module; The S3-cameralink video output module receives the signals output by the signal analysis and control and image processing modules, converts them into parallel-to-serial signals, and generates cameralink signals.
[0010] The beneficial effect of the present invention is that the device reads multiple cameralink videos, then performs signal analysis on the multiple videos, generates line signals, field signals, data valid signals, data, and pixel clock information, controls and converts these signals, converts them into an AXIS bus that the system can operate, then performs image processing, and finally sends them to the cameralink video output driver module, which generates line signals, field signals, data valid signals, data, and pixel clock information, and outputs them to the peripheral cameralink driver chip, so that it outputs one cameralink signal. The device realizes multi-channel cameralink switching, and can realize the switching of multi-channel cameralink videos to one cameralink video without going through complex image processing processes such as complex signal acquisition, storage, and encoding. The number of switching channels of the device can be infinitely expanded, and it has strong market promotion and product adaptability. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] Figure 1 This is a connection diagram of a multi-channel cameralink switching device module in Example 1.
[0012] Figure 2 This is a schematic diagram of the FPGA chip program principle.
[0013] Figure 3 This is the microcontroller program flowchart.
[0014] Among them: 1-cameralink video acquisition module, 2-signal analysis and control and image processing module, 3-cameralink video output module, 4-program loading and data storage module, 5-circuit board automatic numbering module, 6-serial port analysis module, 7-power supply module DETAILED DESCRIPTION
[0015] Embodiment 1: A multi-channel cameralink switching device comprises a cameralink video acquisition module 1, a signal analysis and control and image processing module 2, a cameralink video output module 3, a program loading and data storage module 4, a circuit board automatic numbering module, a serial port analysis module 6 and a power supply module 7 installed on a circuit board.
[0016] The cameralink video acquisition module 1 performs impedance matching, signal reception, and conversion on eight-channel cameralink videos, and pushes and outputs the data in the form of a parallel port.
[0017] The program loading circuit in the program loading and data storage module 4 uses a FLASH chip. This module stores the software programs that need to be preloaded when the device is started, and also stores the non-volatile data required by the device during operation.
[0018] The signal analysis and control and image processing module 2 is provided with an FPGA chip, and a single-chip microcomputer soft core is embedded in the FPGA chip; the module receives the parallel port data output by the cameralink video acquisition module 1, selects one of the eight cameralink video acquisition module signals according to the good and bad state of the circuit board automatic numbering module 5 and the serial port data received by the serial port analysis module 6, encodes it and performs corresponding image processing, generates the signal required by the cameralink video output module 3, and drives the cameralink video output module 3 to output the signal.
[0019] The FPGA chip program mainly implements the following functions: read the eight-channel cameralink video pushed and output by the cameralink video acquisition module 1, then perform signal analysis on the eight-channel video, generate line signal, field signal, data valid signal, data, pixel clock information, control and convert these signals, convert them into the AXIS bus that the system can run, then perform corresponding image processing, and finally send them to the cameralink video output driver module 3. The microcontroller program inside the microcontroller soft core implements the following functions: (1) After the microcontroller starts, it is initialized first and the initial address of the FPGA is assigned; (2) The single-chip microcomputer continuously reads the circuit board number read by the circuit board number reading module 5 and determines whether the serial port information parsed by the serial port parsing module 6 is received; (3) If serial port information is received, the MCU soft core will parse the serial port information, obtain the frame header, information body, checksum, and frame tail, and control the FPGA end to switch the cameralink channel according to the content of the information body; (4) After completion, the serial port analysis module 6 returns the current status information; (5) Open the serial port analysis module 6 again to allow serial port information to be received again; (6) Repeat steps (2), (3), (4), and (5) continuously.
[0020] The power module 7 provides power to all modules in the device. The input voltage range is DC9-48V and the output is 5V, 3.3V, 1.8V, 1.5V, and 1.2V.
[0021] The cameralink video output module 3 receives the signal output by the signal analysis and control and image processing module 2, performs parallel-to-serial conversion on the signal, and generates a cameralink signal.
[0022] An encoder is provided in the road plate automatic numbering module 5, and different electrical signals generated by the encoder are sent to the signal analysis and control and image processing module 3.
[0023] The serial port analysis module 6 receives the control command of the host computer system, converts it into TTL level and sends it to the signal analysis and control and image processing module 3. The module adopts RS422 and RS485 compatible selection design and can receive or send RS422 and RS485 serial port data.
Claims
1. A multi-channel cameralink switching device, characterized in that: It includes a cameralink video acquisition module, a program loading and data storage module, a signal analysis and control and image processing module, a circuit board automatic numbering module, a cameralink video output module, a power module and a serial port analysis module installed on a circuit board; multiple cameralink videos are connected to the cameralink video acquisition module, the cameralink video acquisition module is connected to the signal analysis and control and image processing module, and the circuit board automatic numbering module and the serial port analysis module are also connected to the signal analysis and control and image processing module at the same time, the signal analysis and control and image processing module is electrically connected to the program loading and data storage module, and finally the signal analysis and control and image processing module is connected to the cameralink video output module, and the power module is electrically connected to the remaining modules; wherein an FPGA chip is arranged in the signal analysis and control and image processing module, and a single-chip microcomputer soft core is embedded in the FPGA chip; The method of using this device to switch multi-channel cameralink is as follows: S1-Program loading and data storage module stores the software programs that need to be preloaded when the device is started, and also stores the non-volatile data required by the device during operation; at the same time, the cameralink video acquisition module performs impedance matching, signal reception, and conversion on multiple cameralink videos, and pushes the data out in the form of a parallel port; S2-The signal analysis and control and image processing module receives the parallel port data output by the cameralink video acquisition module, selects one of the multiple cameralink video acquisition module signals according to the good and bad state of the circuit board automatic numbering module and the serial port data received by the serial port analysis module, encodes it and performs corresponding image processing, generates the signal required by the cameralink video output module, and drives the cameralink video output module 3 to output the signal; at the same time, the circuit board automatic numbering module generates different electrical signals according to the encoder in the circuit board and sends them to the signal analysis and control and image processing module, and the serial port analysis module receives the control instructions of the host computer system, converts them into TTL level and sends them to the signal analysis and control and image processing module; The S3-cameralink video output module receives the signals output by the signal analysis and control and image processing modules, converts them into parallel-to-serial signals, and generates cameralink signals.
2. A multi-channel cameralink switching device as claimed in claim 1, characterized in that The cameralink video acquisition module acquires eight channels of cameralink videos.
3. A multi-channel cameralink switching device as claimed in claim 1, characterized in that The program loading circuit in the program loading and data storage module adopts a FLASH chip.
4. A multi-channel cameralink switching device as claimed in claim 1, characterized in that The input voltage range of the power module is DC9-48V, and the output is 5V, 3.3V, 1.8V, 1.5V, and 1.2V.
