Digital radio frequency module general test method based on normalized packaging

Through the general testing method of digital RF modules based on normalized packaging, the problem of poor versatility of the debugging technology in the existing technology is solved, and the rapid adaptation and efficient testing of different radar modules are achieved, which reduces R&D costs and time and increases the The universality and adaptability of the test system are carried out.

CN119310535APending Publication Date: 2025-01-14LEIHUA ELECTRONICS TECH RES INST AVIATION IND OF CHINA
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411370493.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-29
Publication Date
2025-01-14

AI Technical Summary

Technical Problem

The tuning technology of existing radar testing equipment is poor, which leads to the need to redevelop the tuning software and testing equipment when facing different models or types of modules, which increases R&D costs and time, and the testing resources are limited, making it difficult to quickly adapt to multiple models. test requirements.

Method used

Using a general testing method for digital RF modules based on normalized packaging, by judging the test type and model information, retrieving the corresponding program packaging library and instruction packaging library, performing normalized packaging and bus communication of instruction protocols, realizing different modules general testing.

Benefits of technology

It significantly shortens the development cycle of the test system, reduces costs, improves the versatility and adaptability of the test system, can quickly adapt to the testing needs of multiple modules and models, and reduces labor and material costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119310535A_ABST
    Figure CN119310535A_ABST
Patent Text Reader

Abstract

The invention provides a digital radio frequency module general test method based on normalized packaging, which belongs to the field of radar digital and radio frequency signal testing, and comprises the following steps: judging the test type of the test method; according to the test type, calling a program packaging library to obtain an operation function; if the model information does not exist in the existing instruction packaging library, performing normalization packaging processing on the control instruction of the model information, storing the control instruction in the existing instruction packaging library, and then calling to obtain an instruction protocol of the tested object; sending a test instruction conforming to the instruction protocol through the bus control instruction function, and testing to obtain initial test information; and performing verification by receiving the initial test data returned by the callback function. The method can be used for debugging all modules and assemblies communicating through an Aurora bus and an Rs422 bus. By applying the same program architecture, corresponding control words can be expanded according to different module ICD protocols to adapt to a tested piece.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of radar digital and radio frequency signal testing, and in particular relates to a universal testing method for digital radio frequency modules based on normalized packaging. Background Art

[0002] With the increasing iteration speed of modern radar technology and the increasing number of large-scale delivery tasks, the demand for existing radar test equipment is also increasing. Current testing resources are limited, and most are developed for specific models, with a high degree of integration and a lack of loose coupling. In radar testing, communication between multiple modules and components within the processor and receiver is primarily achieved through optical and serial communications. Furthermore, different radar models utilize different IC protocols, resulting in the need for different IC protocols for the same test task. This often requires rewriting the corresponding commissioning software and customizing a set of dedicated test equipment. This commissioning technology presents the following challenges: The commissioning technology lacks universality, requiring redevelopment of the commissioning software for different models or types of modules; Limited testing resources increase R&D costs by reordering test equipment and developing the corresponding software, resulting in significant waste of manpower and material resources; Long development cycles require significant debugging time, and specialized test equipment and software often require significant procurement and development time, increasing the risk of final product delivery.

[0003] Therefore, it is necessary to provide a universal testing method to solve the above problems. Summary of the Invention

[0004] In order to solve the above problems, the purpose of the present invention is to provide a universal testing method for digital radio frequency modules based on normalized packaging to solve the problem that existing testing methods are not universal.

[0005] In order to achieve the above object, the present invention provides the following technical solution, a universal testing method for digital RF modules based on normalized packaging, the method comprising:

[0006] Determine the test type of the test method, and obtain module information and model information of the test type;

[0007] According to the module information of the test type, the program encapsulation library of the corresponding module information is called to obtain the operation function of the object under test;

[0008] Determine whether the model information is in the existing instruction encapsulation library;

