High frame rate temperature measurement infrared data processing method and system for high-speed railway contact network

Through multi-thread mode and cache queue structure, real-time processing and storage of high frame rate infrared data is realized, which solves the problem of slow storage speed in high frame rate image processing in the existing technology, ensuring the real-time performance of the system and meeting user needs. satisfy.

CN113689405BActive Publication Date: 2024-10-29NORTH NIGHT VISION SCI&TECH (NANJING) RES INST CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110977315.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-24
Publication Date
2024-10-29
Estimated Expiration
2041-08-24

AI Technical Summary

Technical Problem

When processing high frame rate images, the existing infrared thermal imaging detection system cannot read and display image data in real time and store abnormal temperature points at the same time, resulting in system freezes or errors.

Method used

Using multi-thread mode and cache queue structure, the first M frames of images of the current frame are stored in real time through the first cache, and the cached data is transferred and replaced when an abnormality is detected to realize real-time processing and storage of high frame rate infrared data.

Benefits of technology

It solves the real-time storage problem during high frame rate infrared temperature measurement, improves the storage speed, meets the user's need for quick viewing of abnormal points, and realizes dynamic imaging temperature measurement under high frame rate conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113689405B_ABST
    Figure CN113689405B_ABST
Patent Text Reader

Abstract

The present invention discloses a high-frequency temperature measurement infrared data processing method for a high-speed railway contact network. Thread 1 and thread 2 are mainly set through a multi-threaded mode, wherein thread 1 mainly performs image capture, real-time display, and judgment of abnormal temperature points, thereby realizing real-time display and online observation of high-frequency temperature measurement infrared data of the high-speed railway contact network; thread 2 is used for storing the image data sets before and after the abnormal temperature points. The present invention also provides a high-frequency temperature measurement infrared data processing system for a high-speed railway contact network. The multi-threaded mode can realize parallel computing, speed up storage speed, and realize infrared temperature measurement processing in a high frame rate mode; thereby solving the problem that the local storage speed is slow and affects the capture and display of high frame rate images.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of data processing, and in particular relates to a high frame rate temperature measurement infrared data processing method and system for high-speed railway contact network. Background Art

[0002] The contact network occupies a very important position in the electrified railway. With the development of EMU and high-speed railway in my country, it is more urgent to improve the safety and reliability of the contact network operation. Temperature detection of the contact network and keeping track of the contact network parameter status at any time are important links in maintaining safe railway transportation. Infrared thermal imager temperature measurement technology can effectively detect whether there is overheating in the electrical connection parts. In the infrared thermal imaging detection system, the thermal image is captured by the host computer and other software; the image is pre-processed by temperature measurement and analysis to convert the thermal radiation signal into the distribution of temperature / temperature field, and displayed on the terminal display; when the temperature exceeds the set threshold, an alarm is issued and the data of the relevant abnormal temperature points are stored.

[0003] In existing infrared thermal imaging detection systems, high frame rate infrared thermal imagers are not used when capturing, displaying and storing image data; for example, the frame rate of a thermal imager used in a rail train detection system of CV 106428107A is ≤120HZ.

[0004] The frame rate of the thermal imager used in traditional temperature measurement is generally 50-300HZ; it takes 0.033-0.2s for the host computer to capture images using the image acquisition card, display them on the host computer terminal interface, and store abnormal temperature points. The low frame rate temperature measurement mode does not have the problem of real-time display and storage speed not keeping up, but in the high frame rate image processing process, the image capture, display, and storage are different from the low frame rate mode. For example, for a high frame rate of 1000HZ, it transmits 1000 pictures in 1s, which is equivalent to 1ms to complete the capture, display, and storage functions. Since the image data storage process is a process of data interaction between the host computer and the local, it is very time-consuming. For the high frame rate data acquisition volume, the existing solution cannot realize the host computer to complete the data storage of abnormal temperature points while reading and displaying image data in real time; so when using high frame rate images for temperature measurement, if abnormal temperature points appear, the entire system will appear due to the long storage time caused by the phenomenon of jamming or error. Summary of the invention

