Infrared detector blackbody correction method under mass data based on CAN bus

By adding ID filtering and handshake protocol to the CAN bus, the problem of communication failure between infrared detectors and blackbody under massive data was solved, a reliable blackbody correction process was realized, and the anti-interference capability and efficiency of the system were improved.

CN119714563BActive Publication Date: 2025-12-16LUOYANG INST OF ELECTRO OPTICAL EQUIP OF AVIC
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411712748.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-27
Publication Date
2025-12-16
Estimated Expiration
2044-11-27

AI Technical Summary

Technical Problem

When using the CAN bus in complex systems, data blocking or loss can easily occur during the infrared detector and blackbody calibration process under massive amounts of data, leading to communication failure.

Method used

Add an ID filter to the communication messages between the infrared detector imaging software and the blackbody on the CAN bus, and design a communication handshake protocol between the infrared detector imaging software and the blackbody. Use the ID filter to filter out redundant messages to achieve reliable communication between the infrared detector and the blackbody.

Benefits of technology

It improves the reliability of blackbody power-on calibration under massive CAN bus data, with long transmission distance, strong anti-interference ability, high speed and high efficiency, and solves the problems of blockage and missed reception in the blackbody calibration process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119714563B_ABST
    Figure CN119714563B_ABST
Patent Text Reader

Abstract

The application relates to a blackbody correction method of an infrared detector under mass data based on a CAN bus, which comprises the following steps: an infrared detector software sends a blackbody control command to a blackbody, and a timer is set, with a timing T0; the blackbody receives the blackbody control command of the infrared detector software, then control command message information is attached with blackbody information ID, and the content is fed back to the detector software as it is, and the feedback time is less than T0; if the infrared detector software receives the feedback information, the first handshaking is completed, and other control command sending is continued; if the handshaking is unsuccessful, the handshaking is circularly carried out after T0 time, and step 1 is continued; the number of handshakings N is set; until the handshaking is successful; if the handshaking is still unsuccessful after N times, correction failure is fed back to a main control, and the blackbody is commanded to stop working; in a word, the application has the advantages of long transmission distance, strong anti-interference capability, high speed and high efficiency, and the reliability of blackbody power-on correction under mass CAN bus data is remarkably improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application belongs to the technical field of embedded software application of airborne communication equipment, and particularly relates to an infrared detector blackbody correction method under massive data based on a CAN bus. BACKGROUND

[0002] Embedded software products have been widely applied in the military field. Embedded software transforms traditional hardware products, and has high flexibility, practicality and applicability. With continuous optimization and professionalization of products, in the field of embedded development, the CAN bus is widely applied due to the characteristics of long data transmission distance, high transmission efficiency, ID arbitration identification, filter implementation of multi-address data frame transmission, and automatic data retransmission. However, when used in a complex system, if there are many nodes and large amounts of data in the loop, under the influence of large amounts of data or strong electromagnetic interference, the problem of data blocking or loss may occur occasionally. Therefore, in order to meet the changing needs of customers, increase the reliability of products and the accuracy of communication, it is necessary to continuously improve the functions of embedded terminal equipment, increase the handshaking mechanism between product subsystems, and enhance the reliability of the system.

[0003] The traditional CAN communication mode cannot avoid the problem of blocking or loss under massive data in the communication process. The present application adds CAN bus communication message ID filtering between the infrared detector imaging software and the blackbody to filter out redundant messages on the CAN bus. On the basis of CAN communication ID filtering, a communication handshake protocol between the infrared detector imaging software and the blackbody is added, and an infrared detector blackbody correction method under massive data based on a CAN bus is designed to solve the above problems. SUMMARY

[0004] Therefore, the present application provides an infrared detector blackbody correction method under massive data based on a CAN bus, which is applied to embedded software application of airborne communication equipment, and solves the technical problems of occasional loss of numbers and communication failure in the infrared detector and blackbody correction process under massive CAN bus data.

[0005] In order to achieve the above technical purposes, the specific technical scheme adopted by the present application is as follows:

[0006] An infrared detector blackbody correction method under massive data based on a CAN bus, comprising the following steps:

[0007] S1: The infrared detector software sends a blackbody control command to the blackbody, and sets a timer with a timing T0. The blackbody control command includes a blackbody self-check command, a temperature setting command, a start work command, a temperature query command and a stop work command.

[0008] S2: The blackbody receives the blackbody control command of the infrared detector software, and then the control command message information is attached to the blackbody information ID, and the content is fed back to the detector software as it is, and the feedback time is less than T0;

[0009] S3: If the infrared detector software receives the feedback information, the first handshaking is completed, and other control command sending is continued;

[0010] S4: If the handshaking is not successful, the handshaking is cycled after T0 time, and step 1 is continued. The number of handshaking N is set, until the handshaking is successful. If it is not successful after N times, the correction failure is fed back to the main control, and the blackbody is commanded to stop working;

