Method and system for automatically testing short-wave radio station based on software instrument system

Through the automated testing method based on software instrument system, integrating radio frequency and audio signal generators and oscilloscope modules, the problems of low testing efficiency and difficulty in adapting to multiple radio stations in the existing technology are solved, and efficient automated testing of short-wave radio stations is realized.

CN119966538APending Publication Date: 2025-05-09BEIJING BBEF SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510102431.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-22
Publication Date
2025-05-09

AI Technical Summary

Technical Problem

In the prior art, communication equipment testing requires more manual operation, low testing efficiency, and difficult to adapt to the testing needs of multi-standard radio stations.

Method used

The automatic testing method of short-wave radio station based on software instrument system is adopted, and the high-speed communication connection between the main control computer and the software instrument host is integrated with the radio frequency signal generator, audio signal generator and oscilloscope module to realize automatic testing of short-wave radio stations.

Benefits of technology

It realizes automated testing of the radio frequency and audio performance of short-wave radio stations, reduces manual operation links, improves testing efficiency, reduces personnel skill requirements, and supports comprehensive testing of multi-standard radio stations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119966538A_ABST
    Figure CN119966538A_ABST
Patent Text Reader

Abstract

The invention discloses a short-wave radio station automatic testing method and system based on a software instrument system, and relates to the field of automatic testing, and the testing system comprises a main control computer, a software instrument host, an interface adapter and a programmable power supply. The software instrument host comprises a plurality of software instrument modules; the method comprises the steps of determining test configuration parameters based on user input, determining a target test radio station and a target test item according to the test configuration parameters, and determining radio frequency output data and audio output data, enabling the radio frequency signal generator and the audio signal generator to respectively send a target radio frequency signal and a target audio signal to the target test radio station, receiving a radio frequency response waveform and an audio response waveform returned by the oscilloscope module, generating radio frequency response data and audio response data, calculating a radio frequency performance index and an audio performance index, and outputting the radio frequency performance index and the audio performance index. And generating a test result report. By implementing the application, the test efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of automated testing, and in particular to a shortwave radio station automated testing method and system based on a software instrument system. Background Art

[0002] With the rapid development of communication technology, modern wireless communication equipment has shown the characteristics of a wide variety, complex technology and diverse systems. Wireless communication equipment has evolved from analog technology to digital technology, and from single function to multi-functional combination. At the same time, the demand for equipment maintenance and testing has also increased. Under the current equipment development situation, higher requirements are put forward for the maintenance and testing of communication equipment, especially the need to improve test efficiency and reduce the skill threshold of personnel to adapt to the current situation of increasing equipment quantity and insufficient technical personnel.

[0003] In related technologies, communication equipment testing mainly uses a radio integrated tester or a combination of discrete instruments. Radio integrated testers usually integrate multiple functional modules such as signal generators and spectrum analyzers. During testing, technicians need to manually adjust various parameters and record measurement results; discrete instrument testing uses a combination of multiple instruments such as oscilloscopes, frequency meters, and power meters. Testers manually connect cables, set parameters, and record data according to project requirements.

[0004] However, in the related art, whether it is a radio integrated tester or a discrete instrument testing method, the testing process requires many manual operations and the testing efficiency is low. Summary of the invention

[0005] The present application provides a shortwave radio automatic testing method and system based on a software instrument system, which are used to improve testing efficiency.

[0006] In the first aspect, the present application provides a shortwave radio automatic testing method based on a software instrument system, which is applied to a test system, wherein the test system includes: a main control computer, a software instrument host and an interface adapter; the software instrument host is communicated and connected with the software instrument host based on PCI bridging technology; the software instrument host includes multiple software instrument modules; the software instrument module includes a radio frequency signal generator, an audio signal generator and an oscilloscope module; the software instrument module is communicated and connected with multiple shortwave radio stations under test based on the interface adapter; the method includes: determining a test configuration parameter based on user input, determining a target test radio station and a target test item based on the test configuration parameter; the target test item includes a radio frequency test item and an audio test item; the target test radio station is one of the shortwave radio stations under test one or more; based on the RF test item and the audio test item, determine the RF output data and the audio output data; send the RF output data to the RF signal generator, so that the RF signal generator sends the target RF signal to the target test station; at the same time, send the audio output data to the audio signal generator, so that the audio signal generator sends the target audio signal to the target test station; receive the RF response waveform and the audio response waveform returned by the oscilloscope module, and generate RF response data and audio response data; calculate the RF performance index according to the RF output data and the RF response data, and calculate the audio performance index according to the audio output data and the audio response data; generate a test result report according to the RF performance index and the audio performance index.

[0007] In the above embodiment, the test system determines the user input to automatically configure the test parameters through the main control computer, and controls the RF signal generator, audio signal generator and oscilloscope module to generate and collect signals, thereby realizing the automated testing of the RF and audio performance of the shortwave radio station, reducing the manual operation links and improving the test efficiency.

[0008] In combination with some embodiments of the first aspect, in some embodiments, the test system also includes a programmable power supply; the programmable power supply is used to provide power to the multiple shortwave radio stations under test and is connected to the communication; after the steps of determining the test configuration parameters based on user input and determining the target test radio station and the target test item according to the test configuration parameters, the method also includes: receiving the real-time load power of the target test radio station returned by the programmable power supply; when the real-time load power is greater than a preset load threshold, determining that the corresponding target test radio station is a load abnormality radio station, and displaying a load abnormality prompt including the device identification of the load abnormality radio station and the real-time load power.

[0009] In the above embodiment, the test system monitors the load power of the radio station under test in real time and issues an alarm in time when it exceeds a preset threshold, thereby avoiding the risk of equipment damage due to abnormal load. By automatically identifying radio stations with abnormal loads and displaying detailed information, testers can quickly locate and handle faults, thereby ensuring the safety and reliability of the test process.

[0010] In combination with some embodiments of the first aspect, in some embodiments, the software instrument module also includes a frequency domain digitizer; the frequency domain digitizer includes a frequency domain digitization card and a spectrum measurement toolkit; the steps of receiving the RF response waveform and the audio response waveform returned by the oscilloscope module and generating RF response data and audio response data specifically include: receiving the RF response waveform returned by the oscilloscope module, performing spectrum analysis on the sampled data of the RF response waveform based on the frequency domain digitizer, and generating spectrum analysis data; the spectrum analysis data includes power spectrum, peak power and peak frequency; determining the signal modulation type according to the waveform characteristics of the power spectrum; the signal modulation type includes at least one of amplitude modulation, frequency modulation and phase modulation; according to the signal modulation type, performing demodulation analysis on the sampled data based on the spectrum measurement toolkit, and generating RF response data including modulation parameters; the modulation parameters include modulation degree, frequency deviation and phase deviation; receiving the audio response waveform returned by the oscilloscope module, and generating audio response data.

[0011] In the above embodiment, the test system performs spectrum analysis and modulation analysis on the RF response waveform based on the frequency domain digitizer, automatically identifies the signal modulation type and extracts the modulation parameters, thereby achieving accurate measurement of complex modulated signals.

[0012] In combination with some embodiments of the first aspect, in some embodiments, the RF signal generator includes a signal generating card and a modulation toolkit; the step of sending the RF output data to the RF signal generator so that the RF signal generator sends the target RF signal to the target test station specifically includes: based on the modulation toolkit, performing analog modulation and digital modulation on the RF output data to obtain RF modulation data; the analog modulation includes amplitude modulation, frequency modulation and phase modulation, and the digital modulation includes frequency shift keying, minimum shift keying, Gaussian minimum shift keying, phase shift keying and orthogonal amplitude modulation; sending the RF modulation data to the signal generating card so that the signal generating card generates a target RF signal, and sends the target RF signal to the target test station.