[0005] Purpose of the invention: In view of the problems existing in the prior art, the present invention proposes a high frame rate temperature measurement infrared data processing method for high-speed railway contact network, which can effectively speed up the storage speed of abnormal point image combination.

[0006] Technical solution: To achieve the above object, the present invention provides a high-frame-rate temperature measurement infrared data processing method for high-speed rail catenary, including collecting infrared images of the high-speed rail catenary through a high-frame-rate infrared thermal imager; performing digital image processing on the collected infrared images and outputting for real-time display, and at the same time performing temperature abnormal point data processing on the images of digital image processing, mainly including the following steps:

[0007] The first buffer stores the first M frames of images of the current frame in real time;

[0008] Perform temperature abnormal judgment on the current frame image in real time; if the temperature of the current frame image exceeds the temperature threshold; then perform the abnormal image storage operation; if the temperature of the current frame image does not exceed the temperature threshold, update the M frames of images in the first buffer with the current frame;

[0009] Among them, the abnormal image storage operation includes the following steps:

[0010] The first buffer continues to store the next M-1 frames of images of the current frame; the third buffer stores the current frame and the next M-1 frames of images of the current frame;

[0011] The first buffer containing 2M frames of images of the current frame is sent to the second buffer; at the same time, the first buffer is emptied; the second buffer starts to store the received 2M frames of images to the terminal for saving;

[0012] The third buffer sends the stored current frame and the next M-1 frames of images of the current frame to the first buffer, and the third buffer is emptied.

[0013] Furthermore, the value range of M is 50 < M < 1000. In this way, the cache processing speed is faster, and it meets the needs of users when viewing abnormal points. Among the 2M images stored when an abnormal point appears, the front and back states of the abnormal point are included, which is more convenient for comparison and viewing.

[0014] Furthermore, the digital image processing uses a camera-link image acquisition card to capture images.

[0015] The present invention also provides a high-frame-rate temperature measurement infrared data processing system for high-speed rail catenary, including:

[0016] The infrared image acquisition module is used to acquire infrared images generated by the high-frame-rate infrared thermal imager for the high-speed rail catenary;

[0017] The data processing module is used to process the infrared images acquired by the infrared image acquisition module;

[0018] Among them, the data processing module includes a digital image processing sub-module and a temperature abnormal point data processing sub-module;

[0019] The digital image processing submodule is used to capture images and display the captured images in real time on the terminal; at the same time, the captured images are sent to the temperature abnormal point data processing submodule;

[0020] The temperature abnormal point data processing submodule determines the temperature abnormality and saves the image of the temperature abnormality. The temperature abnormal point data processing submodule includes three buffers.

[0021] The first buffer stores the first M frames of images of the current frame in real time;

[0022] Perform temperature anomaly judgment on the current frame image in real time; if the temperature of the current frame image exceeds the temperature threshold, perform abnormal image storage operation; if the temperature of the current frame image does not exceed the temperature threshold, update the M frame image in the first cache with the current frame;

[0023] The abnormal image storage operation includes the following steps:

[0024] The first buffer continues to store the image of the M-1 frames after the current frame; the third buffer stores the image of the current frame and the M-1 frames after the current frame;

[0025] The first buffer contains the 2M frame image of the current frame and sends it to the second buffer; at the same time, the first buffer is cleared; the second buffer starts to store the received 2M frame image to the terminal for preservation;

[0026] The third cache sends the stored current frame and the subsequent M-1 frames of image of the current frame to the first cache, and the third cache is cleared.

[0027] Furthermore, the infrared image acquisition module is implemented based on FPGA, and the acquisition clock is greater than 160M, so that the output image data can be stably acquired.

[0028] The present invention also provides a computer-readable medium for storing software, wherein the software includes instructions that can be executed by one or more computers, and the instructions enable the one or more computers to perform operations through such execution, and the operations include the process of the high-frame rate temperature measurement infrared data processing method for high-speed railway contact network as mentioned above.