[0009] If the model information exists in the existing instruction encapsulation library, the instruction protocol in the instruction encapsulation library is directly called; if the model information does not exist in the existing instruction encapsulation library, the control instructions of the model information are normalized and encapsulated, and then stored in the existing instruction encapsulation library, and then called to obtain the instruction protocol of the object under test;

[0010] Select the bus communication method, bus control instruction function and receiving callback function corresponding to the operation function;

[0011] Sending a test instruction that complies with the instruction protocol through the bus control instruction function to perform the test and obtain initial test information;

[0012] The initial test data returned by the callback function is verified. If the verification is correct, the initial test data is the test data and the test is completed. If the verification is incorrect, the bus communication method corresponding to the operation function is reselected and the test is repeated.

[0013] The universal test method for digital RF modules based on normalized encapsulation provided by the present invention also has the following characteristics: the program encapsulation library is divided into different operation function sets according to different test types, each operation function set is normalized in an independent dynamic link library, and when used, the specified operation function set is called according to different module information.

[0014] The universal test method for digital RF modules based on normalized encapsulation provided by the present invention also has the following characteristics: determining the test type of the test method includes unpacking and parsing the frame header of the sending control word to obtain module information and model information of the test type.

[0015] The universal testing method for digital radio frequency modules based on normalized packaging provided by the present invention also has the following characteristics: the module information includes module function information of the object under test, bus communication mode information of the module, and communication transmission rate information of the module.

[0016] The universal test method for digital radio frequency modules based on normalized packaging provided by the present invention also has the following feature: the model information includes the standardized model code of the radar to which the test type belongs.

[0017] The general test method for digital radio frequency modules based on normalized packaging provided by the present invention also has the following characteristics: performing normalized packaging processing on the control instructions of the model information includes:

[0018] Determine the product cluster to which the model information belongs;

[0019] Find reference modules with consistent functions in the product cluster;

[0020] Set the IC command protocol for this model information according to the IC command protocol of the reference module.

[0021] The universal test method for digital radio frequency modules based on normalized packaging provided by the present invention also has the following characteristics: the bus communication method includes intra-radar optical communication and serial bus communication.

[0022] The optical communication is used for program control of the digital module in the radar, and the serial bus communication is used for program control of the radio frequency module.

[0023] The general test method for digital RF modules based on normalized encapsulation provided by the present invention also has the following characteristics: the bus control instruction function sends a response control instruction according to the IC instruction protocol of the radar model, and the sending instruction includes single sending or cyclic sending.

[0024] The general test method for digital RF modules based on normalized packaging provided by the present invention also has the following characteristics: the cyclic transmission uses external pulse triggering to simulate the actual radar master control working environment to send instructions, and the timing of instruction sending is delayed by a fixed time interval after the external trigger, and the time interval is the middle value of the external pulse period.

[0025] The general test method for digital RF modules based on normalized encapsulation provided by the present invention also has the following characteristics: the receiving callback function determines whether there is packet loss by measuring the rate of the returned data. If the rate is lower than 100M / S, it is determined that there is a packet loss problem in the returned data.

[0026] Beneficial effects

[0027] The universal test method for digital RF modules based on normalized packaging provided by the present invention can be used for debugging all modules and components that communicate via the Aurora bus and RS422 bus. By applying the same program architecture, the corresponding control words can be expanded according to different module IC protocols to adapt to the device under test. It also provides excellent human-computer interaction: a clear and consistent interface structure, a unified style, and timely interface response speed. It also provides excellent data processing capabilities: the ability to locally cache data at high rates.

[0028] The general testing method for digital RF modules based on normalized packaging provided by this invention can be widely used in the commissioning and testing of various radar modules and components that use optical communication and serial communication. The use of this system can significantly improve the speed of building a test system, greatly shorten the development cycle of the test system, and is low-cost and can be used in large quantities, with excellent economic and strategic value. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0030] Figure 1 A block diagram illustrating the principles of the method according to an embodiment of the present invention;