[0011] S5: After the blackbody correction process is completed, the infrared detector software controls the blackbody to stop working, and feeds back the power-on blackbody correction state to the main control software.

[0012] Further, in step S2, the blackbody receives the blackbody self-checking command and feeds back. The content fed back by the blackbody includes the cooling capacity of the focal plane of the blackbody.

[0013] Further, in step S2, the infrared detector software receives the feedback of the blackbody about the cooling capacity of the focal plane, and then compares the set blackbody temperature section.

[0014] Further, in step S4, the result of the comparison of the infrared detector software with the set blackbody temperature section is equal, then the acquisition and calculation are performed, if not equal, the infrared detector software exits, takes the FLASH coefficient, and reports the blackbody to the main control.

[0015] Further, in step S5, after all the temperature points are collected, the infrared detector software sends a stop working command to the blackbody, the main control cuts out the shutter, the shutter starts normal work, the infrared detector software feeds back the correction state and the state of the main control software, and the blackbody receives the stop working command and is in standby mode.

[0016] Further, in step S2, the blackbody receives the blackbody control command of the infrared detector software through the ID filter.

[0017] Further, in step S2, the sender sends the message to all receivers in the form of broadcast. When the node receives the message, it is determined whether the software needs the message according to the value of the identifier ID. If it is needed, the value of the message is copied to the RAM. If it is not needed, the message is discarded without the intervention of the software.

[0018] Further, the CAN bus is provided with 6 configurable filters with variable bit width, for 11-bit ID of standard frame, when specific ID needs to be filtered, ID mode is directly used to filter the CAN messages of blackbody and master for detector software processing.

[0019] Further, the infrared detector software, blackbody and master work on the same CAN loop, and the communication rate is 1 Mbps.

[0020] The above technical scheme can also bring the following beneficial effects.

[0021] The application provides a blackbody correction method for an infrared detector under mass data based on a CAN bus, which comprises the following steps: adding ID filtering of communication messages between infrared detector imaging software and a blackbody on a CAN bus to filter out redundant messages on the CAN bus; adding a handshake protocol of the infrared detector imaging software and the blackbody on the basis of CAN communication ID filtering, independently dividing an infrared detector correction coefficient section according to a self-checking capability of the blackbody, and completing a power-on correction process of the infrared detector and the blackbody, so that the reliability of the power-on correction of the blackbody under mass CAN bus data is greatly improved, and the method has the advantages of long transmission distance, strong anti-interference capability, high speed and high efficiency. BRIEF DESCRIPTION OF DRAWINGS

[0022] In order to more clearly illustrate the technical solutions of the embodiments of the application, the following will briefly introduce the drawings needed to be used in the embodiments. Obviously, the drawings described in the following only some embodiments of the application, and for those skilled in the art, other drawings can also be obtained from these drawings without creative labor.

[0023] Figure 1 is a flowchart of the blackbody correction method for the infrared detector under mass data based on the CAN bus;

[0024] Figure 2 is a schematic diagram of the system module connection relationship in the blackbody correction method for the infrared detector under mass data based on the CAN bus;

[0025] Figure 3 is a power-on multi-section correction flowchart of the blackbody in the blackbody correction method for the infrared detector under mass data based on the CAN bus. DETAILED DESCRIPTION

[0026] The embodiments of the application will be described in detail below with reference to the drawings.

[0027] Following embodiments of the present application are illustrated by way of specific examples, and other advantages and effects of the present application can be easily understood by those skilled in the art from the disclosure. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The present application can also be implemented or applied by other different specific embodiments, and various modifications or changes can be made to the details in the specification based on different views and applications without departing from the spirit of the present application. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor are within the scope of protection of the present application.

[0028] It is to be understood that the following description describes various aspects of embodiments within the scope of the appended claims. It will be apparent to one of ordinary skill in the art that aspects described herein can be practiced in a wide variety of forms and that any particular structure and / or function described herein is merely illustrative. Based on the teachings herein one skilled in the art will appreciate that one or more aspects can be implemented independently of any other aspects and that an aspect can be implemented with any number of the other aspects that are not recited specifically herein. For example, an apparatus can be implemented to practice a method or realize a structure even though such an apparatus is not expressly listed in the claims. Furthermore, an aspect can be implemented with respect to either primary and secondary systems or any combination of the aspects.

[0029] It should also be noted that the figures provided in the following embodiments are only schematically illustrating the basic concept of the present application, and only the components related to the present application are shown in the figures, not the number, shape and size of the components when actually implemented, and the shape, number and ratio of the components when actually implemented can be arbitrarily changed, and the layout of the components can also be more complex.

[0030] In addition, in the following description, specific details are provided to facilitate a thorough understanding of the examples. However, one skilled in the art will understand that the described aspects can be practiced without these specific details.