[0029] The present invention also provides a computer system, comprising:

[0030] one or more processors;

[0031] A memory storing operable instructions, wherein when the instructions are executed by the one or more processors, the one or more processors are caused to perform operations, wherein the operations include the process of the high frame rate temperature measurement infrared data processing method for high-speed railway contact network as described above.

[0032] In combination with the above technical scheme, the present invention mainly sets thread 1 and thread 2 through a multi-threaded mode, wherein thread 1 is mainly used for image capture, real-time display and judgment of abnormal temperature points, so as to realize real-time display of high-frame-rate temperature measurement infrared data of the high-speed rail contact network and online observation, wherein multiple caches are used for data transmission and replacement, so as to meet the real-time and fast processing of images; thread 2 is used for the storage of before and after image data sets of abnormal temperature points; the multi-threaded mode can realize parallel computing, speed up the storage speed, and realize infrared temperature measurement processing in high frame rate mode; thereby solving the problem of slow local storage speed affecting high frame rate image capture and display.

[0033] Significant beneficial effects: Compared with the prior art, the present invention

[0034] 1) The problem of real-time storage of abnormal temperature when using a high frame rate infrared thermal imager for temperature measurement is solved. The present invention adopts a queue data structure and a multi-threading mode to prevent memory overflow and speed up storage.

[0035] 2) The real-time collected images are taken as a basic set of M frames, so that the cache processing speed is faster and meets the needs of users to view abnormal points. The 2M image stored when an abnormal point appears includes the before and after states of the abnormal point, which is easier to compare and view.

[0036] 3) It can realize dynamic imaging temperature measurement at high frame rate. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 A schematic diagram of the structure of a high frame rate temperature measurement infrared data processing system for high-speed railway contact network provided by the present invention;

[0038] Figure 2 A flow chart of a high frame rate temperature measurement infrared data processing method for a high-speed railway contact network provided by the present invention;

[0039] Figure 3 It is the temperature map observed online by the terminal. DETAILED DESCRIPTION

[0040] The following will be combined with the accompanying drawings in the examples of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0041] Embodiment 1:

[0042] like Figure 1As shown, this embodiment discloses a high frame rate temperature measurement infrared data processing system for high-speed rail contact network, an infrared image acquisition module and a data processing module; a high frame rate infrared thermal imager is used to collect infrared images of the high-speed rail contact network. The high frame rate infrared thermal imager used in this embodiment uses an embedded platform, wherein the imaging circuit in the infrared image acquisition module collects the original signal data of the infrared image of the high-speed rail contact network, and sends the collected original signal data of the infrared image to the data processing module for processing, and the data processing module sends the processed image data to the terminal through the output interface. The terminal can be a PC, a mobile phone, a tablet device, etc.

[0043] The first step to achieve 1000Hz imaging is to have a high-speed acquisition module for high-frame-rate infrared thermal imagers. Since the frame rate of high-frame-rate infrared thermal imagers needs to reach 1000Hz, its output is 4-channel LVDS25 differential signals. The pixel data of different columns in the same row are combined to form a complete row. The signal rate can reach 550MHz. The 4-channel signals need to be sent to the FPGA for acquisition at the same time, and during the transmission process, the electromagnetic radiation interference of the differential signal itself and the crosstalk between different signals need to be suppressed. An impedance error exceeding 20% ​​may cause misjudgment of the signal level at the signal receiving end, affecting the image quality. The transmission delay between the 4 channels is controlled within 5% of the clock cycle, and the impedance of the routing is calculated using the Polar SI9000 software. The impedance of the differential routing is controlled within 100 ohms ± 10 ohms to ensure that the signal level generated at the signal receiving end does not cause misjudgment. Finally, on the PCB, the maximum routing error of the 4-channel differential is within 10mil, which is converted into a time unit of 1.74ps, which is controlled within 5% of the clock cycle.