[0013] In the above embodiment, the test system supports various types of analog modulation and digital modulation by integrating multiple modulation toolkits, thereby realizing comprehensive testing of shortwave radio stations of different standards, and can flexibly configure modulation parameters according to test requirements to generate standard test signals.

[0014] In combination with some embodiments of the first aspect, in some embodiments, the software instrument module also includes a multifunctional data acquisition card; after determining the test configuration parameters based on user input and determining the target test station and the target test item according to the test configuration parameters, the method also includes: obtaining the status data of the target test station based on the multifunctional data acquisition card; the status data includes the power supply voltage, the operating current and the device temperature; comparing the status data with a preset status threshold to generate a status detection result; when the status detection result indicates an abnormality, terminating the test and displaying an abnormal prompt message.

[0015] In the above embodiment, the test system monitors the working status of the radio station under test in real time through a multi-functional data acquisition card. When an abnormality is found, the test is automatically terminated and an alarm is issued, thereby avoiding the risk of equipment damage. Key parameters such as power supply voltage, operating current and temperature are monitored in real time to ensure that the test process is safe and reliable.

[0016] In combination with some embodiments of the first aspect, in some embodiments, the software instrument module also includes a radio frequency switch module and a general switch module; after the step of determining the radio frequency output data and the audio output data based on the radio frequency test project and the audio test project, the method also includes: generating radio frequency channel configuration data based on the radio frequency test project; the radio frequency channel configuration data includes an input channel number, an output channel number and an attenuation value; according to the radio frequency channel configuration data, controlling the radio frequency switch module to switch the radio frequency signal path and adjust the signal attenuation; based on the audio test project, generating audio channel configuration data; the audio channel configuration data includes an input channel combination and an output channel combination; according to the audio channel configuration data, controlling the general switch module to switch the audio signal path.

[0017] In the above embodiment, the test system realizes automatic switching of signal paths through the RF switch module and the universal switch module, supports multi-channel parallel testing, and can automatically adjust signal attenuation and channel combination according to the test configuration, thereby improving test efficiency.

[0018] In combination with some embodiments of the first aspect, in some embodiments, the step of generating a test result report based on the RF performance indicator and the audio performance indicator specifically includes: determining a modulation quality parameter based on the RF performance indicator; the modulation quality parameter includes a modulation error, a phase error, and a frequency deviation; calculating a signal transmission quality coefficient based on the RF channel configuration data and the modulation quality parameter; determining an audio performance parameter based on the audio performance indicator; the audio performance parameter includes a signal-to-noise ratio, a distortion, and a sensitivity; calculating an audio signal quality coefficient based on the audio channel configuration data and the audio performance parameter; and generating a test result report based on the signal transmission quality coefficient and the audio signal quality coefficient.

[0019] In the above embodiment, the test system calculates modulation quality parameters and audio performance parameters, comprehensively evaluates signal transmission quality, generates a complete test report, and provides objective and accurate test results through data analysis and quality evaluation.

[0020] In a second aspect, an embodiment of the present application provides a test system, which includes: one or more processors and a memory; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code includes computer instructions, and the one or more processors call the computer instructions to enable the test system to execute the method described in the first aspect and any possible implementation method of the first aspect.

[0021] In a third aspect, an embodiment of the present application provides a computer program product comprising instructions, which, when the computer program product is run on a test system, enables the test system to execute the method described in the first aspect and any possible implementation of the first aspect.

[0022] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, comprising instructions, which, when executed on a test system, causes the test system to execute the method described in the first aspect and any possible implementation of the first aspect.

[0023] It is understandable that the test system provided in the second aspect, the computer program product provided in the third aspect, and the computer storage medium provided in the fourth aspect are all used to execute the method provided in the embodiment of the present application. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method, which will not be repeated here.

[0024] One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages: 1. Due to the adoption of an automated test architecture based on a software instrument system, the main control computer establishes a high-speed communication connection with the software instrument host through PCI bridging technology, and integrates functional modules such as RF signal generator, audio signal generator and oscilloscope, so it realizes full automatic control of the shortwave radio test process. The system can automatically complete the entire process from parameter configuration, signal generation to data acquisition, effectively solving the inefficiency problem of the existing technology that requires manual operation of multiple independent instruments and manual data recording, improving test efficiency and reducing personnel skill requirements.

[0025] 2. Due to the use of the RF signal generator structure with integrated signal generation card and modulation toolkit, it supports analog modulation methods such as amplitude modulation, frequency modulation, phase modulation, and digital modulation methods such as frequency shift keying and phase shift keying, and realizes automatic control of the signal modulation process through software algorithms. Therefore, it can automatically generate various standard test signals according to test requirements, effectively solving the problem of single test signal generation method and difficulty in adapting to multi-standard radio station testing requirements in the existing technology, and thus realizes comprehensive testing capabilities for shortwave radio stations with different modulation standards, ensuring the accuracy and reliability of the test results.

[0026] 3. Due to the combined architecture of the RF switch module and the general switch module, the automatic switching of the RF and audio signal paths is realized through software control, and the channel configuration data can be automatically generated according to the test items to adjust the signal attenuation. Therefore, it supports multi-channel parallel testing and realizes flexible configuration of signal paths. It effectively solves the cumbersome problems of manual switching of test paths and manual adjustment of signal levels in the prior art, thereby realizing automatic switching of test paths and precise control of signal levels, and improving test efficiency and accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 It is a schematic diagram of an application scenario of the test system in the embodiment of the present application; Figure 2 It is a flow chart of a shortwave radio automatic testing method based on a software instrument system in an embodiment of the present application; Figure 3 is a schematic diagram of the hardware composition of the test system in the embodiment of the present application; Figure 4 is another flow chart of the automatic testing method for shortwave radio stations based on the software instrument system in the embodiment of the present application; Figure 5 It is a software function diagram of the test system in the embodiment of the present application; Figure 6 It is a schematic diagram of a physical device structure of a test system in an embodiment of the present application. DETAILED DESCRIPTION

[0028] The terms used in the following embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to be used as limitations to the present application. As used in the specification of the present application, the singular expressions "one", "a kind of", "above", "the" and "this" are intended to also include plural expressions, unless there is a clear indication to the contrary in the context. It should also be understood that the term "and / or" used in the present application refers to any or all possible combinations comprising one or more of the listed items.

[0029] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.

[0030] For ease of understanding, several technical terms in this embodiment are introduced below: (1) Software instrument technology: Software instrument is a test system that combines computer technology with traditional instrument technology. This technology uses software to implement functions such as signal acquisition, processing and analysis, and has the characteristics of strong reconfigurability and good scalability. With the development of IT technology, software instruments are increasingly used in the test field, driving the development of test technology towards automation, intelligence and integration.

[0031] (2) LabVIEW programming language: LabVIEW is a graphical programming platform for the test and measurement field. The platform provides a rich library of instrument control, data acquisition, and signal processing functions, supports a variety of hardware interface protocols, and can quickly build test applications. Its graphical programming method and modular design concept make the development and maintenance of test systems more convenient.

[0032] (3) PXI technology: PXI is a modular instrument standard based on the PCI bus. This standard adds functions such as synchronous trigger bus, precisely timed star trigger bus and local bus on the basis of PCI bus. The standard PXI chassis provides 8 expansion slots, supports interoperability with CompactPCI devices, can be integrated with GPIB or VXI devices, and is suitable for building large-scale test systems.

[0033] (4) GPIB technology: GPIB is an instrument communication interface technology based on the IEEE-488 standard. This technology uses parallel communication, supports cascading multiple instruments, and allows multiple devices to share the same bus. A typical GPIB system consists of a computer, a GPIB interface card, and an instrument that supports the GPIB protocol connected via a GPIB bus. This technology has a simple structure and high accuracy, and is suitable for precision measurement occasions that do not require high transmission speed.

[0034] The application scenarios of the embodiments of the present application are introduced below.

