Debugging method for radio frequency signal detection in radio frequency optical transceiver based on network communication

By designing network management board programs and RF service board programs, and using network communication interfaces to measure, write and read power sampling tables, the problem of low debugging efficiency of RF service boards is solved, and efficient RF signal detection debugging and online updates are achieved.

CN119519829AActive Publication Date: 2025-02-25THE 34TH RESEARCH INSTITUTE OF CETC

Patent Information

Application Number
CN202411529857.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-30
Publication Date
2025-02-25
Estimated Expiration
2044-10-30

AI Technical Summary

Technical Problem

When debugging RF signal detection, data testing, writing and modification are troublesome, and debugging efficiency is low. Each business board needs to be debugged first and then assembled into a whole machine.

Method used

Design the network management board program, measure, write and read the power sampling table through the network communication interface, and recognize and load the power sampling table after the RF service board program is started, and check the table to calculate the detection value.

Benefits of technology

Software developers do not need to use professional tools to update the RF business board program. Production debuggers can update the power sampling table through PC hosting software, which improves debugging efficiency, avoids disassembly of the entire machine and structural tightening damage, and realizes online remote updates and batch downloads.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119519829A_ABST
    Figure CN119519829A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of optical transceivers, in particular to a debugging method for radio frequency signal detection in a radio frequency optical transceiver based on network communication, which comprises the following steps of: designing a network communication interface of a network management board program for measuring, writing and reading a power sampling meter, and sending the power sampling meter to a radio frequency service board program through the network interface; and the data is stored in the Flash in the microcontroller according to a specific format. After a program is started, a power sampling table is identified and loaded, and a detection value is calculated by looking up the table. According to the method, when the power sampling meter needs to be modified every time, the radio frequency service board does not need to be detached from the whole machine, and the structural tightness of the whole machine cannot be damaged; a business board program does not need to be updated by using a professional tool, the power sampling meter can be updated online and remotely by production debugging personnel through PC (Personal Computer) upper computer software, and equipment maintenance is carried out during operation; in the batch production process, complete machine assembly can be carried out firstly, then detection waves of all radio frequency service boards in the radio frequency optical transceiver are measured and written in together, and the efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of optical terminals, and in particular to a debugging method for radio frequency signal detection in a radio frequency optical terminal based on network communication. Background Art

[0002] The RF optical transceiver is generally composed of a network management board and multiple RF service boards plugged into the backplane. The RF service board realizes the optical transmission of the RF signal, and the microcontroller program on it monitors the detection status of the RF signal. The network management board and each RF service board communicate through the serial port, collect the detection status of the RF signal of each service board, and then report it to the monitoring computer in the computer room through the Ethernet interface, so as to realize the overall monitoring of all RF signals of the optical transceiver.

[0003] The existing RF business boards have the disadvantages of troublesome data testing, writing, and modification when debugging RF signal detection, and low debugging efficiency. Each RF business board must first be debugged as a single board, and then assembled into a complete machine after the single board debugging is completed. Specifically, when debugging a single board, the business board is powered separately, connected to the RF signal source, connected to the debugging computer through the download / debugging line, and the business board program is debugged on the debugging computer. The RF signals of different powers within the transmission range are AD sampled one by one according to the power value, and then each power value and sampling value (hereinafter referred to as the power sampling table) is defined in the business board program in the form of a constant data table, and the program is compiled and downloaded to the internal Flash of the microcontroller. After the program is running, the RF signal detection value corresponding to the real-time AD sampling value is calculated by the table lookup method, so that the debugging of the RF signal detection of one RF business board is completed, and then the debugging of the next RF business board is repeated. Summary of the invention

[0004] The purpose of the present invention is to provide a debugging method for radio frequency signal detection in a radio frequency optical terminal based on network communication, aiming to solve the problems that each existing radio frequency service board is first debugged on a single board basis and then assembled into a complete machine, the detection data testing, writing and modification are troublesome, and the program debugging efficiency is low.

[0005] To achieve the above object, the present invention provides a debugging method for radio frequency signal detection in a radio frequency optical terminal based on network communication, comprising the following steps:

[0006] Design a network management board program to measure, write and read a network communication interface for the power sampling table;

[0007] The power sampling table is sent to the RF service board program through the network port, and is saved in the internal Flash of the microcontroller in a specific format;

[0008] After the radio frequency service board program is started, the power sampling table is identified and loaded, and the detection value is calculated by looking up the table.

[0009] After the RF service board program is started, it is necessary to determine whether the power sampling table read from the Flash is legal. An illegal frame format indicates that the data is invalid.

[0010] The specific method of measuring the power sampling table is as follows:

[0011] Enter the index of the RF service board to be tested on the PC network management software interface, and send a command to query the RF signal sampling value of the specified RF service board;