[0044] The acquisition clock used in this embodiment is 550M, the pixel clock is 137.5M, and the ISERDES is used to perform serial-to-parallel processing on the 4-way differential signals output by the high frame rate infrared thermal imager. Then, the test word module is automatically searched to locate the best sampling point, that is, the serdes high-speed acquisition method is adopted to judge the first test word and the last test word in the data packet after serial-to-parallel conversion one by one, and the first test word and the last test word are used as sampling points for sampling; since the high frame rate infrared thermal imager outputs 4 channels at the same time, the 4 channels of pixel data in different columns of the same row are merged to form a complete row, and then the collected 4 channel data are converted into serial and output one by one through the FIFO memory to output 16-bit original image data. The setting of the acquisition clock is associated with the output frequency of the high frame rate infrared thermal imager. The embodiments provide several corresponding relationships between the output frequencies of the high frame rate infrared thermal imagers and the acquisition clock: the output frequency of the high frame rate infrared thermal imager is 200HZ, and the acquisition clock is 160M; the output frequency of the high frame rate infrared thermal imager is 500HZ, and the acquisition clock is 300M; the output frequency of the high frame rate infrared thermal imager is 1000HZ, and the acquisition clock is 550M.

[0045] Among them, the data processing module mainly includes two parts: the digital image processing submodule and the temperature anomaly point data processing submodule. The digital image processing submodule mainly processes the original signal data of the infrared image of the high-speed rail contact network collected by the imaging circuit, that is, the image is captured through the camera-link image acquisition card, the image size is 384×288, and the captured image data is sent to the temperature anomaly point data processing module, and the digital video is output to the terminal for real-time display using the camera-link; the digital video includes temperature information.

[0046] The temperature anomaly point data processing module includes three caches, namely Que1, Que2, and Que3, which are all empty in the initial state. Among them, Que2 is a global variable, Que1 and Que3 are local variables, and the first cache Que1 adopts a queue data structure, and the storage form is first-in-first-out. Figure 2 As shown, the abnormal temperature judgment in the digital image processing submodule and the temperature abnormal point data processing module is thread 1; the second cache Que2 stores the image data set before and after the abnormal temperature point locally as thread 2. The temperature abnormal point data processing module is the main improvement of the present invention, wherein the high frame rate temperature measurement data processing method mainly includes the following steps:

[0047] Step 1: In the initial state, the first buffer Que1 stores the image output by the digital image processing submodule in real time; when M frames of images are stored in the first buffer Que1, step 2 is executed; M=500 is set in this embodiment.

[0048] Step 2: Start to judge the temperature anomaly for the received M+1 frame image in turn, that is, judge the temperature anomaly for each frame image after the M frame in turn, and stop judging the temperature anomaly after detecting the image with temperature anomaly; if the temperature of the current frame image exceeds the temperature threshold, it means that the current frame image is abnormal, and then execute step 3-step 5: if the temperature of the current frame image does not exceed the temperature threshold, it means that the current frame image is not abnormal, and then execute step 6; the temperature threshold set in this embodiment is 200°C;

[0049] Step 3: The first buffer Que1 continues to store the image of the next M-1 frames after the current frame; the third buffer Que3 stores the image of the current frame and the next M-1 frames after the current frame;

[0050] Step 4: The first cache Que1 sends the 2M frame image including the current frame to the second cache Que2, and the first cache Que1 is cleared at the same time; the second cache Que2 starts to store the received 2M frame image into the terminal's memory for preservation; after the preservation is completed, the second cache Que2 is cleared.

[0051] Step 5: the third cache Que3 sends the stored current frame and the image of the next M-1 frames of the current frame to the first cache Que1, the third cache Que3 is cleared, and step 2 is repeated;

[0052] Step 6: The current frame image updates the first frame image in the first cache Que1; repeat step 2.

[0053] like Figure 3 As shown in the figure, users can use the supporting software system to realize real-time online observation of infrared images collected by the temperature measuring thermal imager at the terminal. The pixel data of the lens screen can intuitively display the temperature information, and the temperature curve of the selected area can be observed online in real time.