[0035] A communications base needs to perform performance verification tests on 100 newly purchased shortwave radios. The traditional manual testing method requires technicians to manually connect various test equipment, adjust parameters, and record data. A complete test of a radio takes 3-4 hours. At the same time, because the test process involves the switching and adjustment of multiple RF and audio signals, manual operation is prone to wiring errors, parameter setting errors and other problems. In addition, the recording and organization of test data also requires a lot of manual work. This manual testing method is not only inefficient, but also easily affected by human factors, resulting in inaccurate test results, and cannot meet the rapid testing needs of large quantities of radios. The base urgently needs an automated testing solution.

[0036] In the related art, the performance test of shortwave radio stations can be achieved by using simple programmable instruments and fixed-path test equipment. This method requires frequent manual changes in test connections, lacks flexibility in test items, and cannot guarantee the safety of the test process and the accuracy of data. The following introduces the scenario of using the shortwave radio automatic test method based on the software instrument system in the related art.

[0037] The semi-automatic test system developed by a research institute uses simple program-controlled instruments and test software. The system can automatically control the signal generator to generate test signals, send them to the radio station under test through fixed RF and audio channels, and use an oscilloscope to collect the response signals. However, the system has defects: the system can only execute simple preset test items, cannot adjust the test plan according to actual needs, and is difficult to expand equipment and cannot support the access and testing of more equipment.

[0038] The automatic test method for shortwave radio stations based on the software instrument system in the embodiment of the present application is adopted, and the automatic control of the test process is realized by integrating a multifunctional data acquisition card, a signal generator and other equipment, which not only greatly improves the test efficiency, but also ensures the accuracy and consistency of the test results. The following introduces the scenario of using the automatic test method for shortwave radio stations based on the software instrument system in the present application.

[0039] After adopting the shortwave radio automatic testing method based on the software instrument system proposed in this application, the base has realized the full process automation of radio station testing.

[0040] Please refer to Figure 1 , is a schematic diagram of an application scenario of the test system in the embodiment of the present application, Figure 1 A complete networked test system architecture is shown in Figure 1, including the remote test system, network connection, and the specific composition of a station. The test system uses the PXI modular instrument architecture and software instrument technology, the LabVIEW development platform, and the toolkit. It is an automated test system based on the detection of various functions and performances of radio transmitters and receivers, and can be applied to the detection needs of various types of shortwave communication radio stations.

[0041] The test system monitors the working status of the radio station in real time through software, instruments and hardware, and immediately protects against abnormalities. It is equipped with professional modulation analysis tools and spectrum analyzers to accurately measure various performance indicators. The test data is automatically processed and standardized reports are generated. In actual applications, the complete test time of a radio station is shortened to 30 minutes, and the test accuracy and consistency are significantly improved. The system supports 7×24 hours of continuous operation, which improves the test efficiency. At the same time, standardized test processes and data processing ensure the reliability and traceability of test results.

[0042] It can be seen that the shortwave radio automatic testing method based on the software instrument system in the embodiment of the present application can not only realize the automation of radio performance testing, but also effectively solve the problems of low efficiency and poor safety in traditional manual testing, thereby realizing the standardization and normalization of the testing process.

[0043] For ease of understanding, the following describes the process of the method provided by this implementation in combination with the above scenario. Figure 2 , which is a flow chart of a shortwave radio automatic testing method based on a software instrument system in an embodiment of the present application.

[0044] S201. Determine test configuration parameters based on user input, and determine target test stations and target test items according to the test configuration parameters.

[0045] Among them, the test configuration parameters represent the various parameter settings used to configure the operating status of the test system, including test mode, signal type, frequency range, etc.; the target test radio refers to the shortwave radio equipment selected for testing; the target test items are used to indicate the specific performance indicators that need to be tested, including RF test items such as transmission power, frequency stability, sensitivity, and audio test items such as audio distortion and signal-to-noise ratio.

[0046] When the test system is started and enters the test preparation phase, the test parameters and targets need to be determined first. Specifically, the test system receives the test configuration information entered by the operator through a graphical interface, including test frequency band selection, signal parameter configuration, test item selection, etc. The system then parses these configuration information and generates standardized test configuration parameters. Finally, the target radio station and specific test item list to be tested are determined based on these parameters.

[0047] In some embodiments, the determination of the test configuration parameters can be set not only by the user inputting or selecting options on the host computer, but also by referring to Figure 1As shown, the main control computer can also establish a communication connection with a remote computer or server (remote debugging system), remotely control through the remote computer or server, transmit the configuration parameter file or execution file of the specified test process, and the main control computer determines the test configuration parameters by extracting the corresponding file.

[0048] It should be noted that the test system described in this application refers to a combination of hardware modules including a main control computer, a software instrument host and an interface adapter. In a broad sense, the step execution of modules such as the main control computer can be directly regarded as the step execution of the test system. Therefore, the description of the main control computer should not be regarded as the only limitation on the execution subject. For the sake of ease of understanding, this article will subsequently describe the test system as the implementation subject.

[0049] The test system is described below. Figure 3 , is a schematic diagram of the hardware composition of the test system in an embodiment of the present application. Figure 3 The hardware connection method of the host computer and software configuration system based on the PCI-8331 interface mainly includes printer interface, USB connection and GPIB-USB converter.

[0050] The main control computer uses PCI bridge technology to control the PXI-1010 host (software instrument host, including multiple software instrument modules) through the MXI-4 card. The PXI-1010 has 6 PXI modules and 2 SCXI modules, and the software instrument modules can be expanded according to test needs; the software instrument modules include a 14-bit 64MS / s frequency domain digitizer, a 16-bit 100MS / s arbitrary waveform generator (i.e. Figure 3 RF signal generator and audio signal generator shown in), 8-bit 100MS / s digitizer (i.e. Figure 3 Oscilloscope module shown in the figure), 24-bit 204.8kS / s dynamic signal acquisition card, 16-bit 32-channel multi-function data acquisition card, 32-channel 500MHz RF switch module, 16 / 32-channel relay module (i.e. Figure 3 As shown in the figure, it is composed of a switch module) and the like; an interface adapter realizes signal conditioning and tapping.

[0051] For the RF signal generator, the software instrument host is set up based on the signal generation card and the modulation toolkit, which can generate RF signals in various formats. Since some test items require two RF inputs, the test system is configured with two signal generators in the software instrument host as the software instrument system. In addition, it is equipped with a programmable attenuator to test parameters such as the receiver input sensitivity. The modulation toolkit has AM, FM, PM analog modulation modes and FSK, MSK, GMSK, PSK, QAM digital modulation modes, and also has a 3D eye diagram function, which can measure modulation error, phase error, frequency deviation, bit error rate and concurrent timing; it can also measure boundary conditions such as DC bias, IQ, gain imbalance, integral tilt, etc.

[0052] As for the audio signal generator, the software instrument host is equipped with a high-precision audio signal acquisition and generation module, which has two synchronous acquisition analog input channels and two synchronous acquisition analog output channels. This module acts as an audio signal generator, audio voltmeter and audio spectrum analyzer in the system, and can complete a variety of audio test functions such as audio voltage measurement, audio frequency measurement, SINAD measurement, SNR measurement, distortion measurement, audio dynamic signal analysis, audio signal generation, etc.

[0053] In addition, for the oscilloscope module, the software instrument host is equipped with a high-speed digitizer to test parameters such as the transmit-receive conversion time, squelch opening delay, squelch release delay, and observe the RF (radio frequency) and AF (audio) dynamic waveforms. The high-speed digitizer works in conjunction with the oscilloscope software.

[0054] The above software instrument module communicates with multiple shortwave radio stations under test based on the interface adapter, and then implements the test process through corresponding information exchange. Figure 3 It should be noted that both signal generators are synchronous dual-channel and are simplified in the figure.

[0055] S202: Determine radio frequency output data and audio output data based on the radio frequency test item and the audio test item.