[0031] Figure 2 This is a schematic diagram of a debugging method based on the Aurora bus and the RS422 bus according to an embodiment of the present invention;

[0032] Figure 3 This is a flow chart of a multi-module program encapsulation library simulated by an embodiment of the present invention;

[0033] Figure 4 This is a flow chart of the ICD normalization system provided in an embodiment of the present invention;

[0034] Figure 5 This is an operational flow chart of the system provided by an embodiment of the present invention;

[0035] Figure 6 A hardware implementation of the method provided in the embodiment of the present invention;

[0036] Figure 7 It is the Aurora bus debugging interface;

[0037] Figure 8 This is the 422 serial bus debugging interface. DETAILED DESCRIPTION

[0038] The present invention is further described in detail below with reference to the accompanying drawings and examples. However, it should be noted that these embodiments are not limitations of the present invention, and any equivalent transformations or substitutions in functions, methods, or structures made by ordinary technicians in this field based on these embodiments are within the scope of protection of the present invention.

[0039] In the description of the embodiments of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside" and "outside" and the like to indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the invention 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 should not be understood as a limitation on the invention.

[0040] Furthermore, the terms "first," "second," "third," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of the technical features being referred to. Thus, a feature identified with "first," "second," etc., may explicitly or implicitly include one or more of such features. In the description of the present invention, unless otherwise specified, "plurality" means two or more.

[0041] The terms "mounted," "connected," and "connected" should be understood broadly. For example, they can refer to fixed, detachable, or integral connections; mechanical or electrical connections; direct or indirect connections through an intermediary; and internal communication between two components. Those skilled in the art will understand the specific meanings of these terms in the present invention based on specific circumstances.

[0042] like Figure 1-5 As shown, an embodiment of the present invention provides a universal testing method for digital RF modules based on normalized packaging, the method comprising:

[0043] Determine the test type of the test method, and obtain module information and model information of the test type;

[0044] According to the module information of the test type, the program encapsulation library of the corresponding module information is called to obtain the operation function of the object under test;

[0045] Determine whether the model information is in the existing instruction encapsulation library;

[0046] If the model information exists in the existing instruction encapsulation library, the instruction protocol in the instruction encapsulation library is directly called; if the model information does not exist in the existing instruction encapsulation library, the control instructions of the model information are normalized and encapsulated, and then stored in the existing instruction encapsulation library, and then called to obtain the instruction protocol of the object under test;

[0047] Select the bus communication method, bus control instruction function and receiving callback function corresponding to the operation function;

[0048] Sending a test instruction that complies with the instruction protocol through the bus control instruction function to perform the test and obtain initial test information;

[0049] The initial test data returned by the callback function is verified. If the verification is correct, the initial test data is the test data and the test is completed. If the verification is incorrect, the bus communication method corresponding to the operation function is reselected and the test is repeated.

[0050] In some embodiments, the program encapsulation library is divided into different operation function sets according to different test types, each operation function set is normalized in an independent dynamic link library, and when used, the specified operation function set is called according to different module information.

[0051] In some embodiments, determining the test type of the test method includes unpacking and parsing a frame header of a sent control word to obtain module information and model information of the test type.

[0052] In some embodiments, the module information includes module function information of the measured object, bus communication mode information of the module, and communication transmission rate information of the module.

[0053] In some embodiments, the model information includes a standardized radar model code to which the test type belongs.

[0054] In some embodiments, the normalizing and encapsulating the control instructions of the model information includes:

[0055] Determine the product cluster to which the model information belongs;

[0056] Find reference modules with consistent functions in the product cluster;

[0057] Set the IC command protocol for this model information according to the IC command protocol of the reference module.

[0058] In the above embodiment, it is stipulated that the control word length of the ICD instruction protocol of this model is consistent with that of the ICD instruction protocol of other modules with the same function, and that the control instructions with the same function are in the same byte position.

[0059] In some embodiments, the bus communication method includes intra-radar optical communication and serial bus communication.