[0054] The terminal converts the image stored in the local abnormal point temperature image data set into a pseudo-color storage image in real time. It is converted into color data using a pseudo-color coding method, which improves the resolution of the infrared image and facilitates visualization by the human visual system. If the image temperature is normal, the terminal does not alarm, and the software system automatically displays the regional temperature curve and the key frame image temperature curve. If the image temperature is abnormal, the terminal alarms, and the software system automatically displays the regional temperature curve and the key frame image temperature curve.

[0055] Embodiment 2:

[0056] The present embodiment discloses a high frame rate temperature measurement infrared data processing system for high-speed railway contact network, an infrared image acquisition module and a data processing module; in the present embodiment, the infrared image acquisition module and the data processing module are implemented based on an independent controller, and a high frame rate infrared thermal imager acquires infrared images of the high-speed railway contact network, and sends the acquired data to an independent controller for processing; the controller may be a single-chip microcomputer, a PLC, an FPGA, etc.; wherein the imaging circuit in the external image acquisition module acquires the original signal data of the infrared image of the high-speed railway contact network, and sends the acquired original signal data of the infrared image to the data processing module therein for processing, and the data processing module sends the processed image data to the terminal through an output interface. The terminal may be a PC, a mobile phone, a PAID, etc.

[0057] In the present embodiment, multiple independent storage spaces are set in the second cache Que2, which are mainly used for the simultaneous storage of multiple groups of abnormal temperature point image data sets; that is, if similar temperature abnormal points exist, each group of abnormal temperature point image data sets can be stored in each independent storage space in the second cache Que2 respectively, and then stored in the terminal memory in sequence or simultaneously.

[0058] The present invention also provides a computer-readable medium for storing software, wherein the software includes instructions that can be executed by one or more computers, and the instructions enable the one or more computers to perform operations through such execution, and the operations include the process of the high-frame rate temperature measurement infrared data processing method for high-speed railway contact network as mentioned above.

[0059] The present invention also provides a computer system, comprising: one or more processors; a memory, storing operable instructions, wherein when the instructions are executed by the one or more processors, the one or more processors perform operations, wherein the operations include the process of the high frame rate temperature measurement infrared data processing method for high-speed railway contact network as described above.

[0060] It should be understood that the example of the high frame rate temperature measurement infrared data processing method for high-speed railway contact network of the present invention can be in any computer system including data storage and data processing, and the aforementioned computer system can be at least one electronic processing system or electronic device including a processor and a memory, such as a PC, whether it is a personal PC, a commercial PC, or a PC for graphics processing, or a server-level PC. These PCs realize wired and / or wireless data transmission, especially image data, by having a data interface and / or a network interface.

[0061] In other embodiments, the computer system may also be a server, especially a cloud server, having data storage, processing and network communication functions.

[0062] An exemplary computer system generally includes at least one processor, a memory, and a network interface connected by a system bus. The network interface is used to communicate with other devices / systems.

[0063] The processor is used to provide system calculations and control.

[0064] The memory includes non-volatile memory and cache.

[0065] Non-volatile memory generally has a massive storage capacity and can store operating systems and computer programs. These computer programs may include operable instructions. When these instructions are executed by one or more processors, the one or more processors are able to execute the process of the high-frame rate temperature measurement infrared data processing method for high-speed railway contact network of the aforementioned embodiment of the present invention.

[0066] In necessary or reasonable implementations, the aforementioned computer system, whether a PC device or a server, may also include more or fewer components than those shown in the diagram, or a combination, or use different hardware, software or other components or different deployment methods.

[0067] In necessary or reasonable implementations, the aforementioned computer system, whether a PC device or a server, may also include more or fewer components than those shown in the diagram, or a combination, or use different hardware, software or other components or different deployment methods.

Claims