[0056] Among them, RF output data represents the digital parameters used to generate RF test signals, including frequency, power, bandwidth, etc.; audio output data refers to the digital parameters used to generate audio test signals, including audio frequency, level, waveform, etc.; these two types of output data are digital data streams that can directly drive the signal generator after modulation processing.

[0057] After the test items are determined, the test system needs to generate the corresponding test signal data according to the test requirements. Specifically, the test system first calculates the required carrier frequency, power level, modulation parameters and other RF signal characteristic parameters according to the requirements of the RF test items; at the same time, according to the requirements of the audio test items, it calculates the required audio frequency, amplitude, waveform and other audio signal characteristic parameters; then converts these parameters into digital waveform data, and performs necessary preprocessing and compensation.

[0058] In some embodiments, the generation of test signal data can be achieved in a variety of ways: optionally, calling a signal generation algorithm library to calculate the baseband signal; adding necessary modulation and filtering processing; performing digital up-conversion; generating the final output data stream. Optionally, selecting a basic waveform from a standard waveform library; performing waveform synthesis according to parameter requirements; adding necessary compensation and correction; and packaging to generate an output data packet. It is understandable that the generation and processing of test signal data can also be achieved in other ways, which are not limited here.

[0059] S203, sending the RF output data to the RF signal generator, so that the RF signal generator sends the target RF signal to the target test station; and at the same time sending the audio output data to the audio signal generator, so that the audio signal generator sends the target audio signal to the target test station.

[0060] The target radio frequency signal represents a standard radio frequency test signal generated according to the test requirements; the target audio signal is used to represent a standard audio test signal that meets the test requirements.

[0061] After the test system has completed the preparation of RF and audio output data, it will send these data to the corresponding signal generator to generate the actual test signal. Specifically, the test system first transmits the RF output data to the RF signal generator through the data bus, and the RF signal generator completes the digital-to-analog conversion and generates an analog RF signal; synchronously, the system sends the audio output data to the audio signal generator to generate the audio test signal; finally, the two signals are sent to the corresponding input ports of the target test station at the same time.

[0062] In some embodiments, the generation and transmission of the test signal can be realized in a variety of ways: optionally, the output data is clocked, digital-to-analog conversion and signal modulation are performed, power amplification and level matching are performed, and finally the signal is sent to the target port through the RF switch. Optionally, by configuring the working parameters of the signal generator, loading the standard waveform data, and then performing waveform reconstruction and signal synthesis, the synchronous transmission control is finally performed. It is understandable that other methods can also be used to realize the generation and transmission process of the test signal, which is not limited here.

[0063] S204: Receive the radio frequency response waveform and the audio response waveform returned by the oscilloscope module, and generate radio frequency response data and audio response data.

[0064] Among them, the RF response waveform represents the time domain waveform of the RF signal output by the radio station under test; the audio response waveform refers to the time domain waveform of the audio signal generated by the radio station under test; the RF response data is used to represent the characteristic parameters of the RF signal after digital sampling; and the audio response data represents the processed audio signal characteristic data.

[0065] After sending the test signal, the test system will collect and analyze the response signal of the radio station under test. Specifically, the oscilloscope module collects the RF and audio response signals in real time through high-speed sampling, converting the analog signals into digital data; the system pre-processes the collected raw waveform data, including noise suppression, data smoothing, etc.; then executes the feature extraction algorithm to generate a standardized response data format to obtain RF response data and audio response data.

[0066] Response data processing adopts a layered processing architecture, which can be expressed as a sequence of data transformation functions: D'=Fn(Fn-1(...F1(D))); Where D is the original sampled data, D' is the final processing result, and Fi represents the i-th layer processing function.

[0067] The system defines a data quality assessment function Q(D) to evaluate the validity of data: Q(D)=w1q1+w2q2+...+wmqm; Among them, qi represents different quality indicators (such as signal-to-noise ratio, integrity, etc.), and wi is the corresponding weight.

[0068] The data processing process dynamically adjusts processing parameters through adaptive algorithms: 1. Automatically select filtering algorithms and parameters based on data features; 2. Dynamically adjust sampling strategies based on signal quality; 3. Identify and process outliers through statistical methods. For example, when processing RF response waveforms, the system first performs digital filtering to eliminate high-frequency noise, then analyzes spectrum features through FFT transformation, and finally extracts key parameters based on feature matching. Data quality is continuously monitored throughout the process to ensure the reliability of processing results.

[0069] S205: Calculate a radio frequency performance index according to the radio frequency output data and the radio frequency response data, and calculate an audio performance index according to the audio output data and the audio response data.

[0070] Among them, the RF performance indicators refer to the various technical indicators that reflect the RF performance of shortwave radio stations; the audio performance indicators refer to the key parameters for measuring the quality of audio signals.

[0071] After obtaining the response data, the test system will calculate the specific performance index value. Specifically, the system first compares and analyzes the RF output data with the RF response data, and calculates the RF performance parameters such as the transmit power and frequency stability; at the same time, it compares the audio output data with the audio response data, and calculates the audio performance parameters such as the signal-to-noise ratio and distortion; finally, it normalizes all performance indicators to generate standardized performance evaluation results.

[0072] The performance index calculation adopts a multi-dimensional evaluation model. Let Xi be the i-th original measurement value and Yi be the corresponding standard value, then the performance index I can be expressed as: I=G(f1(X1, Y1), f2(X2, Y2),..., fk(Xk, Yk)); Where fi is a single indicator evaluation function, and G is a comprehensive evaluation function.

[0073] The system adopts a hierarchical evaluation strategy: 1. Basic layer: calculate the original index values; 2. Feature layer: extract performance characteristics and perform normalization; 3. Decision layer: comprehensively evaluate and generate the final result. The confidence evaluation mechanism is introduced in the calculation process: R=H(σ1, σ2, ..., σm), where σi represents the uncertainty from different sources, and H is the comprehensive evaluation function. For example, when evaluating RF transmission performance, the system comprehensively considers multiple dimensions such as frequency stability, power accuracy, and spurious emissions, and obtains the overall performance score through weighted calculation, while giving the confidence interval of the result.

[0074] In some embodiments, performance evaluation can be performed through a performance indicator calculation model; it should be noted that during the training phase of the performance indicator calculation model, the test system collects a large amount of historical test data as training samples, including original test signals, response signals and manually annotated performance indicator values ​​of RF and audio. During the training process, by comparing the error between the model calculation results and the standard values, the test system will continuously optimize the calculation parameters and algorithms to make the performance indicators output by the model more accurate. The training standards of the performance indicator calculation model include multiple dimensions such as the accuracy, stability and calculation efficiency of the calculation results. In addition, the performance indicator calculation model includes a RF performance calculation sub-model and an audio performance calculation sub-model. The RF sub-model mainly processes the calculation of parameters such as modulation quality, signal strength, and frequency stability; the audio sub-model mainly processes the calculation of parameters such as signal-to-noise ratio, distortion, and sensitivity. The model uses a digital signal processing algorithm combined with a statistical analysis method to establish a mapping relationship between test signal characteristics and performance indicators. In actual testing, the input includes digitally processed RF response waveform data (including power spectrum, modulation parameters, etc.) and audio response waveform data (including time domain and frequency domain features). The performance index calculation model can pre-process and extract features from the input data, and then calculate through the RF and audio sub-models respectively, and output specific performance index values ​​including modulation error, phase error, frequency deviation, signal-to-noise ratio, distortion, sensitivity, etc. Finally, the performance index calculation model will calculate the signal transmission quality coefficient and audio signal quality coefficient as a comprehensive evaluation result based on these basic indicators.

[0075] S206: Generate a test result report according to the radio frequency performance index and the audio performance index.

[0076] Among them, the test result report refers to a standardized document that records the complete test process and results.