[0031] Embodiment 1

[0032] In one embodiment of the present application, referring to Figure 1 and Figure 2 , the embodiment provides a blackbody correction method for infrared detector under massive data based on CAN bus, including the following steps:

[0033] 1: When the infrared detector software sends the blackbody control command to the blackbody, set the timer, the timing T0, and the blackbody control command includes the blackbody self-check command, the set temperature command, the start work command, the query temperature command and the stop work command;

[0034] 2: The black body receives the black body control command of the infrared detector software through the ID filter;

[0035] 3: The black body control command message is attached with the black body information ID, and the content is fed back to the detector software as it is, and the feedback time is less than T0.

[0036] 4: The black body feeds back the feedback state of the received command to the infrared detector software. If the infrared detector software receives it, the first handshake is completed, and other control command sending is continued. If the handshake is unsuccessful, the handshake is cycled after T0 time, and step 1 is continued. The number of handshakes N is set, until the handshake is successful. If it is still unsuccessful after N times, the correction failure is fed back to the main control, and the black body is commanded to stop working.

[0037] 5: The black body correction process is ended, the detector software controls the black body to stop working, and the power-on black body correction state is fed back to the main control software.

[0038] This process is a specific embodiment of step 1 sending the black body control command. After power-on, the infrared detector software automatically sends the black body self-check command;

[0039] The black body receives the black body self-check command and feeds back through step 3;

[0040] After the black body self-check is completed, the cooling capacity of the black body focal plane is fed back;

[0041] The infrared detector software receives the black body capacity feedback of the black body, and compares it with the set black body temperature section;

[0042] The infrared detector software controls the black body temperature to be the first point temperature of the multi-section calibration according to the black body cooling capacity, and starts working;

[0043] The black body receives the temperature setting command and the start working command of the infrared detector software, and feeds back through step 3;

[0044] The black body feeds back the temperature state after being controlled to the temperature;

[0045] The infrared detector software receives the black body temperature state;

[0046] The infrared detector software sends a query temperature command after receiving the black body temperature state;

[0047] The black body receives the query temperature command, and completes the black body receiving command feedback through step 3.

[0048] The black body feeds back the current black body focal plane temperature;

[0049] The infrared detector software receives the current blackbody focal plane temperature, after receiving the temperature signal, queries the current blackbody temperature, and compares it with the set temperature point, if equal, carries out collection and calculation, if not equal, exits, takes the FLASH coefficient, reports the blackbody to the temperature error to the main control, and so on until the collection and calculation of five temperature points are completed;

[0050] After completing the collection of all temperature points, the infrared detector software sends a stop working command to the blackbody, the main control cuts out the baffle, and starts normal work, and the infrared detector software feeds back the correction state and the self state to the main control software;

[0051] The blackbody receives the stop working command and is in standby mode.

[0052] As shown in Figure 3 It is a blackbody power-on multi-section correction flow chart based on CAN bus mass bus data:

[0053] S100: after power-on, the infrared detector software automatically sends a blackbody self-check command, and after the blackbody self-check is completed, the temperature of the blackbody is periodically controlled to be the first temperature point of multi-section calibration, so that after the refrigeration of the infrared detector is completed, data can be directly collected, and the refrigeration time of the detector and the blackbody self-check and the first point to temperature time are overlapped;

[0054] S200: after power-on, if the infrared detector software receives a fast restart command, the software enters a fast restart mode; if the infrared detector is normal in the blackbody self-check within 5 minutes, and receives a blackbody mode command, the software enters a single machine calibration mode; if the blackbody self-check is abnormal or no blackbody mode command is received, the software enters a FLASH mode. The fast restart mode / FLASH mode is to directly take the FLASH coefficient;

[0055] S300: if the baffle is in place and normal, and the blackbody to temperature is normal, the single machine calibration mode is carried out: taking five temperature points and four section coefficients as an example, the calibration temperature points are set to (-36℃, -18℃, 0℃, 18℃, 36℃); at -36℃ to temperature, the coefficient 1 low temperature original picture is collected, the blackbody temperature is set to -18℃; at -18℃ to temperature, the coefficient 1 high temperature original picture is collected, the coefficient 1 two-point coefficient is calculated, the coefficient 1 two-point bad element is calculated, the coefficient 1 corrected picture is collected, the coefficient 1 single-point bad element is calculated, the blackbody temperature is set to 0℃, and the coefficient 1 to FLASH is stored (the blackbody temperature rising and the coefficient storage time are overlapped); at 0℃ to temperature, the same process is used to calibrate the coefficient 2; at 18℃ to temperature, the same process is used to calibrate the coefficient 3; at 36℃ to temperature, the same process is used to calibrate the coefficient 4 (the blackbody temperature is not set), and the calibration is completed;