[0012] The network management board software receives the command, processes and forwards it to the designated radio frequency service board program, which calculates the radio frequency signal sampling value;

[0013] The RF service board program reports the RF signal sampling value to the network management board software for processing and reporting;

[0014] On the PC network management software, for the input service board index, the sampling values ​​of the radio frequency signals with different powers within the transmission range are queried one by one according to the power values, and are displayed in the form of a table.

[0015] The specific method of writing the power sampling table is as follows:

[0016] Enter the specified RF service board index on the PC network management software interface and send a command to write the power sampling table;

[0017] The network management board software receives the command, processes and forwards it to the designated radio frequency service board program for processing, and stores the power sampling table in the internal Flash high address area;

[0018] The RF service board program reports the processing result to the network management board software in a response format, and the network management board software reports the processing result to the PC network management software.

[0019] The specific method of reading the power sampling table is as follows:

[0020] Enter the specified RF service board index on the PC network management software interface and send a command to read the power sampling table;

[0021] The network management board software receives the command, processes it and forwards it to the designated radio frequency service board program;

[0022] After receiving the command, the RF service board program processes and reports the power sampling table to the network management board software in a response format;

[0023] After receiving the response, the network management board software processes it and then reports the power sampling table to the PC network management software.

[0024] The present invention is a debugging method for radio frequency signal detection in a radio frequency optical terminal based on network communication. The network communication interface for measuring, writing and reading the power sampling table is designed for the network management board program. The power sampling table is sent to the radio frequency service board program through the network port. The power sampling table is saved in the internal Flash of the microcontroller in a specific format. After the radio frequency service board program is started, the power sampling table is identified and loaded, and the detection value is calculated by looking up the table. Whenever the power sampling table needs to be modified, the method does not require software developers to use professional tools (downloader / debugger, software compiler) to update the radio frequency service board program. The production debugging personnel can complete the work through the PC host computer software. Update of the power sampling table; whenever the power sampling table needs to be modified, there is no need to remove the RF business board from the whole machine, which will not damage the structural tightness of the whole machine; when the RF optical terminal equipment has been installed at the test site and is in working condition, it is often not allowed for the optical terminal to be powered off and interrupt the signal service. At this time, the power sampling table can be updated online and remotely, and equipment maintenance is carried out during operation; in the batch production process, the whole machine can be assembled first, and then the detection of all RF business boards in the RF optical terminal can be measured and written at the same time, which improves efficiency and makes the process flexible, and solves the problem of low debugging efficiency of each existing RF business board before single-board debugging and assembly into a whole machine. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0026] Figure 1 This is a schematic diagram of the working principle of the RF optical terminal business board.

[0027] Figure 2 The invention provides a flow chart of a method for debugging radio frequency signal detection in a radio frequency optical terminal based on network communication.

[0028] Figure 3 It is a flow chart of the specific method of measuring the power sampling meter.

[0029] Figure 4 It is a flowchart of the specific method of writing the power sampling table.

[0030] Figure 5 It is a flowchart of the specific method of reading the power sampling table.

[0031] Figure 6 It is a schematic diagram of the storage format of the power sampling table.

[0032] Figure 7This is a schematic diagram of the RF signal sampling value query command format.

[0033] Figure 8 It is a schematic diagram of the RF signal sampling value response format.

[0034] Fig. 9 This is a schematic diagram of the power sampling table write command format.

[0035] Fig.10 Figure 2 is a schematic diagram of the power sampling table write command response format.

[0036] Fig.11 This is a schematic diagram of the power sampling meter read command format.

[0037] Fig.12 Figure 2 is a schematic diagram of the power sampling meter read command response format. DETAILED DESCRIPTION

[0038] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.

[0039] See also Figures 1 to 12 The present invention provides a debugging method for radio frequency signal detection in a radio frequency optical terminal based on network communication, comprising the following steps:

[0040] S1 designs the network management board program to measure, write and read the network communication interface of the power sampling table.

[0041] In the embodiment of the present invention, the process of power sampling table measurement is as follows: input the RF service board index to be tested on the PC network management software interface, send a command to query the RF signal sampling value of the specified RF service board through the network port to the optical terminal, the network management board software receives the command, and forwards it to the specified RF service board program after processing. After receiving the command, the RF service board program calculates the RF signal sampling value, and reports the RF signal sampling value result to the network management board software in the response format. After receiving the response, the network management board software processes and reports the RF signal sampling value result to the PC network management software in the response format. Figure 1 The command and response formats for querying the RF signal sampling value are as follows: Figure 7 , Figure 8As shown. In the figure, the source and destination of the data are distinguished according to the source and destination codes. When the PC network management software sends a command to the network management board software, the source is 01H and the destination is 02H; when the network management board software sends a command to the RF service board program, the source is 02H and the destination is 03H. The transmission of response data is the same principle. On the PC network management software interface, for the input service board index, the AD sampling values ​​of the RF signals with different powers within the transmission range are queried one by one according to the power value. Each power value and the corresponding sampling value are clearly displayed in the form of a table on the PC network management software interface, and the measurement of the power sampling table is completed.