[0077] After completing the performance index calculation, the test system will generate a standardized test report document. Specifically, the system first classifies and organizes the RF and audio performance indicators, and compares each indicator with the standard requirements; then generates a test process record, including test configuration, data curves and other information; and finally forms a complete test report, namely the test result report, which is presented in the form of data charts and also includes test conclusions and performance evaluation opinions.

[0078] The following is a more detailed description of the process of the method provided by this implementation. Figure 4 , is another flow chart of the shortwave radio automatic testing method based on the software instrument system in an embodiment of the present application.

[0079] S401. Determine test configuration parameters based on user input, and determine target test stations and target test items according to the test configuration parameters.

[0080] Referring to step S201 , the test system determines a target test station and a target test item.

[0081] When determining the configuration parameters, the test system first constructs a complete parameter space P, which contains all possible configuration parameter combinations. For any input parameter set p∈P, the system verifies its legitimacy through the verification function V(p). The verification function adopts a multi-level verification strategy: first check the legitimacy of a single parameter, then verify the combined constraint relationship between parameters, and finally evaluate the feasibility of the overall configuration.

[0082] The verification function can be expressed as: V(p)=V3(V2(V1(p))), where V1 represents the basic verification layer, V2 represents the associated verification layer, and V3 represents the system verification layer. The parameter set is considered valid only when all verification layers return valid results. For exceptions found during the verification process, the system will execute corresponding processing strategies through the exception handling function E(e) according to the type and severity of the exception, including parameter correction, configuration rollback, or termination of the operation.

[0083] For example, when the user enters the RF transmission power parameter, the V1 layer checks whether the power value is within the device support range, the V2 layer verifies whether the power value matches the current frequency setting, and the V3 layer evaluates whether the power can be stably output under the current system resources.

[0084] See also Figure 3 , is a schematic diagram of the hardware composition of the test system in an embodiment of the present application. Figure 3 The software instrument host also includes a multi-function data acquisition card, which is 16-bit and 32-channel. On the one hand, it is used to control and scan the SCXI chassis, and on the other hand, it is used for system self-test and status monitoring. At the same time, the DIO interface can be used to connect the radio control interface and remote control interface, etc., to provide communication digital signals to realize automatic test control of the radio in a fully automatic mode.

[0085] In some embodiments, the test system obtains the status data of the target test station based on the multi-functional data acquisition card; the status data includes the power supply voltage, the operating current and the device temperature; the status data is compared with the preset status threshold to generate a status detection result; when the status detection result indicates an abnormality, the test is terminated and an abnormal prompt message is displayed.

[0086] Among them, the multifunctional data acquisition card represents the hardware used to collect various types of measurement data, and the collection objects include the software instrument host and multiple shortwave radio stations under test; the status data refers to a set of parameters that reflect the operating status of the equipment, including the power supply voltage, working current and equipment temperature; the power supply voltage is used to indicate the working voltage value of the equipment; the working current indicates the real-time current consumption of the equipment; the equipment temperature refers to the operating temperature of the test radio station; the preset status threshold is used to indicate the allowable range of each status parameter; the abnormal prompt information refers to the warning information issued by the system.

[0087] During the test task, the test system needs to monitor the operating status of the equipment in real time to ensure the safety of the test. Specifically, the system continuously collects the voltage, current, temperature and other status data of the software instrument host and the target test station through the multi-function data acquisition card; compares the collected parameters with the preset safety threshold in real time; once any parameter is detected to be out of the safety range, the system immediately generates an abnormal detection result, terminates the current test process, and displays specific abnormal information on the interface.

[0088] It should be noted that the test system can collect a large amount of normal and abnormal operation status data of the equipment as training samples for model training to obtain an early warning model; the training samples of the early warning model include historical records of parameters such as power supply voltage, working current, and equipment temperature and corresponding status labels. The training process establishes early warning thresholds and judgment rules by analyzing the correlation between parameter change trends and equipment status. The training standards include indicators such as the accuracy, false alarm rate, and missed alarm rate of anomaly detection. The early warning model adopts a multi-parameter joint monitoring structure, which includes three core modules: parameter trend analysis, threshold judgment, and state prediction. The model combines statistical analysis and machine learning methods to establish a state discrimination boundary in a multi-dimensional parameter space. By inputting the voltage, current, temperature and other state data of the equipment in real time, the early warning model can perform multi-dimensional feature analysis and state evaluation, and output state detection results and abnormal early warning information. When an abnormality is detected, the early warning model can also output specific abnormality types and processing suggestions through incremental training of the expert library.

[0089] S402: Receive the real-time load power of the target test station returned by the program-controlled power supply.

[0090] Among them, the programmable power supply refers to a power supply device that can be controlled by a computer and has a measurement function; the real-time load power refers to the power consumption value of the target test radio station at the current moment; the target test radio station is used to represent the shortwave radio equipment currently being tested.

[0091] See also Figure 3 , is a schematic diagram of the hardware composition of the test system in an embodiment of the present application. Figure 3The main control computer realizes power supply control of multiple shortwave radio stations under test based on the programmable power supply. The programmable power supply uses a programmable power supply, which is mainly used to provide power to the radio stations under test and realize load power testing and protection. The power supply is controlled through the GPIB-USB module.

[0092] Before starting a specific test project, the test system needs to monitor the power status of the device under test. Specifically, the system first establishes a data communication connection with the programmable power supply and configures the power measurement parameters; then sends a data query command to the programmable power supply to obtain the real-time power data of the target test station; finally, the received power data is processed and stored to prepare for subsequent abnormal judgment.

[0093] S403: When the real-time load power is greater than a preset load threshold, determine that the corresponding target test station is a load abnormality station, and display a load abnormality prompt including a device identification of the load abnormality station and the real-time load power.

[0094] Among them, the preset load threshold represents the power safety upper limit value predefined by the system; the abnormal load station refers to the test equipment whose power consumption exceeds the safety range; the equipment identifier is used to represent the unique number or name of the station.

[0095] After obtaining the real-time load power, the test system will make an abnormal state judgment. Specifically, the system will compare the collected real-time load power with the preset safety threshold; when it detects that the power value exceeds the threshold, it will immediately mark the corresponding test station as abnormal; at the same time, a warning message will be displayed on the system interface, including the identification information and specific power value of the abnormal station, to remind the operator to take necessary treatment measures.

[0096] S404: Determine radio frequency output data and audio output data based on the radio frequency test item and the audio test item.

[0097] Referring to step S202 , the test system determines RF output data and audio output data.

[0098] S405: Generate radio frequency channel configuration data based on the radio frequency test item.

[0099] Among them, the RF channel configuration data represents a set of parameters used to set the RF signal transmission path, and the RF channel configuration data includes an input channel number, an output channel number and an attenuation value; the input channel number refers to the port number through which the RF signal enters the system; the output channel number is used to indicate the port number through which the RF signal is output; and the attenuation value indicates the number of decibels by which the RF signal needs to be attenuated.

[0100] After determining the RF test items, the test system will generate the corresponding channel configuration plan. Specifically, the system first analyzes the specific requirements of the RF test items and determines the signal transmission path requirements; then selects the appropriate input and output channels according to the test requirements and calculates the required signal attenuation; finally, these configuration parameters are integrated into a standard configuration data format to prepare for subsequent channel switching.

[0101] The channel configuration process can be abstracted as a resource allocation problem. Assume that the test system has a total of n physical channels, which constitute the channel set C = {c1, c2, ..., cn}. For each test task t, a channel subset St⊆C needs to be allocated to complete signal transmission.

[0102] Channel allocation needs to satisfy the following mathematical model: Minimize: F(St) = Σ(switching overhead) + Σ(signal loss) + Σ(resource occupation); Constraints: 1. Integrity of channel connection: all necessary signal paths can be established; 2. Signal quality requirements: signal attenuation and crosstalk must be within the allowable range; 3. Resource mutual exclusion: there must be no conflict between different signal paths.