[0056] S400: in the process of single machine calibration, after the first point collection is finished, the second temperature point is sent to the black body, and after the black body is raised to the second temperature point, the temperature signal is fed back, after the temperature signal is received, the current black body temperature is inquired and compared with the set temperature point, if they are equal, the collection and calculation are carried out, if they are not equal, the process is exited, the FLASH coefficient is taken, the black body to temperature error is reported to the main control, and so on, until the collection and calculation of the five temperature points are finished.

[0057] S500: after the five temperature points are collected, the infrared detector part closes the black body, the main control cuts out the baffle, and the normal work is started, the infrared detector software feeds back the correction state and the self state to the main control software.

[0058] In summary, the application filters the redundant messages on the CAN bus by increasing the communication message ID filtering between the infrared detector imaging software and the black body, filters out the redundant messages on the CAN bus, increases the communication handshake protocol between the infrared detector imaging software and the black body on the basis of the CAN communication ID filtering, independently divides the infrared detector correction coefficient section according to the black body self-checking ability, and completes the detector correction imaging method, solves the problems of black body CAN message blockage and missing collection caused by massive CAN messages, and the problems of message delay and repeated sending caused by communication period mismatch, and ensures the orderly progress of the black body correction process.

[0059] The above is only a specific embodiment of the application, but the protection scope of the application is not limited thereto, any change or replacement easily thought of by those skilled in the art within the technical range disclosed by the application should be covered in the protection scope of the application. Therefore, the protection scope of the application should be subject to the protection scope of the claims.

Claims

1. A method for blackbody correction of infrared detectors under massive data based on CAN bus, comprising the following steps: S1: The infrared detector software sends blackbody control commands to the blackbody and sets a timer to time T0. The blackbody control commands include blackbody self-test commands, temperature setting commands, start working commands, temperature query commands, and stop working commands. S2: The blackbody receives the blackbody control command from the infrared detector software, then attaches the blackbody information ID to the control command message information, and feeds back the content to the detector software as is, and the feedback time is less than T0. S3: If the infrared detector software receives feedback information, the initial handshake is completed, and other control commands are sent. S4: If the handshake fails, the handshake will be repeated after time T0, and step 1 will continue. Set the number of handshakes N until the handshake is successful. If it still fails after N times, report the correction failure to the main controller and command the black body to stop working. S5: After the blackbody calibration process is completed, the infrared detector software controls the blackbody to stop working and sends feedback on the power-on blackbody calibration status to the main control software.

2. The method for blackbody correction of infrared detectors based on massive data using a CAN bus as described in claim 1, characterized in that: In step S2, the blackbody receives a blackbody self-test command and provides feedback, including the cooling capacity of the blackbody focal plane.

3. The method for blackbody correction of infrared detectors based on massive data using a CAN bus as described in claim 2, characterized in that: In step S2, the infrared detector software receives feedback on the cooling capability of the blackbody with respect to the focal plane, and then compares it with the set blackbody temperature range.

4. The method for blackbody correction of infrared detectors based on massive data using a CAN bus as described in claim 3, characterized in that: In step S4, if the result of comparing the infrared detector software with the set blackbody temperature range is equal, then data acquisition and calculation are performed; if they are not equal, the process exits, the FLASH coefficient is retrieved, and a blackbody temperature error is reported to the main controller.

5. The method for blackbody correction of infrared detectors based on massive data using a CAN bus as described in claim 2, characterized in that: In step S5, after all temperature points are collected, the infrared detector software sends a stop working command to the blackbody, the main control switches out the baffle, the baffle starts working normally, the infrared detector software feeds back the calibration status and its own status to the main control software, and the blackbody receives the stop working command and enters standby mode.

6. The method for blackbody correction of infrared detectors under massive data based on CAN bus as described in claim 2, characterized in that: In step S2, the blackbody receives the blackbody control command from the infrared detector software through the ID filter.

7. The method for blackbody correction of infrared detectors based on massive data using a CAN bus as described in claim 1, characterized in that: In step S2, the sender broadcasts the message to all receivers. When a node receives a message, it determines whether the software needs the message based on the value of the identifier ID. If it does, the message value is copied into RAM; otherwise, the message is discarded without software intervention.

8. The method for blackbody correction of infrared detectors based on massive data using a CAN bus as described in claim 1, characterized in that: The CAN bus is equipped with 6 configurable, variable-width filter groups. For the standard frame 11-bit ID, when a specific ID needs to be filtered, the ID mode is used directly. The ID mode filters the black body and the main control CAN messages for the detector software to process.

Citation Information

Patent Citations

  • Method and system for calibrating multiple temperature measurement modules in batches

    CN114235169A

  • Calibration method, device for infrared temperature measurement, electronic apparatus and storage medium

    US20210285823A1