[0060] The optical communication is used for program control of the digital module in the radar, and the serial bus communication is used for program control of the radio frequency module.

[0061] In some embodiments, the bus control command function sends a response control command according to the IC command protocol of the radar model, and the sending command includes a single sending or a cyclic sending. The sending command can be selected according to program control requirements or test requirements.

[0062] In some embodiments, the cyclic sending uses an external pulse trigger to simulate the actual radar master control working environment to send instructions, and the timing of instruction sending is delayed by a fixed time interval after the external trigger, and the time interval is the middle value of the external pulse period.

[0063] In some embodiments, the receiving callback function determines whether there is packet loss in the data by measuring the rate of the returned data. If the rate is lower than 100M / S, it is determined that there is packet loss in the returned data.

[0064] In some embodiments, a universal test system for digital RF modules based on normalized packaging is provided, which is used to implement the test method provided in any of the above embodiments, such as Figure 5 As shown, the test system operation method is as follows:

[0065] 1) After the hardware electrical connections are complete and the power is on, select the module to which the DUT belongs on the software interface. The program will automatically call the package function library of the selected module.

[0066] 2) Select the module model, and the program will automatically call the corresponding IC definition interface in the module;

[0067] 3) Configure the bus communication mode. The digital RF debugging software can select the corresponding communication mode according to the actual bus communication mode. The digital RF debugging software of the present invention can be configured with 2-way 422 bus and 2-way Aurora bus communication;

[0068] 4) If 422 bus communication is selected, the debugging software will configure the 422 serial bus communication protocol and send the corresponding model module's send control command. It will also parse the returned status word according to the processing function in the function library, display it on the interface, and save it in the memory;

[0069] 5) If Aurora bus communication is selected, the commissioning software will call the fiber optic board driver function and connect to the board's optical port. If communication is successful, a green light will be displayed on the interface, otherwise a yellow light will be displayed. Clicking Send will send the control word in the protocol to the digital module under test according to the IC protocol. The control word can be sent along with the frame signal by using frame triggering, which is similar to the working principle of internal communication in radar.

[0070] 6) The commissioning software will check whether the check bit of the returned status word meets the protocol requirements. If the check bit meets the requirements and there is no data loss, the digital RF commissioning software test process is completed. Otherwise, it returns to the configuration logic layer to reconfigure the physical layer.

[0071] Figure 6The hardware implementation method of the test method provided by the present invention includes [1] digital RF debugging software, [2] a portable computer with a PXI e high-speed interface, and [3] a fiber optic communication board. The fiber optic communication board is installed in the portable computer through the PXI e slot and connected to the module under test through the J30J interface and the optical port via a custom cable with a defined interface. The test equipment mainly consists of a main control unit with a PXI e high-speed interface, a high-speed fiber optic communication card, and debugging software. In order to realize multi-module program control and rapid construction, the program architecture in the software is, on the one hand, as shown in FIG. Figure 3 As shown in the figure, the instruction control programs of different modules under test are encapsulated in different libraries to form a test case library and corresponding library functions. When building the program control program of the corresponding module, it is only necessary to call the corresponding library. On the other hand, as shown in the figure, Figure 4 As shown, the bus protocols of modules with different models but similar functions are normalized, and the control words and status words with the same number of bytes are allocated, and the control words with similar functions are allocated to the same byte position. When building host computer programs of different models, it is only necessary to make corresponding modifications to the module control words of typical cases, without redefining the control words, which reduces the workload of software development. Figure 7 and Figure 8 This is a typical host computer interface of the digital radio frequency debugging method of the present invention, wherein Figure 7 This is the Aurora bus debugging interface. Figure 8 This is the 422 serial bus debugging interface. Its main functions include configuring communication parameters, interface display, data sending and receiving, and dumping.