[0103] The test system uses a heuristic algorithm to solve this optimization problem: first, the main channel is selected based on a greedy strategy, and then the allocation scheme is adjusted through an iterative optimization method until a feasible solution that satisfies all constraints is found. During the channel switching process, the system strictly controls the switching timing through a state machine model to ensure signal stability. For example: when it is necessary to test the transmission performance of multiple radio stations at the same time, the system will calculate the optimal channel allocation scheme to minimize the interference between the test channels while ensuring the highest test efficiency.

[0104] See also Figure 3 , is a schematic diagram of the hardware composition of the test system in an embodiment of the present application. Figure 3 The main instrument of the software is also equipped with an RF switch module and a universal switch module. The test specification stipulates that different test items require multiple instruments to be connected according to the specified measurement method. Some items require the connection of external auxiliary components. These auxiliary components involve RF and audio channel characteristics. In order to automatically select test instruments, set working modes, and automatically transfer and switch signals, the system is equipped with an RF switch module and a universal switch module.

[0105] The RF switch module uses a 32-channel 500MHz RF switch module, which can be used as multiple groups of multiplexers or multiple groups of sparse matrix switches. Its bandwidth is 500MHz, which is suitable for high-frequency testing.

[0106] The general switch module uses a 16 / 32 channel relay module, which has 32 switches and is suitable for high current switching, routing and control applications. The 16 / 32 channel relay module is used to control channels other than the RF channel, such as audio channels, transmission protection, system power supply, etc.

[0107] S406: According to the RF channel configuration data, control the RF switch module to switch the RF signal path and adjust the signal attenuation.

[0108] Among them, the RF switch module represents a matrix switch device used to switch the RF signal transmission path; the RF signal path refers to the transmission path of the RF signal in the system; the signal attenuation is used to represent the specific value of the attenuation of the RF signal.

[0109] After generating the channel configuration data, the test system will perform the actual path switching operation. Specifically, the system first converts the RF channel configuration data into specific control instructions; then sends a switching command to the RF switch module through the communication interface to reconfigure the signal path; at the same time, the attenuation value of the programmable attenuator is set to ensure that the signal level meets the test requirements; finally, the execution results of the path switching and attenuation settings are verified.

[0110] S407: Generate audio channel configuration data based on the audio test item.

[0111] Among them, the audio channel configuration data represents a set of parameters used to set the audio signal transmission path, and the audio channel configuration data includes an input channel combination and an output channel combination; the input channel combination refers to the port combination method of multiple audio input signals; the output channel combination is used to represent the port combination method of multiple audio output signals.

[0112] After determining the audio test items, the test system will generate the corresponding audio channel configuration plan. Specifically, the system first analyzes the specific requirements of the audio test items and determines the number of input and output channels required; then plans the combination relationship of input and output channels according to the test requirements; finally, integrates these configuration information into channel configuration data in a standard format to prepare for subsequent audio signal switching.

[0113] S408: Control the universal switch module to switch the audio signal path according to the audio channel configuration data.

[0114] The universal switch module refers to a matrix switch device used to switch the transmission path of the audio signal; the audio signal path refers to the transmission path of the audio signal in the system.

[0115] After generating the audio channel configuration data, the test system will perform the actual path switching operation. Specifically, the system first converts the audio channel configuration data into a switch control command; then sends a control instruction to the general switch module through the communication interface to reconfigure the audio signal path; then verifies the connectivity of each channel to ensure that the signal path is correctly established; finally, returns the switching result to the main control program to complete the audio path configuration process.

[0116] S409, sending the RF output data to the RF signal generator, so that the RF signal generator sends the target RF signal to the target test station; and at the same time sending the audio output data to the audio signal generator, so that the audio signal generator sends the target audio signal to the target test station.

[0117] Referring to step S203 , the system sends a target RF signal and a target audio signal to a target test station.

[0118] Shortwave radio testing requires the use of spectrum analyzers, power meters, and frequency meters. It is necessary to measure parameters such as power spectrum, peak power, peak frequency, in-band power, adjacent channel power, bandwidth, 3D spectrum, etc. For this purpose, please refer to Figure 3 , is a schematic diagram of the hardware composition of the test system in an embodiment of the present application; Figure 3 A frequency domain digitizer is provided in the system, which is implemented by using a frequency domain digitization card in conjunction with a spectrum measurement toolkit. The spectrum measurement toolkit has the ability of detailed spectrum analysis and frequency search, and can perform analog modulation, demodulation, and IQ digital demodulation.

[0119] In some embodiments, the test system performs analog modulation and digital modulation on the RF output data based on a modulation toolkit to obtain RF modulation data; the analog modulation includes amplitude modulation, frequency modulation and phase modulation, and the digital modulation includes frequency shift keying, minimum shift keying, Gaussian minimum shift keying, phase shift keying and quadrature amplitude modulation; the RF modulation data is sent to a signal generating card, so that the signal generating card generates a target RF signal, and sends the target RF signal to the target test station.

[0120] Among them, the modulation toolkit refers to the software module used for signal modulation processing; RF modulation data refers to the RF signal data after modulation processing; analog modulation is used to represent the modulation method of continuous signals; digital modulation represents the modulation method of discrete signals; signal generation card refers to the hardware that generates RF signals; target RF signal is used to represent the RF signal finally sent to the test station.

[0121] After generating the RF output data, the test system will perform signal modulation processing. Specifically, the system first calls various modulation functions provided by the modulation toolkit; selects the appropriate modulation method according to the test requirements, including analog modulation and digital modulation; then performs the corresponding modulation operation on the RF output data to generate modulated RF signal data; finally, the modulated data is sent to the signal generator card, which generates the actual RF signal and outputs it to the test station.

[0122] S410: Receive the radio frequency response waveform and the audio response waveform returned by the oscilloscope module, and generate radio frequency response data and audio response data.

[0123] Referring to step S204 , the test system generates radio frequency response data and audio frequency response data.

[0124] In some embodiments, the test system receives the RF response waveform returned by the oscilloscope module, performs spectrum analysis on the sampled data of the RF response waveform based on the frequency domain digitizer, and generates spectrum analysis data; the spectrum analysis data includes power spectrum, peak power and peak frequency; the signal modulation type is determined based on the waveform characteristics of the power spectrum; the signal modulation type includes at least one of amplitude modulation, frequency modulation and phase modulation; based on the signal modulation type, demodulation analysis is performed on the sampled data based on the spectrum measurement toolkit to generate RF response data including modulation parameters; the modulation parameters include modulation degree, frequency deviation and phase deviation; the audio response waveform returned by the oscilloscope module is received to generate audio response data.

[0125] Among them, the RF response waveform represents the time domain waveform of the RF signal output by the test station; the frequency domain digitizer refers to the digital processing equipment used to perform spectrum analysis; the spectrum analysis data is used to represent the frequency domain characteristic parameters of the signal; the power spectrum represents the curve of the signal power distribution over frequency; the peak power refers to the maximum power value of the signal; the peak frequency is used to represent the frequency point corresponding to the maximum power; the waveform characteristics represent the typical spectrum characteristics of the signal; the signal modulation type refers to the type of modulation method used; the spectrum measurement toolkit represents the software module used for signal demodulation analysis; the modulation parameters are used to represent the key characteristic values ​​of the modulated signal; the audio response data refers to the processing results of the audio signal output by the test station.

[0126] After acquiring the RF response waveform, the test system will perform signal analysis and processing. Specifically, the system first inputs the RF response waveform into the frequency domain digitizer for sampling and spectrum analysis to obtain spectrum analysis data containing information such as the power spectrum; then, by analyzing the characteristic pattern of the power spectrum, the modulation type used by the signal is identified; then, based on the determined modulation type, the spectrum measurement toolkit is used to demodulate and analyze the signal to extract key parameters such as modulation degree and frequency deviation; at the same time, the system also needs to process the audio response waveform to generate audio test data.