[0042] The process of writing the power sampling table is similar to the process of measuring. After the power sampling table is measured, enter the specified RF service board index on the PC network management software interface, and send the command of writing the power sampling table to the optical terminal through the network port. The network management board software receives the command, processes it and forwards it to the specified RF service board program. After receiving the command, the RF service board program processes it and presses Figure 6 The power sampling table is stored in the internal Flash high address area in the format and Figure 4 The response process reports the processing results to the network management board software. After receiving the response, the network management board software processes it and reports the processing results to the PC network management software. Figure 1 The command format and response format of the RF signal sampling value are as follows: Fig. 9 , Fig.10 shown.

[0043] The table distinguishes the source and destination of data based on the source and destination codes. When the PC network management software sends a command to the network management board software, the source is 01H and the destination is 02H; when the network management board software sends a command to the RF service board program, the source is 02H and the destination is 03H. The transmission of response data follows the same principle.

[0044] The process of reading the power sampling table: After the power sampling table is written, it must also support reading for reuse. Enter the specified RF service board index on the PC network management software interface, and send a command to read the power sampling table to the optical terminal through the network port. The network management board software receives the command, processes it, and forwards it to the specified RF service board program. After receiving the command, the RF service board program processes it and reads it according to the Figure 5 The response process shown in the figure reports the power sampling table to the network management board software. After the network management board software receives the response, it processes it and then reports the power sampling table to the PC network management software. Figure 1 The read command format and response format of the power sampling table are as follows: Fig.11 , Fig.12As shown in the figure, the source and destination of data are distinguished according to the source and destination codes. When the PC network management software sends a command to the network management board software, the source is 01H and the destination is 02H; when the network management board software sends a command to the RF service board program, the source is 02H and the destination is 03H. The transmission of response data is also based on the same principle. After the power sampling table is read out, it can be reused for other RF service boards with highly consistent hardware characteristics.

[0045] Specific method:

[0046] S101 inputs the index of the RF service board to be tested on the PC network management software interface, and sends a command to query the RF signal sampling value of the specified RF service board;

[0047] S102 The network management board software receives the command, processes and forwards it to the designated radio frequency service board program, which calculates the radio frequency signal sampling value;

[0048] S103 the RF service board program reports the RF signal sampling value to the network management board software for processing and reporting;

[0049] S104 queries the sampling values ​​of the radio frequency signals with different powers within the transmission range one by one according to the power values ​​for the input service board index on the PC network management software, and displays them in the form of a table.

[0050] The specific method of writing the power sampling table is as follows:

[0051] S111 inputs a specified RF service board index on the PC network management software interface and sends a command to write a power sampling table;

[0052] S112 network management board software receives the command, processes and forwards it to the designated radio frequency service board program for processing, which stores the power sampling table in the internal Flash high address area;

[0053] S113: The RF service board program reports the processing result to the network management board software in a response format, and the network management board software then reports the processing result to the PC network management software.

[0054] The specific method of reading the power sampling table is as follows:

[0055] S121 inputs a specified RF service board index on the PC network management software interface and sends a command to read a power sampling table;

[0056] The S122 network management board software receives the command, processes it and forwards it to the designated radio frequency service board program;

[0057] S123 After receiving the command, the RF service board program processes and reports the power sampling table to the network management board software in a response format;

[0058] S124: After receiving the response, the network management board software processes it and then reports the power sampling table to the PC network management software.

[0059] S2 sends the power sampling table to the RF service board program through the network port, and it is saved in the internal Flash of the microcontroller in a specific format;

[0060] In the embodiment of the present invention, the power sampling table of the RF service board is separated from the RF service board program, and the power sampling table can be stored in the sector space behind the internal Flash of the microcontroller on the RF service board. In this way, the space occupied by the program is not affected (the program is stored from the starting address of the internal Flash), and no additional external Flash is required.

[0061] After the S3 radio frequency service board program is started, the power sampling table is identified and loaded, and the detection value is calculated by looking up the table;

[0062] In the embodiment of the present invention, after the RF service board program is started, it is first determined whether the power sampling table read from the internal Flash high address area is legal: an illegal frame format indicates that the data is invalid; the first power represents the RF signal power corresponding to the sampling value AD1, and one decimal place is retained for accuracy, which is multiplied by 10 to be converted into an integer for easy transmission and storage; the RF signal powers corresponding to AD1~ADn are arranged in an arithmetic progression, and the difference between the latter power value and the previous power value is the power step, which is represented by a 1-byte signed number (int8 type); the number of AD sampling values ​​is represented by a 1-byte unsigned number (uint8 type); finally, the CRC-16 check value is calculated for all data bytes from the first power to ADn, and attached to the end of the frame to verify the data integrity of the power sampling table, wherein the storage format of the power sampling table is as follows Figure 6 shown.

