Rapid automatic calibration test method for ad hoc network terminal
By using vector signal source and spectrum instrument, combined with test and calibration scripts, the rapid automatic calibration test of the radio frequency module of the ad hoc network terminal is realized, and the poor scalability, insufficient calibration accuracy and no support for custom waveforms in the existing technology are solved. Problem, improving calibration accuracy and adaptability.
Patent Information
- Application Number
- CN202411527560.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-30
- Publication Date
- 2025-02-07
AI Technical Summary
The RF module testing and calibration methods of existing ad hoc network terminals have problems such as poor scalability, insufficient calibration accuracy, and no custom waveform support.
Using vector signal sources and spectrum meter, it automatically traverses the power opcodewords, adjusts the transmit power, and supports custom waveforms for testing and calibration by editing and configuring test scripts and calibration scripts.
It improves the scalability of the system, enhances the accuracy of calibration, supports custom waveforms, adapts to more application scenarios, and improves the performance and communication quality of ad hoc network terminals.
Smart Images

Figure CN119402106A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of wireless communication calibration testing, and in particular to a fast automatic calibration testing method for a self-organizing network terminal. Background Art
[0002] With the continuous advancement of wireless communication technology, the role of self-organizing network terminals in communication systems has become increasingly prominent. These terminal devices usually have complex RF front-ends, including components such as multi-stage amplifiers and filters to achieve high-performance signal processing. However, ensuring that these RF modules can maintain the expected performance under various working conditions requires precise testing and calibration.
[0003] At present, the testing and calibration of RF modules of self-organizing network terminals mainly rely on dedicated comprehensive testers and fast calibrators, which usually operate with customized signaling. Although this method can achieve testing and calibration to a certain extent, it has obvious limitations. First, these dedicated devices have poor scalability and are difficult to adapt to the rapidly developing and changing wireless communication technologies. Secondly, when the device to be calibrated has a complex structure and contains multi-stage amplifiers and filters, it is difficult for existing methods to achieve accurate calibration. Finally, existing technologies can usually only use industry standard waveforms for testing and calibration, and lack support for custom waveforms, which limits their applicability in specific application scenarios. Summary of the invention
[0004] In view of the above analysis, an embodiment of the present invention aims to provide a fast automatic calibration test method for a self-organizing network terminal, so as to solve the problems of poor scalability, insufficient calibration accuracy and no support for custom waveforms in existing calibration test methods.
[0005] The embodiment of the present invention provides a fast automatic calibration test method for an ad hoc network terminal, comprising the following steps:
[0006] Edit the test script and configure the spectrum analyzer and vector signal source according to the test script content;
[0007] Based on the test script, the self-organizing terminal is controlled to transmit a test signal, and the spectrum analyzer receives and reads the test signal transmitted by the self-organizing terminal to obtain read data, and determines whether the read data of the spectrum analyzer meets the preset conditions; if it does not meet the preset conditions, the power operation codeword of the self-organizing terminal is adjusted, the test signal is re-transmitted, and it is determined whether the read data of the spectrum analyzer meets the preset conditions, until the read data meets the preset conditions; if after traversing all power operation codewords within the maximum power operation codeword threshold of the self-organizing terminal, the read data still does not meet the preset conditions, then the read data of the spectrum analyzer is abnormal, the self-organizing terminal cannot reach the maximum transmission power, and the self-organizing terminal is subjected to a transmission abnormality test; if it meets the preset conditions, the self-organizing terminal can reach the maximum transmission power, and the sensitivity test of the self-organizing terminal is performed;
[0008] If the sensitivity test fails, it is marked as abnormal and the test ends; if the sensitivity test passes, a comprehensive performance evaluation is performed on the self-organizing network terminal. If the comprehensive performance evaluation passes, no calibration is required and the test ends; if the comprehensive performance evaluation fails, a calibration script is configured accordingly, and the self-organizing network terminal is calibrated based on the calibration script.
[0009] As a further improvement of the present application, the test script includes:
[0010] The waveform data type, frequency, bandwidth, maximum power value, channel power threshold, theoretical linear value, maximum power operation codeword threshold of the signal transmitted by the self-organizing network terminal, as well as the frequency, power and attenuation compensation of the spectrum analyzer and vector signal source. The maximum power operation codeword threshold includes the RF chip operating parameters and the front-end amplifier operating parameters.
[0011] As a further improvement of the present application, the read data of the spectrum analyzer includes ACPR data and a power value of the test signal in the test signal; and judging whether the read data of the spectrum analyzer meets the preset conditions includes:
[0012] Comparing ACPR data in the test signal transmitted by the self-organizing network terminal with the channel power threshold in the test script; and comparing the power value of the test signal transmitted by the self-organizing network terminal with the maximum power value in the test script;
[0013] When the ACPR data in the test signal exceeds the channel power threshold in the test script, or when the test signal power value is greater than the maximum power value in the test script or less than the maximum power value and the difference is greater than a preset absolute value, the read data does not meet the preset conditions; otherwise, the read data meets the preset conditions.
[0014] As a further improvement of the present application, the power amplifier linearity test includes:
[0015] Control the self-organizing network terminal to transmit the test signal corresponding to all power operation code words;
[0016] The spectrum analyzer records the power value of the test signal corresponding to each power operation codeword and uploads it to the PC;
[0017] Sort the power values from small to large, and calculate the difference between every two adjacent power values;
[0018] Compare each calculated power difference value with the theoretical linear value in the test script;
[0019] If the power difference exceeds the theoretical linear value, the power amplifier linearity abnormality is recorded.
[0020] As a further improvement of the present application, the frequency deviation test includes:
[0021] Control the ad hoc network terminal to transmit the dedicated signal for AFC correction;
[0022] The spectrum analyzer captures the dedicated signal for AFC correction and uploads it to the PC;
[0023] The PC demodulates the signal and calculates the frequency deviation value, and compares the calculated frequency deviation value with a preset frequency deviation threshold value;
[0024] If the frequency deviation exceeds the preset threshold, the frequency deviation abnormality is recorded.
[0025] As a further improvement of the present application, the sensitivity test includes:
[0026] According to the test script, configure the sensitivity test parameters of the vector signal source, wherein the sensitivity test parameters include: transmission data, transmission frequency point, bandwidth and transmission power;
[0027] The configured vector signal source is controlled to transmit a sensitivity test signal;
[0028] The receiving end of the self-organizing network terminal receives the sensitivity test signal and converts it into a digital value;
[0029] Demodulating the digital value by a PC;
[0030] If the demodulation is successful, the sensitivity test passes and the test ends;
[0031] If demodulation is unsuccessful, adjust the sensitivity operation codeword of the ad hoc terminal to modify its receiving parameters, and repeat the demodulation attempt until demodulation is successful or all possible operation codewords have been tried;
[0032] If demodulation fails after trying all the operation codewords, the sensitivity of the ad hoc terminal is marked as abnormal and the test is exited.
[0033] As a further improvement of the present application, the comprehensive performance evaluation includes AFC performance evaluation, APC performance evaluation and AGC performance evaluation;
[0034] If the evaluation results of the AFC performance evaluation, the APC performance evaluation and the AGC performance evaluation all meet the preset standards, the comprehensive performance evaluation passes; if any one of the AFC performance evaluation, the APC performance evaluation and the AGC performance evaluation fails, the comprehensive performance evaluation fails.
[0035] As a further improvement of the present application, if the AFC performance evaluation fails, an AFC calibration script is configured to perform AFC calibration;
[0036] If the APC performance evaluation fails, configure the APC calibration script to perform APC calibration;
[0037] If the AGC performance evaluation fails, configure the AGC calibration script to perform AGC calibration; wherein the AFC calibration script includes: AFC frequency deviation threshold and AFC operation codeword;
[0038] The APC calibration script includes: APC start frequency, APC end frequency, APC frequency step, APC threshold and APC operation codeword;
[0039] The AGC calibration script includes: AGC start frequency, AGC end frequency, and AGC frequency step.
[0040] As a further improvement of the present application, the AFC calibration includes:
[0041] Configure the AFC calibration script, set the AFC frequency deviation threshold and AFC operation codeword;
[0042] Based on the configured AFC calibration script, the self-organizing network terminal is controlled to transmit the AFC dedicated signal;
[0043] The spectrum analyzer captures the AFC-specific signal and uploads it to the PC;
[0044] The PC calculates the AFC frequency deviation estimate;
[0045] If the AFC frequency offset estimate is not within the AFC frequency offset threshold range, adjust the AFC operation codeword, the self-organizing network terminal resends the AFC dedicated signal, and compares the frequency offset estimate with the AFC frequency offset threshold until the AFC frequency offset estimate is within the AFC frequency offset threshold range. The calibration is completed and the adjusted AFC codeword calibration value is recorded.
[0046] As a further improvement of the present application, the APC calibration includes:
[0047] Configure the APC calibration script, set the APC start frequency, APC end frequency, APC frequency step, APC threshold, and APC operation codeword;
[0048] Based on the configured APC calibration script, the self-organizing network terminal is controlled to transmit the APC dedicated signal;
[0049] The spectrum analyzer captures and reads the power value in the AFC dedicated signal;
[0050] If the power value of the APC dedicated signal is not within the APC threshold range, adjust the APC operation codeword, the self-organizing network terminal resends the APC dedicated signal, and compares the power value of the APC dedicated signal with the APC threshold until the power value of the APC dedicated signal is within the APC threshold range. The calibration is completed and the adjusted APC codeword calibration value is recorded.
[0051] As a further improvement of the present application, the AGC calibration includes:
[0052] Configure the AGC calibration script, set the AGC start frequency, AGC end frequency and AGC frequency step;
[0053] Based on the configured AGC calibration script, the vector signal source is controlled to transmit a single tone signal to the receiving end of the ad hoc network terminal;
[0054] Adjust the receiving gain operation codeword of the self-organizing network terminal until the RSSI value of the received signal meets the expected value;
[0055] Record the adjusted receive gain operation codeword calibration value.
[0056] Compared with the prior art, the present invention can achieve at least one of the following beneficial effects:
[0057] 1. The present invention replaces the traditional calibration test method that relies on a dedicated comprehensive tester and a fast calibrator by using a vector signal source and a spectrum analyzer, thereby improving the scalability of the system, reducing equipment costs, and reducing dependence on dedicated and expensive test equipment.
[0058] 2. The present invention can accurately calibrate a complex RF front end including multi-stage amplifiers and filters. By automatically traversing power operation codewords and adjusting the transmit power, the accuracy of the calibration is ensured, thereby improving the performance and communication quality of the self-organizing network terminal under various working conditions.
[0059] 3. The present invention supports the use of custom waveforms to test and calibrate self-organizing network terminals by editing and configuring test scripts and calibration scripts, thereby increasing the flexibility of the calibration process, enabling the self-organizing network terminals to adapt to more application scenarios and requirements, and improving the adaptability and user customization capabilities of the test and calibration process.
[0060] In the present invention, the above-mentioned technical solutions can also be combined with each other to achieve more preferred combination solutions. Other features and advantages of the present invention will be described in the subsequent description, and some advantages can become obvious from the description, or can be understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained through the contents particularly pointed out in the description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] The accompanying drawings are only used for the purpose of illustrating specific embodiments and are not to be considered as limiting the present invention. In the entire drawings, the same reference symbols represent the same components;
[0062] Figure 1 A device connection diagram of a fast automatic calibration test method for a self-organizing network terminal provided by an embodiment of the present invention;
[0063] Figure 2 A test flow chart of a fast automatic calibration test method for a self-organizing network terminal provided by an embodiment of the present invention;
[0064] Figure 3 A calibration flow chart of a fast automatic calibration test method for a self-organizing network terminal provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0065] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings, wherein the accompanying drawings constitute a part of this application and are used together with the embodiments of the present invention to illustrate the principles of the present invention, but are not used to limit the scope of the present invention.
[0066] It should be noted that the device for executing the fast automatic calibration test method for a self-organizing network terminal of the present invention includes: a spectrum analyzer, a vector signal source, a self-organizing network terminal, a digital control power supply, a PC and a switch. Figure 1 shown.
[0067] The self-organizing network terminal is a device under test, which refers to a device that can spontaneously form a network through wireless communication without the support of fixed infrastructure. The present invention tests and calibrates the performance parameters such as transmission power, receiving sensitivity, and frequency deviation of the self-organizing network terminal. The self-organizing network terminal can be various forms of mobile devices, sensors, computers or other embedded systems according to actual application requirements. The self-organizing network terminal includes a control radio frequency chip and a power amplifier. The control radio frequency chip is used for sending and receiving wireless signals and integrates digital signal processing (DSP) functions. The power amplifier is used to amplify the signals sent and received by the self-organizing network terminal while reducing the introduction of noise.
[0068] The spectrum analyzer is used to capture and measure the spectrum characteristics of the RF signal emitted by the self-organizing network terminal. The vector signal source is used to generate test signals of specific waveform, frequency and power, which are used to simulate the signal transmission in the actual communication scenario to test the receiving sensitivity and signal processing capability of the self-organizing network terminal. The digital control power supply provides a precisely controlled power supply for the self-organizing network terminal to ensure the power supply stability during the test process. The PC is the control end, which is used to run the software, execute the test script and calibration script, and collect and analyze the test and calibration data. The switch is a network switching device, which is used to ensure data transmission and communication between the PC and the spectrum analyzer and vector signal source.
[0069] The PC is connected to the spectrum analyzer and the vector signal source through a switch and a network cable, and is connected to the CNC power supply through a serial port; the ad hoc network terminal is connected to the PC through a serial port, is connected to the spectrum analyzer and the vector signal source through a radio frequency line, and is connected to the CNC power supply through a power cable.
[0070] A specific embodiment of the present invention discloses a calibration-free motion control method based on visual features. The method comprises:
[0071] Edit the test script and configure the spectrum analyzer and vector signal source according to the test script content;
[0072] Based on the test script, the self-organizing terminal is controlled to transmit a test signal, and the spectrum analyzer receives and reads the test signal transmitted by the self-organizing terminal to obtain read data, and determines whether the read data of the spectrum analyzer meets the preset conditions; if it does not meet the preset conditions, the power operation codeword of the self-organizing terminal is adjusted, the test signal is re-transmitted, and it is determined whether the read data of the spectrum analyzer meets the preset conditions, until the read data meets the preset conditions; if after traversing all power operation codewords within the maximum power operation codeword threshold of the self-organizing terminal, the read data still does not meet the preset conditions, then the read data of the spectrum analyzer is abnormal, the self-organizing terminal cannot reach the maximum transmission power, and the self-organizing terminal is subjected to a transmission abnormality test; if it meets the preset conditions, the self-organizing terminal can reach the maximum transmission power, and the sensitivity test of the self-organizing terminal is performed;
[0073] If the sensitivity test fails, it is marked as abnormal and the test ends; if the sensitivity test passes, a comprehensive performance evaluation is performed on the self-organizing network terminal. If the comprehensive performance evaluation passes, no calibration is required and the test ends; if the comprehensive performance evaluation fails, the corresponding calibration script is configured and the self-organizing network terminal is calibrated based on the calibration script.
[0074] like Figure 2As shown. Before the test begins, the PC starts the initialization program to ensure that all necessary components and drivers are loaded, and controls the CNC power supply to power on the self-organizing network terminal. The PC sends handshake information to the self-organizing network terminal through the serial port to verify the integrity of the communication link and the responsiveness of the self-organizing network terminal. If the handshake fails, the PC reads the CNC power supply status and issues an alarm message, and then ends the test process.
[0075] After the handshake is successful, the PC configures the test script, configures the spectrum analyzer and vector signal source according to the test script, and starts the maximum power test.
[0076] In some embodiments, the test script includes: waveform data type, frequency, bandwidth, maximum power value, channel power threshold, theoretical linear value, maximum power operation codeword threshold of the signal transmitted by the self-organizing network terminal, and frequency, power and attenuation compensation of the spectrum analyzer and vector signal source. The maximum power operation codeword threshold includes RF chip operating parameters and power amplifier operating parameters.
[0077] Specifically, the waveform data type is the modulation format of the radio signal, which is used to define the modulation mode of the signal transmitted by the ad hoc network terminal. The waveform data type can be QPSK, 16QAM, 64QAM, etc. The waveform data type determines the transmission efficiency and anti-interference ability of the signal.
[0078] Frequency is the operating frequency of the transmitted signal and is the basic parameter of signal transmission. When setting it in the test script, you need to ensure that the frequency of the spectrum analyzer and the vector signal source are the same during the test. Bandwidth defines the frequency range occupied by the transmitted signal, which affects the signal transmission rate and spectrum utilization. The PC configures the bandwidth of the vector signal source and the spectrum analyzer according to the bandwidth of the ad hoc network terminal.
[0079] The maximum power value is the maximum output power of the signal transmitted by the self-organizing network terminal, which is used to test the maximum power transmission capability of the self-organizing network terminal. During the test, by setting the maximum power value in the test script, the PC controls the power level of the self-organizing network terminal when transmitting the signal. The maximum power value can be set to 30dbm.
[0080] The channel power threshold is the maximum power level allowed in a specific channel, which is used to ensure that the signal is transmitted within the specified channel and avoid interference with adjacent channels. The theoretical linear value is the gain or attenuation value of the power amplifier under ideal conditions, which is used to evaluate whether the amplifier output maintains a linear relationship under different input powers.
[0081] The maximum power operation codeword threshold is the maximum value of the operation codeword that controls the RF chip and power amplifier of the self-organizing terminal to achieve the maximum power output. The operation codeword is a set of instructions or parameters used to control the behavior of the hardware. The maximum power operation codeword threshold can ensure that the device operates within a safe range.
[0082] In some embodiments, the maximum power test steps are:
[0083] Based on the test script, the self-organizing network terminal is controlled to transmit a test signal, and the spectrum analyzer receives and reads the test signal transmitted by the self-organizing network terminal to obtain read data.
[0084] Specifically, the data read by the spectrum analyzer includes the ACPR data and the test signal power value in the test signal. The ACPR (Adjacent Channel Power Ratio) data is the ratio of the main channel power to the adjacent channel leakage power. It is an indicator to measure the degree of signal leakage in the adjacent channel. A high ACPR value means that the signal power in the main channel accounts for a high proportion, while the power leakage in the adjacent channel is small, thereby reducing interference to the adjacent channel. During the test, the spectrum analyzer can be set to ACPR mode through a PC to measure the main channel power and the adjacent channel power. The spectrum analyzer will display the ACPR value, which is usually expressed in decibels (dB).
[0085] The test signal power value is the actual power level of the radio signal measured by the spectrum analyzer. It directly reflects the strength of the signal at a specific frequency point and is used to verify whether the transmission power of the ad hoc terminal meets expectations, that is, the maximum power value. During the test, the spectrum analyzer can be set to measurement mode through a PC to receive and measure the signal transmitted by the ad hoc terminal. The spectrum analyzer will display the power value of the signal, which is usually expressed in decibel milliwatts (dBm).
[0086] Determine whether the read data of the spectrum analyzer meets the preset conditions; if it does not meet the preset conditions, adjust the power operation codeword of the self-organizing network terminal, retransmit the test signal and determine whether the read data of the spectrum analyzer meets the preset conditions, until the read data meets the preset conditions; if after traversing all power operation codewords within the maximum power operation codeword threshold of the self-organizing network terminal, the read data still does not meet the preset conditions, then the read data of the spectrum analyzer is abnormal, the self-organizing network terminal cannot reach the maximum transmission power, and the self-organizing network terminal is subjected to a transmission abnormality test; if it meets the preset conditions, the self-organizing network terminal can reach the maximum transmission power, and the sensitivity test of the self-organizing network terminal is performed;
[0087] Specifically, the steps of determining whether the data read by the spectrum analyzer meets the preset conditions are: comparing the ACPR data in the test signal transmitted by the self-organizing network terminal with the channel power threshold in the test script; and comparing the power value of the test signal transmitted by the self-organizing network terminal with the maximum power value in the test script.
[0088] When the ACPR data in the test signal exceeds the channel power threshold in the test script, or when the test signal power value is greater than the maximum power value in the test script or less than the maximum power value and the difference is greater than a preset absolute value, the read data does not meet the preset conditions; otherwise, the read data meets the preset conditions.
[0089] It is understandable that if the test signal power value is greater than the maximum power value in the test script, it means that the transmission power of the self-organizing network terminal exceeds the expected maximum transmission power level, which may cause interference to adjacent channels and affect the normal operation of other communication systems. If it is less than the maximum power value and the difference is greater than the preset absolute value, it means that the transmission power of the self-organizing network terminal is lower than the expected effective communication power level, resulting in insufficient communication coverage and the inability to transmit signals stably.
[0090] In some embodiments, the transmission anomaly test includes a power amplifier linearity test and a frequency deviation test. The power amplifier linearity test is used to evaluate the linear performance of the power amplifier at different input power levels. The frequency deviation test is used to measure the deviation between the center frequency of the transmission signal and the nominal frequency. The frequency deviation is a frequency deviation caused by factors such as oscillator instability or temperature changes.
[0091] Power amplifier linearity tests include:
[0092] Control the self-organizing network terminal to transmit the test signal corresponding to all power operation code words;
[0093] The spectrum analyzer records the power value of the test signal corresponding to each power operation codeword and uploads it to the PC;
[0094] Sort the power values from small to large, and calculate the difference between every two adjacent power values;
[0095] Compare each calculated power difference value with the theoretical linear value in the test script;
[0096] If the power difference exceeds the theoretical linear value, the power amplifier linearity abnormality is recorded.
[0097] Specifically, the PC sends instructions to the ad hoc network terminal through the test software, causing it to transmit a series of test signals according to all the operation code words defined in the test script. Each operation code word corresponds to a specific power setting, which is used to simulate different transmission power levels.
[0098] Use a spectrum analyzer to capture the test signals transmitted by the ad hoc terminal and measure the power value of each signal. Record the measured power values, upload them to the PC, and sort them in ascending order to correspond to the power setting of the operation codeword. For every two adjacent power values, calculate the difference between them, which represents the gain change of the power amplifier under adjacent power settings. The power amplifier linearity test can detect whether the gain change of the power amplifier of the ad hoc terminal is uniform at different power levels, thereby evaluating its linearity.
[0099] The theoretical linearity value can be pre-calculated based on the specifications and design parameters of the power amplifier of the ad hoc terminal. If all calculated power difference values are within the allowable range of the theoretical linearity value, the linearity of the power amplifier is considered normal. If any power difference value exceeds the theoretical linearity value, the power amplifier linearity is marked as abnormal. The test results are recorded in the test log, including the power values of all operation code words, the calculated power difference values, the comparison results with the theoretical linearity value, and any abnormal conditions marked.
[0100] Frequency deviation test includes:
[0101] Control the ad hoc network terminal to transmit the AFC correction dedicated signal;
[0102] The spectrum analyzer captures the dedicated signal for AFC correction and uploads it to the PC;
[0103] The PC demodulates the signal and calculates the frequency deviation value, and compares the calculated frequency deviation value with the preset frequency deviation threshold value;
[0104] If the frequency deviation exceeds the preset threshold, the frequency deviation abnormality is recorded.
[0105] Specifically, the PC sends instructions to the ad hoc terminal through the test software, causing it to transmit an AFC correction signal for automatic frequency control. The AFC correction signal is usually preset to a specific frequency and modulation characteristics. The spectrum analyzer can set the appropriate center frequency, resolution bandwidth (RBW) and video bandwidth (VBW) according to the frequency and modulation characteristics of the AFC correction signal to ensure that the signal can be accurately captured.
[0106] The PC uses the test software to demodulate the received signal and convert the received analog or digital signal into a format that can be measured and analyzed. The actual center frequency of the signal is calculated based on the demodulated signal data, and the actual center frequency is compared with the expected center frequency of the signal to obtain the frequency deviation value.
[0107] The preset frequency deviation threshold is the maximum allowable frequency deviation determined according to the technical specifications and application requirements of the self-organizing network terminal. The calculated frequency deviation value is compared with the preset frequency deviation threshold. If the calculated frequency deviation value exceeds the preset frequency deviation threshold, the frequency deviation abnormality will be recorded. The frequency deviation abnormality record includes recording terminal identification, test time, actual frequency deviation value, preset frequency deviation threshold and other information.
[0108] In some embodiments, sensitivity testing includes:
[0109] According to the test script, configure the sensitivity test parameters of the vector signal source, wherein the sensitivity test parameters include: transmission data, transmission frequency point, bandwidth and transmission power;
[0110] The configured vector signal source is controlled to transmit a sensitivity test signal;
[0111] The receiving end of the self-organizing network terminal receives the sensitivity test signal and converts it into a digital value;
[0112] Demodulating the digital value by a PC;
[0113] If the demodulation is successful, the sensitivity test passes and the test ends;
[0114] If demodulation is unsuccessful, adjust the sensitivity operation codeword of the ad hoc terminal to modify its receiving parameters, and repeat the demodulation attempt until demodulation is successful or all possible operation codewords have been tried;
[0115] If demodulation is still unsuccessful after trying all sensitivity operation codewords, the sensitivity of the ad hoc terminal is marked as abnormal and the test is exited.
[0116] The sensitivity test is used to evaluate the receiving performance of the self-organizing network terminal and determine the ability of the self-organizing network terminal to successfully receive and demodulate signals at a lower signal strength. The signal strength during the test can be -90db. When performing the sensitivity test, according to the instructions in the test script, the PC configures the sensitivity test parameters of the vector signal source through the test software.
[0117] The receiving end of the ad hoc network terminal receives the sensitivity test signal transmitted by the vector signal source, converts the analog signal into a digital value, and the PC demodulates the received digital value through the test software, such as mapping the digital signal back to the original data, to verify the integrity and accuracy of the signal.
[0118] If the demodulation is successful, the self-organizing terminal is able to successfully receive and demodulate the signal at the current power level, and the sensitivity test passes. If the demodulation is unsuccessful, the sensitivity operation codeword of the self-organizing terminal is adjusted, its receiving parameters are modified, and then the demodulation attempt is repeated until the demodulation is successful or all possible sensitivity operation codewords have been tried. The adjustment of the sensitivity operation codeword includes changing the gain setting, filter parameters, or other receiving link configurations. If the demodulation is still not successful after trying all operation codewords, the sensitivity of the self-organizing terminal is marked as abnormal and the test is exited. The test results are recorded in the test log. The test results may include information such as the test time, the sensitivity operation codewords tried, and the demodulation results.
[0119] If the sensitivity test fails, it is marked as abnormal and the test ends; if the sensitivity test passes, a comprehensive performance evaluation is performed on the self-organizing network terminal. If the comprehensive performance evaluation passes, no calibration is required and the test ends; if the comprehensive performance evaluation fails, a calibration script is configured accordingly, and the self-organizing network terminal is calibrated based on the calibration script.
[0120] If the evaluation results of AFC performance evaluation, APC performance evaluation and AGC performance evaluation all meet the preset standards, the comprehensive performance evaluation passes; if any of the AFC performance evaluation, APC performance evaluation and AGC performance evaluation fails, the comprehensive performance evaluation fails, and the corresponding calibration script is configured to calibrate the self-organizing network terminal.
[0121] Specifically, if the AFC performance evaluation fails, an AFC calibration script is configured to perform AFC calibration; if the APC performance evaluation fails, an APC calibration script is configured to perform APC calibration; if the AGC performance evaluation fails, an AGC calibration script is configured to perform AGC calibration.
[0122] The AFC performance evaluation measures the frequency stability of the test signal transmitted by the self-organizing terminal through a spectrum analyzer, calculates the frequency error, and compares it with the preset AFC frequency deviation threshold to evaluate whether the AFC performance meets the preset standard. The APC performance evaluation can monitor the power level of the test signal transmitted by the self-organizing terminal through a power meter or spectrum analyzer, adjust the transmission power, and compare it with the preset APC threshold to evaluate whether the APC performance meets the preset standard. The AGC performance evaluation transmits a signal of a specific strength to the self-organizing terminal through a vector signal source, measures the RSSI value of the signal received by the self-organizing terminal, and compares the measured RSSI value with the preset RSSI standard range to evaluate whether the AGC performance meets the preset standard.
[0123] like Figure 3As shown. Calibration includes AFC calibration, APC calibration and AGC calibration. AFC calibration is automatic frequency control calibration, which is used to adjust and optimize the center frequency of the self-organizing network terminal's transmission signal accurately and control the frequency deviation value. APC calibration is automatic power control calibration, which is used to ensure that the transmission power of the self-organizing network terminal remains within the specified range to avoid spectrum pollution caused by excessive power or communication quality affected by too low power. AGC calibration is automatic gain control calibration, which is used to optimize the receiving link of the self-organizing network terminal to adapt to input signals of different strengths, thereby maintaining high sensitivity under weak signal conditions and preventing overload under strong signal conditions.
[0124] Specifically, the AFC calibration steps are:
[0125] Configure the AFC calibration script, set the AFC frequency deviation threshold and AFC operation codeword;
[0126] Based on the configured AFC calibration script, the self-organizing network terminal is controlled to transmit the AFC dedicated signal;
[0127] The spectrum analyzer captures the AFC-specific signal and uploads it to the PC;
[0128] The PC calculates the AFC frequency deviation estimate;
[0129] If the AFC frequency offset estimate is not within the AFC frequency offset threshold range, adjust the AFC operation codeword, the self-organizing network terminal resends the AFC dedicated signal, and compares the frequency offset estimate with the AFC frequency offset threshold until the AFC frequency offset estimate is within the AFC frequency offset threshold range. The calibration is completed and the adjusted AFC codeword calibration value is recorded.
[0130] The AFC frequency deviation threshold is the maximum frequency deviation acceptable to the ad hoc network terminal, and the AFC operation codeword is a parameter used to control the frequency synthesizer.
[0131] The received AFC dedicated signal can be analyzed by using the test software on a PC, the actual center frequency of the AFC dedicated signal can be calculated, and the actual center frequency can be compared with the expected center frequency to obtain the frequency deviation estimate. If the frequency deviation estimate exceeds the preset AFC frequency deviation threshold, the AFC operation codeword is adjusted through the PC to try to correct the frequency deviation. After adjusting the operation codeword, the AFC dedicated signal is transmitted again, and the capture and analysis process is repeated. The calibration process is repeated until the frequency deviation estimate is within the AFC frequency deviation threshold. After each adjustment of the AFC operation codeword, the signal needs to be recaptured and the frequency deviation calculated to verify the calibration effect.
[0132] After the AFC calibration is completed, the adjusted AFC codeword calibration value is recorded, and the AFC codeword calibration value is stored in a non-volatile memory of the ad hoc network terminal.
[0133] Further, the APC calibration includes the following steps:
[0134] Configure the APC calibration script, set the APC start frequency, APC end frequency, APC frequency step, APC threshold, and APC operation codeword;
[0135] Based on the configured APC calibration script, the self-organizing network terminal is controlled to transmit the APC dedicated signal; if the power value of the APC dedicated signal is not within the APC threshold range, the APC operation codeword is adjusted, the self-organizing network terminal resends the APC dedicated signal, and compares the power value of the APC dedicated signal with the APC threshold until the power value of the APC dedicated signal is within the APC threshold range. The calibration is completed and the adjusted APC codeword calibration value is recorded.
[0136] The APC start frequency is the start frequency of the APC calibration, the APC end frequency is the end frequency of the APC calibration, the APC frequency step is the frequency interval stepped between the APC start and end frequencies, the APC threshold is the acceptable level range of the transmit power, and the APC operation codeword is a parameter used to control the output power of the power amplifier.
[0137] During the APC calibration process, the PC uses the test software to send instructions to the self-organizing network terminal, and transmits the APC dedicated signal according to the settings in the APC calibration script to test the performance of the self-organizing network terminal under different frequency signals.
[0138] Use a spectrum analyzer to capture the APC dedicated signal transmitted by the self-organizing network terminal and upload it to the PC. The PC receives the power value measured by the spectrum analyzer and compares it with the APC threshold. If the power value is not within the APC threshold range, adjust the APC operation codeword of the self-organizing network terminal to fine-tune the output power of the power amplifier. After adjustment, transmit the APC dedicated signal again and measure the power until the power value is within the APC threshold range.
[0139] After the APC calibration is completed, the adjusted APC codeword calibration value is recorded and the APC codeword calibration value is stored in a non-volatile memory of the ad hoc network terminal.
[0140] Further, the AGC calibration includes the following steps:
[0141] Configure the AGC calibration script, set the AGC start frequency, AGC end frequency and AGC frequency step;
[0142] Based on the configured AGC calibration script, the vector signal source is controlled to transmit a single tone signal to the receiving end of the ad hoc network terminal;
[0143] Adjust the receiving gain operation codeword of the self-organizing network terminal until the RSSI value of the received signal meets the expected value;
[0144] Record the adjusted receive gain operation codeword calibration value.
[0145] The AGC start frequency is the start frequency of the AGC calibration, the AGC end frequency is the end frequency of the AGC calibration, and the AGC frequency step is the frequency interval stepped between the AGC start and end frequencies.
[0146] After configuring the AGC calibration script, send instructions to the vector signal source through the test software of the PC, and transmit a series of single-tone signals of different frequencies according to the settings in the AGC calibration script. A single-tone signal is a single-frequency sine wave signal. When the single-tone signal is received by the self-organizing network terminal, the PC monitors the RSSI value of the signal received by the self-organizing network terminal through the test software. The RSSI (Received Signal Strength Indicator) value is the received signal strength indicator value, which is an indicator to measure the strength of the wireless signal.
[0147] If the RSSI value does not meet the expected range, adjust the receiving gain operation codeword of the ad hoc terminal through the test software of the PC to change the receiving gain. After adjustment, measure the RSSI value again until it meets the expected range. The RSSI expected range can ensure that the wireless device is neither overloaded nor lower than the receiving sensitivity when receiving the signal. For example, the AGC calibration process can set the RSSI expected range between -60dBm and -40dBm to ensure the best receiving performance in most environments.
[0148] When the RSSI value is adjusted to within the expected range, the current receiving gain operation codeword is recorded as the gain operation codeword calibration value, and the gain operation codeword calibration value is stored in the non-volatile memory of the ad hoc network terminal.
[0149] The above-mentioned embodiments of the present invention have the following beneficial effects: by using a spectrum analyzer and a vector signal source, the traditional method relying on a dedicated comprehensive tester and a fast calibrator is replaced, thereby reducing the dependence on dedicated and expensive test equipment and improving the scalability of the system; by automatically traversing the power operation codeword and adjusting the transmission power, the accuracy of the calibration is ensured. For complex RF front ends, including multi-stage amplifiers and filters, the present invention can perform accurate automatic testing and calibration, thereby improving the performance and communication quality of the self-organizing network terminal under various working conditions; through the calibration of AFC, APC and AGC, the performance stability and reliability of the self-organizing network terminal under different frequency and power conditions are ensured.
[0150] Those skilled in the art will appreciate that all or part of the processes of the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the program can be stored in a computer-readable storage medium, wherein the computer-readable storage medium is a disk, an optical disk, a read-only storage memory, or a random access memory, etc.
[0151] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by any technician familiar with the technical field within the technical scope disclosed by the present invention should be covered within the protection scope of the present invention.
Claims
1. A fast automatic calibration test method for a self-organizing network terminal, characterized in that: The following steps are involved: Edit the test script and configure the spectrum analyzer and vector signal source according to the test script content; Based on the test script, the self-organizing network terminal is controlled to transmit the test signal, the spectrum analyzer receives and reads the test signal transmitted by the self-organizing network terminal to obtain the read data, and determines whether the read data of the spectrum analyzer meets the preset conditions; If the preset conditions are not met, the power operation codeword of the self-organizing network terminal is adjusted, the test signal is re-transmitted and it is determined whether the read data of the spectrum analyzer meets the preset conditions, until the read data meets the preset conditions; if after traversing all power operation codewords within the maximum power operation codeword threshold of the self-organizing network terminal, the read data still does not meet the preset conditions, the read data of the spectrum analyzer is abnormal, the self-organizing network terminal cannot reach the maximum transmission power, and the self-organizing network terminal is subjected to a transmission abnormality test; if the preset conditions are met, the self-organizing network terminal can reach the maximum transmission power, and the sensitivity test of the self-organizing network terminal is performed; If the sensitivity test fails, it is marked as abnormal and the test ends; If the sensitivity test passes, a comprehensive performance evaluation is performed on the self-organizing network terminal. If the comprehensive performance evaluation passes, no calibration is required and the test ends. If the comprehensive performance evaluation fails, the corresponding calibration script is configured and the self-organizing network terminal is calibrated based on the calibration script.
2. The method according to claim 1, characterized in that The test script includes: The waveform data type, frequency, bandwidth, maximum power value, channel power threshold, theoretical linear value, maximum power operation codeword threshold of the signal transmitted by the self-organizing network terminal, as well as the frequency, power and attenuation compensation of the spectrum analyzer and vector signal source. The maximum power operation codeword threshold includes the RF chip operating parameters and the front-end amplifier operating parameters.
3. The method according to claim 2, characterized in that The data read by the spectrum analyzer includes the ACPR data and the power value of the test signal in the test signal; judging whether the data read by the spectrum analyzer meets the preset conditions includes: Comparing ACPR data in the test signal transmitted by the self-organizing network terminal with the channel power threshold in the test script; and comparing the power value of the test signal transmitted by the self-organizing network terminal with the maximum power value in the test script; When the ACPR data in the test signal exceeds the channel power threshold in the test script, or when the test signal power value is greater than the maximum power value in the test script or less than the maximum power value and the difference is greater than a preset absolute value, the read data does not meet the preset conditions; otherwise, the read data meets the preset conditions.
4. The method according to claim 2, characterized in that: The transmission abnormality test includes a power amplifier linearity test and a frequency deviation test; Power amplifier linearity tests include: Control the self-organizing network terminal to transmit the test signal corresponding to all power operation code words; The spectrum analyzer records the power value of the test signal corresponding to each power operation codeword and uploads it to the PC; Sort the power values from small to large, and calculate the difference between every two adjacent power values; Compare each calculated power difference value with the theoretical linear value in the test script; If there is a power difference that exceeds the theoretical linear value, the power amplifier linearity abnormality is recorded; The frequency deviation test includes: Control the ad hoc network terminal to transmit the dedicated signal for AFC correction; The spectrum analyzer captures the dedicated signal for AFC correction and uploads it to the PC; The PC demodulates the signal and calculates the frequency deviation value, and compares the calculated frequency deviation value with a preset frequency deviation threshold value; If the frequency deviation exceeds the preset threshold, the frequency deviation abnormality is recorded.
5. The method according to claim 1, characterized in that: The sensitivity test includes: According to the test script, configure the sensitivity test parameters of the vector signal source, wherein the sensitivity test parameters include: transmission data, transmission frequency point, bandwidth and transmission power; The configured vector signal source is controlled to transmit a sensitivity test signal; The receiving end of the self-organizing network terminal receives the sensitivity test signal and converts it into a digital value; Demodulating the digital value by a PC; If the demodulation is successful, the sensitivity test passes and the test ends; If demodulation is unsuccessful, adjust the sensitivity operation codeword of the ad hoc terminal to modify its receiving parameters, and repeat the demodulation attempt until demodulation is successful or all possible operation codewords have been tried; If demodulation fails after trying all the operation codewords, the sensitivity of the ad hoc terminal is marked as abnormal and the test is exited.
6. The method according to claim 1, characterized in that The comprehensive performance evaluation includes AFC performance evaluation, APC performance evaluation and AGC performance evaluation; If the evaluation results of the AFC performance evaluation, the APC performance evaluation and the AGC performance evaluation all meet the preset standards, the comprehensive performance evaluation passes; if any one of the AFC performance evaluation, the APC performance evaluation and the AGC performance evaluation fails, the comprehensive performance evaluation fails.
7. The method according to claim 6, characterized in that If the AFC performance evaluation fails, configure the AFC calibration script to perform AFC calibration; If the APC performance evaluation fails, configure the APC calibration script to perform APC calibration; If the AGC performance evaluation fails, configure the AGC calibration script to perform AGC calibration; wherein the AFC calibration script includes: AFC frequency deviation threshold and AFC operation codeword; The APC calibration script includes: APC start frequency, APC end frequency, APC frequency step, APC threshold and APC operation codeword; The AGC calibration script includes: AGC start frequency, AGC end frequency, and AGC frequency step.
8. The method according to claim 7, characterized in that The AFC calibration includes: Configure the AFC calibration script, set the AFC frequency deviation threshold and AFC operation codeword; Based on the configured AFC calibration script, the self-organizing network terminal is controlled to transmit the AFC dedicated signal; The spectrum analyzer captures the AFC-specific signal and uploads it to the PC; The PC calculates the AFC frequency deviation estimate; If the AFC frequency offset estimate is not within the AFC frequency offset threshold range, adjust the AFC operation codeword, the self-organizing network terminal resends the AFC dedicated signal, and compares the frequency offset estimate with the AFC frequency offset threshold until the AFC frequency offset estimate is within the AFC frequency offset threshold range. The calibration is completed and the adjusted AFC codeword calibration value is recorded.
9. The method according to claim 7, characterized in that: The APC calibration includes: Configure the APC calibration script, set the APC start frequency, APC end frequency, APC frequency step, APC threshold, and APC operation codeword; Based on the configured APC calibration script, the self-organizing network terminal is controlled to transmit the APC dedicated signal; The spectrum analyzer captures and reads the power value of the APC dedicated signal; If the power value of the APC dedicated signal is not within the APC threshold range, adjust the APC operation codeword, the self-organizing network terminal resends the APC dedicated signal, and compares the power value of the APC dedicated signal with the APC threshold until the power value of the APC dedicated signal is within the APC threshold range. The calibration is completed and the adjusted APC codeword calibration value is recorded.
10. The method according to claim 7, characterized in that The AGC calibration includes: Configure the AGC calibration script, set the AGC start frequency, AGC end frequency and AGC frequency step; Based on the configured AGC calibration script, the vector signal source is controlled to transmit a single tone signal to the receiving end of the ad hoc network terminal; Adjust the receiving gain operation codeword of the self-organizing network terminal until the RSSI value of the received signal is within the expected range; Record the adjusted receive gain operation codeword calibration value.