[0127] S411 , calculating a radio frequency performance index according to the radio frequency output data and the radio frequency response data, and calculating an audio performance index according to the audio output data and the audio response data.

[0128] Referring to step S205 , the test system calculates the radio frequency performance index and the audio performance index.

[0129] S412: Generate a test result report according to the radio frequency performance index and the audio performance index.

[0130] Referring to step S206 , the test system generates a test result report.

[0131] In some embodiments, the test system determines the modulation quality parameters according to the RF performance indicators; the modulation quality parameters include modulation error, phase error and frequency deviation; based on the RF channel configuration data and the modulation quality parameters, the signal transmission quality coefficient is calculated; according to the audio performance indicators, the audio performance parameters are determined; the audio performance parameters include signal-to-noise ratio, distortion and sensitivity; based on the audio channel configuration data and the audio performance parameters, the audio signal quality coefficient is calculated; and a test result report is generated according to the signal transmission quality coefficient and the audio signal quality coefficient.

[0132] Among them, modulation quality parameters represent technical indicators that reflect the modulation effect; modulation error refers to the deviation between actual modulation and ideal modulation; phase error is used to indicate the degree of deviation of signal phase; frequency deviation indicates the drift of signal frequency; signal transmission quality coefficient refers to an indicator for comprehensive evaluation of RF transmission performance; audio performance parameters are used to indicate key indicators of audio signal quality; signal-to-noise ratio indicates the ratio of effective signal to noise; distortion refers to the degree of deformation of signal waveform; sensitivity is used to indicate the minimum available signal level of the equipment; audio signal quality coefficient indicates the comprehensive evaluation value of audio performance; test result report refers to a document that fully records the test conclusions.

[0133] After obtaining the performance indicators, the test system will conduct a comprehensive quality assessment. Specifically, the system first calculates various modulation quality parameters based on the RF performance indicators, and evaluates the signal transmission quality in combination with the RF channel configuration information; then analyzes the audio performance indicators to obtain the audio performance parameters, and calculates the audio signal quality based on the audio channel configuration; finally, the quality assessment results of both RF and audio are integrated to generate a test report containing complete test data and conclusions.

[0134] The report generation process can also be based on a formalized template. Define the report template T as a directed acyclic graph: T = (V, E) where V represents the set of report elements and E represents the association relationship between elements.

[0135] The report generation function R can be expressed as: R(D, T) = M(F(D), T); Where D is the test data set, F is the data formatting function, and M is the template mapping function.

[0136] The test system also ensures the integrity of the report through the following steps: 1. Construct a data dependency graph to verify data integrity; 2. Perform consistency checks to ensure the logical relationship between data; 3. Apply version control to manage report updates. When generating a complete test report, the system first verifies whether all necessary data is obtained, then organizes the content in a standard format, and finally performs multiple rounds of verification to ensure the accuracy and completeness of the report.

[0137] It should be noted that the test system can perform test-related steps based on a specific software program. Figure 5 , which is a software function diagram of the test system in an embodiment of the present application. Figure 5 The figure shows the functional module composition of the automatic test system application software, which mainly includes five functional modules: self-test / calibration software, test management software, data management, system maintenance and online help. Each main module contains several sub-functional modules. For example, the self-test / calibration software includes module self-test, system self-test and system calibration, and the test management software includes project selection, parameter setting, instrument control and other functions, forming a complete software functional system.

[0138] The core of the automatic test system application software is data acquisition and signal processing. In the self-test / calibration stage, the system first inputs a set of preset standard signals to the test equipment, collects the response data and compares it with the standard value, and obtains the calibration curve through the least squares fitting method. In this process, the system will calculate the measurement error and establish a compensation model to ensure the measurement accuracy. For example, when performing a frequency response test, the system will input signals at the preset frequency points in sequence, record the output amplitude of the equipment, and obtain the complete frequency response curve through the interpolation algorithm.

[0139] The test management software is responsible for the core data processing. During the signal acquisition process, the system uses a real-time digital filtering algorithm to remove interference signals. Common filtering methods include Butterworth filters and Chebyshev filters. The collected raw data is analyzed in the frequency domain after FFT transformation to obtain the spectral characteristics of the signal. For time domain signals, the system uses autocorrelation analysis to detect the periodic characteristics of the signal and cross-correlation analysis to study the relationship between different signals. These processed data are used to calculate statistical quantities such as mean and standard deviation through statistical analysis methods to evaluate the reliability of the test results.

[0140] The data management module uses a relational database to store test data and establishes a data structure containing multiple related tables such as equipment parameters, test conditions, and test results. The system uses SQL language to query and manage data, and uses data normalization to ensure data consistency. The storage of test data adopts a hierarchical structure, and the original data, processed data, and analysis results are stored separately and associated through unique identifiers. The system also implements an automatic data backup mechanism to compress and archive important data regularly.

[0141] The system maintenance module includes a performance monitoring algorithm, which establishes a system performance evaluation model by collecting system operating parameters such as CPU occupancy, memory usage, communication delay, etc. The model uses fuzzy logic methods to comprehensively evaluate the system status based on multiple performance indicators and provide optimization suggestions when performance degrades. Fault diagnosis adopts an expert system method, which realizes automatic fault location and diagnosis by establishing a fault feature library and combining a decision tree algorithm.

[0142] The online help module uses knowledge graph technology to organize help information, understands user query intent through semantic analysis algorithms, and provides targeted help information. The system also includes a learning algorithm that can automatically optimize the organization of help content based on user usage habits and common problems, thereby improving the efficiency of the help system.

[0143] These functional modules communicate through a unified data bus, and use the publish-subscribe model to achieve data transmission between modules. The system uses multi-threaded parallel processing technology to improve processing efficiency and reasonably allocates system resources through task scheduling algorithms. To ensure real-time performance, key data processing tasks are given a higher priority to ensure the continuity and reliability of the test process. The entire system adopts an object-oriented design method, and achieves flexible expansion of functions through inheritance and polymorphism mechanisms, which facilitates subsequent function upgrades and maintenance.

[0144] In the embodiment of the present application, due to the use of an integrated automatic test system architecture, the multifunctional data acquisition card, frequency domain digitizer, switch module and other equipment are organically combined, and unified control is achieved through the software platform, so the whole process from test configuration, signal routing, data acquisition to result analysis can be automatically completed, effectively solving the technical problems such as low efficiency in traditional manual testing, and ensuring the safety and reliability of the test process through automated signal routing and real-time status monitoring; secondly, with the help of professional signal analysis tools, the accuracy and consistency of test data are improved; through the scalable design of the system, a good foundation is provided for subsequent function upgrades and optimizations. These innovations not only significantly improve the efficiency and quality of shortwave radio station testing, but also provide a new technical direction for the intelligent development of test equipment.

[0145] The following describes the test system in the embodiment of the present invention from the perspective of hardware processing. Figure 6 , is a schematic diagram of a physical device structure of a test system in an embodiment of the present application.

[0146] It should be noted that Figure 6 The structure of the test system shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0147] like Figure 6 As shown, the test system includes a central processing unit (CPU) 601, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 602 or the program loaded from the storage part 608 to the random access memory (RAM) 603, such as executing the method described in the above embodiment. In the RAM 603, various programs and data required for system operation are also stored. The CPU 601, the ROM 602 and the RAM 603 are connected to each other through the bus 604. The input / output (I / O) interface 605 is also connected to the bus 604.

[0148] The following components are connected to the I / O interface 605: an input section 606 including an audio input device, a button switch, etc.; an output section 607 including a liquid crystal display (LCD) and an audio output device, an indicator light, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I / O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed so that a computer program read therefrom is installed into the storage section 608 as needed.