[0063] The beneficial effects of this method are:

[0064] 1. Whenever the power sampling table needs to be modified, the software developer does not need to use professional tools (downloader / debugger, software compiler) to update the RF business board program. The production debugging personnel can complete the update of the power sampling table through the PC host software;

[0065] Second, whenever the power sampling table needs to be modified, there is no need to remove the RF service board from the whole machine to update the program, which will not damage the structural tightness of the whole machine;

[0066] 3. When measuring the power sampling table of the RF business board, there is no need to remove the RF business board from the whole machine. The electromagnetic environment at this time is the final working environment of the RF business board. The measured power sampling table will be more accurate, and the RF signal detection calculated by the business board program will also be more real and accurate.

[0067] 4. When the RF optical transceiver equipment has been installed at the test site and is in working condition, it is often not allowed to interrupt the signal service by powering off the optical transceiver. At this time, the power sampling table can be updated online and remotely, and the equipment maintenance is carried out during operation;

[0068] 5. Since the power sampling table is separated from the program, all RF business boards use a unified program, which is convenient for software archiving and batch downloading. On the other hand, for RF business boards with highly consistent power sampling tables, the power sampling table can be measured once (or read out the measured one), and then reused and used in batches, which significantly improves efficiency.

[0069] 6. In the batch production process, the whole machine can be assembled first, and then the detection of all RF business boards in the RF optical terminal can be measured and written at the same time, which improves efficiency and makes the process flexible.

[0070] The above disclosure is only a preferred embodiment of the debugging method of the RF signal detection in the RF optical terminal based on network communication of the present invention. Of course, it cannot be used to limit the scope of rights of the present invention. Ordinary technicians in this field can understand that all or part of the processes of the above embodiments are implemented, and equivalent changes made according to the claims of the present invention still fall within the scope of the invention.

Claims

1. A debugging method for radio frequency signal detection in a radio frequency optical terminal based on network communication, characterized in that: The following steps are involved: Design a network management board program to measure, write and read a network communication interface for the power sampling table; The power sampling table is sent to the RF service board program through the network port, and is saved in the internal Flash of the microcontroller in a specific format; After the program is started, the power sampling table is identified and loaded, and the detection value is calculated by looking up the table.

2. The debugging method for radio frequency signal detection in a radio frequency optical terminal based on network communication according to claim 1, characterized in that: After the RF service board program is started, it is necessary to determine whether the power sampling table read from the Flash is legal. An illegal frame format indicates that the data is invalid.

3. The debugging method for radio frequency signal detection in a radio frequency optical terminal based on network communication according to claim 1, characterized in that: The specific method of measuring the power sampling table is as follows: Enter the index of the RF service board to be tested on the PC network management software interface, and send a command to query the RF signal sampling value of the specified RF service board; The network management board software receives the command, processes and forwards it to the designated radio frequency service board program, which calculates the radio frequency signal sampling value; The RF service board program reports the RF signal sampling value to the network management board software for processing and reporting; On the PC network management software, for the input service board index, the sampling values ​​of the radio frequency signals with different powers within the transmission range are queried one by one according to the power values, and are displayed in the form of a table.

4. The debugging method for radio frequency signal detection in a radio frequency optical terminal based on network communication according to claim 1, characterized in that: The specific method of writing the power sampling table is as follows: Enter the specified RF service board index on the PC network management software interface and send a command to write the power sampling table; The network management board software receives the command, processes and forwards it to the designated radio frequency service board program for processing, which stores the power sampling table in the internal Flash high address area; The RF service board program reports the processing result to the network management board software in a response format, and the network management board software reports the processing result to the PC network management software.

5. The debugging method for radio frequency signal detection in a radio frequency optical terminal based on network communication according to claim 1, characterized in that: The specific method of reading the power sampling table is as follows: Enter the specified RF service board index on the PC network management software interface and send a command to read the power sampling table; The network management board software receives the command, processes it and forwards it to the designated radio frequency service board program; After receiving the command, the RF service board program processes and reports the power sampling table to the network management board software in a response format; After receiving the response, the network management board software processes it and then reports the power sampling table to the PC network management software.

Citation Information

Patent Citations

  • Power Sensor Frequency Response Testing and Compensation Device and Method

    CN102262187A

  • Single board and single board management method and system

    CN105634788A

  • Multi-channel ROF system and implementation method

    CN109361463A

  • Portable detection system and method for satellite communication portable station

    CN116865835A

  • Modularized power amplifier system

    CN214228203U

Cited By

  • Debugging method for radio frequency signal detection

    CN120750429A