1. A high frame rate temperature measurement infrared data processing method for high-speed railway contact network, characterized in that: The method includes collecting infrared images of the high-speed railway contact network by a high frame rate infrared thermal imager; performing digital image processing on the collected infrared images and outputting them for real-time display, and performing temperature abnormal point data processing on the digital image processed images, including the following steps: The first buffer stores the first M frames of images of the current frame in real time; Perform temperature anomaly judgment on the current frame image in real time; if the temperature of the current frame image exceeds the temperature threshold, perform abnormal image storage operation; if the temperature of the current frame image does not exceed the temperature threshold, update the M frame image in the first cache with the current frame; The abnormal image storage operation includes the following steps: The first buffer continues to store the image of the M-1 frames after the current frame; the third buffer stores the image of the current frame and the M-1 frames after the current frame; The first buffer contains the 2M frame image of the current frame and sends it to the second buffer; then the first buffer is cleared; the second buffer starts to store the received 2M frame image to the terminal for preservation; The third cache sends the stored current frame and the subsequent M-1 frames of images of the current frame to the first cache, and the third cache is cleared.

2. The high frame rate temperature measurement infrared data processing method for high-speed railway contact network according to claim 1 is characterized in that: The value range of M is 50 <M<1000。 3. The high frame rate temperature measurement infrared data processing method for high-speed railway contact network according to claim 1 is characterized in that: The digital image processing adopts a camera-link image acquisition card to capture images.

4. A high frame rate temperature measurement infrared data processing system for high-speed railway contact network, characterized in that: include: The infrared image acquisition module is used to acquire infrared images of the high-speed railway contact network generated by a high-frame-rate infrared thermal imager; The data processing module is used to process the infrared image collected by the infrared image collection module; Wherein, the data processing module includes a digital image processing submodule and a temperature abnormal point data processing submodule; The digital image processing submodule is used to capture images and display the captured images in real time on the terminal; at the same time, the captured images are sent to the temperature abnormal point data processing submodule; The temperature abnormal point data processing submodule determines the temperature abnormality and saves the image of the temperature abnormality. The temperature abnormal point data processing submodule includes three buffers. The first buffer stores the first M frames of images of the current frame in real time; Perform temperature anomaly judgment on the current frame image in real time; if the temperature of the current frame image exceeds the temperature threshold, perform abnormal image storage operation; if the temperature of the current frame image does not exceed the temperature threshold, update the M frame image in the first cache with the current frame; The abnormal image storage operation includes the following steps: The first buffer continues to store the image of the M-1 frames after the current frame; the third buffer stores the image of the current frame and the M-1 frames after the current frame; The first buffer contains the 2M frame image of the current frame and sends it to the second buffer; at the same time, the first buffer is cleared; the second buffer starts to store the received 2M frame image to the terminal for preservation; The third cache sends the stored current frame and the subsequent M-1 frames of image of the current frame to the first cache, and the third cache is cleared.

5. The high frame rate temperature measurement infrared data processing system for high-speed railway contact network according to claim 4 is characterized in that: The value range of M is 50 <M<1000。 6. The high frame rate temperature measurement infrared data processing system for high-speed railway contact network according to claim 4 is characterized in that: The digital image processing submodule uses a camera-link image acquisition card to capture images.

7. The high frame rate temperature measurement infrared data processing system for high-speed railway contact network according to claim 4 is characterized in that: The infrared image acquisition module is implemented based on FPGA; the acquisition clock is greater than 160M.

8. A computer-readable medium storing software, characterized in that: The software includes instructions that can be executed by one or more computers, and the instructions enable the one or more computers to perform operations through such execution, and the operations include the process of the high-frame rate temperature measurement infrared data processing method for high-speed railway contact network as described in any one of claims 1-3.

9. A computer system, characterized in that: include: one or more processors; A memory storing operable instructions, wherein when the instructions are executed by the one or more processors, the one or more processors perform operations, wherein the operations include the process of the high frame rate temperature measurement infrared data processing method for high-speed railway contact network as described in any one of claims 1 to 3.

Citation Information

Patent Citations

  • Infrared temperature monitoring method and system of electrified railway contact network

    CN101762327A

  • Device for lossless recording, storing and playing back high-speed images in real time without loss

    CN102098562A