[0072] The method provided in any of the aforementioned embodiments normalizes the IC protocol for modules of different models but similar functions by encapsulating function calls used by different modules in a host computer program and storing them in different libraries. The module encapsulation library primarily includes bus communication loading functions, control word transmission configuration functions, status word reception and display logic functions, and other functions for different modules. The IC protocol normalization primarily defines transmit and receive control words with the same number of bytes for similar modules, as well as byte regions with similar functions, within the protocol.

[0073] The above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention shall be included within the scope of protection of the present invention. The above description is merely a preferred embodiment of the present invention. It should be noted that those skilled in the art can make various improvements and variations without departing from the technical principles of the present invention, and such improvements and variations shall also be considered within the scope of protection of the present invention.

Claims

1. A general test method for digital radio frequency modules based on normalized packaging, characterized in that: The method comprises: Determine the test type of the test method, and obtain module information and model information of the test type; According to the module information of the test type, the program encapsulation library of the corresponding module information is called to obtain the operation function of the object under test; Determine whether the model information is in the existing instruction encapsulation library; If the model information exists in the existing instruction encapsulation library, the instruction protocol in the instruction encapsulation library is directly called; if the model information does not exist in the existing instruction encapsulation library, the control instructions of the model information are normalized and encapsulated, and then stored in the existing instruction encapsulation library, and then called to obtain the instruction protocol of the object under test; Select the bus communication method, bus control instruction function and receiving callback function corresponding to the operation function; Send a test instruction that complies with the instruction protocol through the bus control instruction function to perform the test and obtain initial test information; The initial test data returned by the callback function is received for verification. If the verification is correct, the initial test data is the test data and the test is completed. If the verification is incorrect, the bus communication method corresponding to the operation function is reselected and the test is performed again.

2. The universal test method for digital radio frequency modules based on normalized packaging according to claim 1 is characterized in that: The program encapsulation library is divided into different operation function sets according to different test types, and each operation function set is normalized in an independent dynamic link library. When in use, the specified operation function set is called according to different module information.

3. The universal test method for digital radio frequency modules based on normalized packaging according to claim 1 is characterized in that: Determining the test type of the test method includes unpacking and parsing the frame header of the sending control word to obtain module information and model information of the test type.

4. The universal test method for digital radio frequency modules based on normalized packaging according to claim 1 is characterized in that: The module information includes module function information of the object under test, bus communication mode information of the module and communication transmission rate information of the module.

5. The universal test method for digital radio frequency modules based on normalized packaging according to claim 1 is characterized in that: The model information includes a radar standardized model code to which the test type belongs.

6. The universal test method for digital radio frequency modules based on normalized packaging according to claim 1 is characterized in that: The normalization and packaging of the control instructions of the model information includes: Determine the product cluster to which the model information belongs; Find reference modules with consistent functions in the product cluster; Set the ICD command protocol for the model information according to the ICD command protocol of the reference module.

7. The universal test method for digital radio frequency modules based on normalized packaging according to claim 1 is characterized in that: The bus communication method includes intra-radar optical communication and serial bus communication. The optical communication is used for program control of the digital module in the radar, and the serial bus communication is used for program control of the radio frequency module.

8. The universal test method for digital radio frequency modules based on normalized packaging according to claim 1 is characterized in that: The bus control instruction function sends a response control instruction according to the ICD instruction protocol of the radar model, and the sending instruction includes single sending or cyclic sending.

9. The universal test method for digital radio frequency modules based on normalized packaging according to claim 8 is characterized in that: The cyclic transmission uses an external pulse trigger to simulate the actual radar main control working environment to send instructions. The timing of instruction sending is delayed by a fixed time interval after the external trigger, and the time interval is the middle value of the external pulse cycle.

10. The universal test method for digital radio frequency modules based on normalized packaging according to claim 1, characterized in that: The receiving callback function determines whether there is packet loss in the data by measuring the rate of the returned data. If the rate is lower than 100M / S, it is determined that there is packet loss in the returned data.

Citation Information

Cited By

  • Interactive ultrasonic radar drive test method and system

    CN120871094A