[0149] In particular, according to an embodiment of the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present invention includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication part 609, and / or installed from a removable medium 611. When the computer program is executed by the central processing unit (CPU) 601, various functions defined in the present invention are performed.

[0150] It should be noted that specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, apparatus, or device.

[0151] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present invention. Each box in the flowchart or block diagram may represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions marked in the box may also occur in an order different from that marked in the accompanying drawings.

[0152] Specifically, the test system of this embodiment includes a processor and a memory. The memory stores a computer program. When the computer program is executed by the processor, the shortwave radio station automatic test method based on the software instrument system provided in the above embodiment is implemented.

[0153] As another aspect, the present invention further provides a computer-readable storage medium, which may be included in the test system described in the above embodiment; or may exist independently without being assembled into the test system. The above storage medium carries one or more computer programs, and when the above one or more computer programs are executed by a processor of the test system, the test system implements the shortwave radio automatic test method based on the software instrument system provided in the above embodiment.

[0154] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

[0155] As used in the above embodiments, the term "when..." may be interpreted to mean "if..." or "after..." or "in response to determining..." or "in response to detecting...", depending on the context. Similarly, the phrases "upon determining..." or "if (the stated condition or event) is detected" may be interpreted to mean "if determining..." or "in response to determining..." or "upon detecting (the stated condition or event)" or "in response to detecting (the stated condition or event)", depending on the context.

[0156] Those skilled in the art can understand that to implement all or part of the processes in the above-mentioned embodiments, the processes can be completed by computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. When the programs are executed, they can include the processes of the above-mentioned method embodiments. The aforementioned storage media include: ROM or random access memory RAM, magnetic disk or optical disk and other media that can store program codes.

Claims

1. A shortwave radio station automatic testing method based on a software instrument system, characterized in that: Applied to a test system, the test system comprising: Host computer, software instrument host and interface adapter; The main control computer is connected to the software instrument host through communication based on PCI bridging technology; the software instrument host includes multiple software instrument modules; the software instrument modules include a radio frequency signal generator, an audio signal generator and an oscilloscope module; the software instrument modules are connected to multiple shortwave radio stations under test through communication based on the interface adapter; The method comprises: The main control computer determines the test configuration parameters based on the user input, and determines the target test radio station and the target test items according to the test configuration parameters; the target test items include radio frequency test items and audio test items; the target test radio station is one or more of the shortwave radio stations under test; The main control computer determines the radio frequency output data and the audio output data based on the radio frequency test item and the audio test item; The main control computer sends the RF output data to the RF signal generator, so that the RF signal generator sends the target RF signal to the target test station; at the same time, the main control computer sends the audio output data to the audio signal generator, so that the audio signal generator sends the target audio signal to the target test station; The main control computer receives the radio frequency response waveform and the audio frequency response waveform returned by the oscilloscope module, and generates radio frequency response data and audio frequency response data; The main control computer calculates a radio frequency performance index according to the radio frequency output data and the radio frequency response data, and at the same time, the main control computer calculates an audio performance index according to the audio output data and the audio response data; The main control computer generates a test result report according to the radio frequency performance index and the audio performance index.

2. The method according to claim 1, characterized in that The test system also includes a program-controlled power supply; the program-controlled power supply is used to provide power to the multiple shortwave radio stations under test and is in communication connection with the main control computer; After the main control computer determines the test configuration parameters based on the user input, and determines the target test station and the target test item according to the test configuration parameters, the method further includes: The main control computer receives the real-time load power of the target test station returned by the program-controlled power supply; When the real-time load power is greater than a preset load threshold, the main control computer determines that the corresponding target test station is a load abnormality station, and displays a load abnormality prompt including a device identification of the load abnormality station and the real-time load power.

3. The method according to claim 1, characterized in that The software instrument module also includes a frequency domain digitizer; the frequency domain digitizer includes a frequency domain digitization card and a spectrum measurement toolkit; The main control computer receives the RF response waveform and the audio response waveform returned by the oscilloscope module, and generates the RF response data and the audio response data, which specifically includes: The main control computer receives the RF response waveform returned by the oscilloscope module, performs spectrum analysis on the sampled data of the RF response waveform based on the frequency domain digitizer, and generates spectrum analysis data; the spectrum analysis data includes power spectrum, peak power and peak frequency; The main control computer determines the signal modulation type according to the waveform characteristics of the power spectrum; the signal modulation type includes at least one of amplitude modulation, frequency modulation and phase modulation; The main control computer performs demodulation analysis on the sampled data based on the spectrum measurement toolkit according to the signal modulation type, and generates radio frequency response data including modulation parameters; the modulation parameters include modulation degree, frequency deviation and phase deviation; The main control computer receives the audio response waveform returned by the oscilloscope module and generates audio response data.

4. The method according to claim 1, characterized in that: The radio frequency signal generator includes a signal generation card and a modulation tool kit; The step of the main control computer sending the RF output data to the RF signal generator so that the RF signal generator sends the target RF signal to the target test station specifically includes: The main control computer performs analog modulation and digital modulation on the RF output data based on the modulation toolkit to obtain RF modulated data; the analog modulation includes amplitude modulation, frequency modulation and phase modulation, and the digital modulation includes frequency shift keying, minimum frequency shift keying, Gaussian minimum frequency shift keying, phase shift keying and orthogonal amplitude modulation; The main control computer sends the radio frequency modulation data to the signal generating card, so that the signal generating card generates a target radio frequency signal and sends the target radio frequency signal to the target test station.

5. The method according to claim 1, characterized in that The software instrument module also includes a multifunctional data acquisition card; After the main control computer determines the test configuration parameters based on the user input, and determines the target test station and the target test item according to the test configuration parameters, the method further includes: The main control computer acquires the status data of the target test station based on the multifunctional data acquisition card; the status data includes the power supply voltage, the operating current and the device temperature; The main control computer compares the state data with a preset state threshold value to generate a state detection result; When the status detection result indicates an abnormality, the main control computer stops the test and displays an abnormal prompt message.

6. The method according to claim 1, characterized in that The software instrument module also includes a radio frequency switch module and a general switch module; After the main control computer determines the RF output data and the audio output data based on the RF test item and the audio test item, the method further includes: The main control computer generates radio frequency channel configuration data based on the radio frequency test items; the radio frequency channel configuration data includes an input channel number, an output channel number and an attenuation value; The main control computer controls the RF switch module to switch the RF signal path and adjust the signal attenuation according to the RF channel configuration data; The main control computer generates audio channel configuration data based on the audio test items; the audio channel configuration data includes an input channel combination and an output channel combination; The main control computer controls the universal switch module to switch the audio signal path according to the audio channel configuration data.

7. The method according to claim 1, characterized in that The step of generating a test result report according to the radio frequency performance index and the audio performance index by the main control computer specifically includes: The main control computer determines modulation quality parameters according to the radio frequency performance index; the modulation quality parameters include modulation error, phase error and frequency deviation; The main control computer calculates a signal transmission quality coefficient based on the radio frequency channel configuration data and the modulation quality parameter; The main control computer determines audio performance parameters according to the audio performance index; the audio performance parameters include signal-to-noise ratio, distortion and sensitivity; The main control computer calculates the audio signal quality coefficient based on the audio channel configuration data and the audio performance parameter; The main control computer generates a test result report according to the signal transmission quality coefficient and the audio signal quality coefficient.

8. A testing system, characterized in that: The test system comprises: one or more processors and a memory; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code comprises computer instructions, and the one or more processors call the computer instructions so that the test system executes the method as described in any one of claims 1-7.

9. A computer-readable storage medium comprising instructions, characterized in that: When the instructions are executed on a test system, the test system is caused to execute the method according to any one of claims 1 to 7.

10. A computer program product, characterized in that When the computer program product is run on a test system, the test system is caused to execute the method according to any one of claims 1 to 7.