Detection method and device of radio frequency hardware, storage medium and electronic equipment

文档序号:1616823 发布日期:2020-01-10 浏览:33次 中文

阅读说明:本技术 射频硬件的检测方法、装置、存储介质及电子设备 (Detection method and device of radio frequency hardware, storage medium and electronic equipment ) 是由 杨亚西 詹松龄 陈军 林晓 于 2018-07-02 设计创作,主要内容包括:本公开涉及一种射频硬件的检测方法、装置、存储介质及电子设备,该方法包括:在完成配置的信号源仪表与射频硬件的第一检测端口连接后,利用软件编程对射频硬件进行配置;在打开信号源仪表的输出开关并启动完成配置的射频硬件后,通过利用预设的采样工具和解析工具,对射频硬件输出的第一测试信号进行采样和解析,以确定第一测试信号的实部和虚部;通过将第一测试信号的实部和虚部与第一参考数据进行比对,确定射频硬件是否存在故障;当射频硬件存在故障时,将信号源仪表依次与射频硬件的第二检测端口以及第三检测端口连接,并重复上述信号获取和比对步骤,直至确定射频硬件的故障位置。能够快速有效地进行故障定位,节约资源的同时降低成本。(The present disclosure relates to a method, an apparatus, a storage medium and an electronic device for detecting radio frequency hardware, wherein the method comprises: after the configured signal source instrument is connected with a first detection port of the radio frequency hardware, configuring the radio frequency hardware by using software programming; after an output switch of a signal source instrument is turned on and radio frequency hardware which is configured is started, sampling and analyzing a first test signal output by the radio frequency hardware by using a preset sampling tool and an analyzing tool so as to determine a real part and an imaginary part of the first test signal; determining whether the radio frequency hardware has a fault by comparing a real part and an imaginary part of the first test signal with first reference data; when the radio frequency hardware has a fault, the signal source instrument is sequentially connected with the second detection port and the third detection port of the radio frequency hardware, and the signal acquisition and comparison steps are repeated until the fault position of the radio frequency hardware is determined. The fault location can be rapidly and effectively carried out, and the cost is reduced while the resources are saved.)

1. A method for detecting radio frequency hardware, the method comprising:

after the configured signal source instrument is connected with a first detection port of the radio frequency hardware, configuring the radio frequency hardware by using software programming;

after an output switch of the signal source instrument is turned on and the configured radio frequency hardware is started, sampling and analyzing a first test signal output by the radio frequency hardware by using the preset sampling tool and the preset analyzing tool so as to determine a real part and an imaginary part of the first test signal;

determining whether the radio frequency hardware has a fault by comparing a real part and an imaginary part of the first test signal with first reference data;

when the radio frequency hardware has a fault, the signal source instrument is sequentially connected with a second detection port and a third detection port of the radio frequency hardware, the preset sampling tool and the preset analysis tool are utilized to sample and analyze a first test signal output by the radio frequency hardware so as to determine a real part and an imaginary part of the first test signal, and the step of determining whether the radio frequency hardware has the fault is carried out by comparing the real part and the imaginary part of the first test signal with first reference data until the fault position of the radio frequency hardware is determined.

2. The method of claim 1, further comprising:

and configuring the received signal frequency, the received signal strength, the received data type, the output port and a switch of the radio frequency signal of the signal source instrument so as to realize the configured signal source instrument.

3. The method of claim 1 or 2, wherein the first detection port is a receiving antenna port of the rf hardware, and the connecting the configured signal source instrument with the first detection port of the rf hardware, and configuring the rf hardware by software programming comprises:

configuring starting system parameters of the radio frequency hardware, wherein the starting system parameters comprise at least one of power supply, clock, software address mapping, hardware address mapping, data channel, bus control and signal control corresponding to pins of the radio frequency hardware;

initializing the radio frequency hardware which completes the configuration of the starting system parameters;

and configuring the working state of the radio frequency hardware after the initialization is finished.

4. The method according to claim 1 or 2, wherein the sampling and analyzing a first test signal output by the radio frequency hardware after the output switch of the signal source meter is opened and the configured radio frequency hardware is started to determine a real part and an imaginary part of the first test signal by using the preset sampling tool and analyzing tool, and comprises:

after an output switch of the signal source instrument is turned on and the radio frequency hardware is started, the first test signal is obtained and stored through the sampling tool;

programming analysis is performed on the first test signal using the analytical tool to determine real and imaginary components of the first test signal.

5. The method of claim 4, wherein the first reference data is determined according to the configuration of the first detection port and the signal source meter, and wherein comparing the real and imaginary parts of the first test signal with the first reference data to determine whether the radio frequency hardware is faulty comprises:

determining that the radio frequency hardware is not faulty when the real and imaginary parts of the first test signal are consistent with the first reference data;

determining that the radio frequency hardware is faulty when the real and imaginary parts of the first test signal are inconsistent with the first reference data.

6. The method according to claim 5, wherein when the radio frequency hardware has a fault, connecting the signal source instrument with the second detection port and the third detection port of the radio frequency hardware in sequence, and repeating the step of sampling and analyzing the first test signal output by the radio frequency hardware by using the preset sampling tool and analyzing tool to determine the real part and the imaginary part of the first test signal to the step of determining whether the radio frequency hardware has a fault by comparing the real part and the imaginary part of the first test signal with the first reference data until the fault location of the radio frequency hardware is determined, comprises:

after the signal source instrument is connected with the second detection port, determining a real part and an imaginary part of a second test signal output by the radio frequency hardware;

comparing the real and imaginary parts of the second test signal to second reference data;

determining that an antenna switch of the radio frequency hardware is malfunctioning when the real and imaginary parts of the second test signal are consistent with the second reference data;

connecting the signal source instrument to the third detection port when the real and imaginary parts of the second test signal are inconsistent with the second reference data;

after the signal source instrument is connected with the third detection port, determining a real part and an imaginary part of a third test signal output by the radio frequency hardware;

comparing the real and imaginary parts of the third test signal to third reference data;

determining that a filter of the radio frequency hardware is faulty when the real and imaginary parts of the third test signal are consistent with the third reference data;

determining that a radio frequency chip of the radio frequency hardware has a fault when the real part and the imaginary part of the third test signal are inconsistent with the third reference data;

wherein the second detection port is located after an antenna switch of a receive path of the radio frequency hardware, and the third detection port is located after a filter of the receive path of the radio frequency hardware; the second reference data is determined according to the configuration of the second test port and the signal source instrument, and the third reference data is determined according to the configuration of the third test port and the signal source instrument.

7. An apparatus for detecting radio frequency hardware, the apparatus comprising:

the configuration module is used for configuring the radio frequency hardware by utilizing software programming after the configured signal source instrument is connected with the first detection port of the radio frequency hardware;

the signal determination module is used for sampling and analyzing a first test signal output by the radio frequency hardware by utilizing the preset sampling tool and the preset analyzing tool after an output switch of the signal source instrument is turned on and the configured radio frequency hardware is started so as to determine a real part and an imaginary part of the first test signal;

the fault determining module is used for determining whether the radio frequency hardware has faults or not by comparing the real part and the imaginary part of the first test signal with first reference data;

and the repeated execution module is used for sequentially connecting the signal source instrument with the second detection port and the third detection port of the radio frequency hardware when the radio frequency hardware has a fault, and repeating the step of sampling and analyzing a first test signal output by the radio frequency hardware through the preset sampling tool and the analysis tool so as to determine the real part and the imaginary part of the first test signal until the step of determining whether the radio frequency hardware has the fault by comparing the real part and the imaginary part of the first test signal with first reference data until the fault position of the radio frequency hardware is determined.

8. The apparatus of claim 7, wherein the apparatus comprises:

the configuration module is further configured to configure the signal receiving frequency, the signal receiving strength, the data receiving type, the output port, and the radio frequency signal switch of the signal source instrument, so as to implement the configured signal source instrument.

9. The apparatus of claim 7 or 8, wherein the first detection port is a receive antenna port of the radio frequency hardware, and wherein the configuration module is configured to:

configuring starting system parameters of the radio frequency hardware, wherein the starting system parameters comprise at least one of power supply, clock, software address mapping, hardware address mapping, data channel, bus control and signal control corresponding to pins of the radio frequency hardware;

initializing the radio frequency hardware which completes the configuration of the starting system parameters;

and configuring the working state of the radio frequency hardware after the initialization is finished.

10. The apparatus of claim 7 or 8, wherein the signal determination module comprises:

the signal acquisition submodule is used for acquiring and storing the first test signal through the sampling tool after an output switch of the signal source instrument is turned on and the radio frequency hardware is started;

a signal determination submodule configured to perform a programming analysis on the first test signal using the analysis tool to determine real and imaginary components of the first test signal.

11. The apparatus of claim 10, wherein the fault determination module is configured to:

determining that the radio frequency hardware is not faulty when the real and imaginary parts of the first test signal are consistent with the first reference data;

determining that the radio frequency hardware is faulty when the real and imaginary parts of the first test signal are inconsistent with the first reference data.

12. The apparatus of claim 11, wherein the repeatedly performing module comprises:

the determining submodule is used for determining a real part and an imaginary part of a second test signal output by the radio frequency hardware after the signal source instrument is connected with the second detection port;

the comparison submodule is used for comparing the real part and the imaginary part of the second test signal with second reference data;

a fault determining submodule for determining that an antenna switch of the radio frequency hardware has a fault when the real part and the imaginary part of the second test signal are consistent with the second reference data;

the fault determination submodule is further configured to connect the signal source instrument with the third detection port when the real part and the imaginary part of the second test signal are inconsistent with the second reference data;

the determining submodule is further configured to determine a real part and an imaginary part of a third test signal output by the radio frequency hardware after the signal source instrument is connected to the third detection port;

the comparison submodule is used for comparing the real part and the imaginary part of the third test signal with third reference data;

the fault determining sub-module is further configured to determine that a filter of the radio frequency hardware has a fault when the real part and the imaginary part of the third test signal are consistent with the third reference data;

the fault determining sub-module is further configured to determine that a radio frequency chip of the radio frequency hardware has a fault when a real part and an imaginary part of the third test signal are inconsistent with the third reference data;

wherein the second detection port is located after an antenna switch of a receive path of the radio frequency hardware, and the third detection port is located after a filter of the receive path of the radio frequency hardware; the second reference data is determined according to the configuration of the second test port and the signal source instrument, and the third reference data is determined according to the configuration of the third test port and the signal source instrument.

13. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.

14. An electronic device, comprising:

a memory having a computer program stored thereon;

a processor for executing the computer program in the memory to carry out the steps of the method of any one of claims 1 to 6.

Technical Field

The present disclosure relates to the field of communications technologies, and in particular, to a method and an apparatus for detecting radio frequency hardware, a storage medium, and an electronic device.

Background

With the development of wireless communication technology, mobile terminals have been widely used in various aspects of people's lives. The radio frequency hardware path is a very important component of the mobile terminal, is used for the whole terminal to rapidly and accurately receive and send communication information, is an important carrier and an important channel for transmitting information, and ensures that the radio frequency hardware path is normal in real time and accurately, which is a necessary condition for the normal function of the mobile terminal.

In order to ensure that the function of a terminal radio frequency hardware receiving channel is normal, the function of a radio frequency hardware daughter card needs to be rapidly and effectively detected, in the prior art, a probability distribution function and an abnormal probability can be obtained by a mathematical statistics method by utilizing radio frequency quality parameter information of a plurality of resident cells of a plurality of terminals, and other same devices to be detected of data are compared to determine whether the devices are abnormal or not; but it requires a resident cell and multiple paths of good devices under test. In addition, the power index of the receiving channel of the radio frequency hardware during data transmission can be detected to judge whether the abnormity exists, but a complete baseband version and a terminal using the radio frequency are needed.

Disclosure of Invention

In order to overcome the problems in the prior art, the present disclosure provides a method and an apparatus for detecting radio frequency hardware, a storage medium, and an electronic device.

According to a first aspect of the embodiments of the present disclosure, there is provided a method for detecting radio frequency hardware, the method including:

after the configured signal source instrument is connected with a first detection port of the radio frequency hardware, configuring the radio frequency hardware by using software programming;

after an output switch of the signal source instrument is turned on and the configured radio frequency hardware is started, sampling and analyzing a first test signal output by the radio frequency hardware by using the preset sampling tool and the preset analyzing tool so as to determine a real part and an imaginary part of the first test signal;

determining whether the radio frequency hardware has a fault by comparing a real part and an imaginary part of the first test signal with first reference data;

when the radio frequency hardware has a fault, the signal source instrument is sequentially connected with a second detection port and a third detection port of the radio frequency hardware, the preset sampling tool and the preset analysis tool are repeated, a first test signal output by the radio frequency hardware is sampled and analyzed, so that the real part and the imaginary part of the first test signal are determined, and the step of determining whether the radio frequency hardware has the fault is performed by comparing the real part and the imaginary part of the first test signal with first reference data until the fault position of the radio frequency hardware is determined.

Optionally, the method further includes:

and configuring the received signal frequency, the received signal strength, the received data type, the output port and a switch of the radio frequency signal of the signal source instrument so as to realize the configured signal source instrument.

Optionally, the first detection port is a receiving antenna port of the radio frequency hardware, the signal source instrument which is to be configured is connected to the first detection port of the radio frequency hardware, and the radio frequency hardware is configured by using software programming, including:

configuring starting system parameters of the radio frequency hardware, wherein the starting system parameters comprise at least one of power supply, clock, software address mapping, hardware address mapping, data channel, bus control and signal control corresponding to pins of the radio frequency hardware;

initializing the radio frequency hardware which completes the configuration of the starting system parameters;

and configuring the working state of the radio frequency hardware after the initialization is finished.

Optionally, after the output switch of the signal source instrument is turned on and the configured radio frequency hardware is started, the sampling and analyzing of the first test signal output by the radio frequency hardware is performed by using the preset sampling tool and the preset analyzing tool, so as to determine the real part and the imaginary part of the first test signal, including:

after an output switch of the signal source instrument is turned on and the radio frequency hardware is started, the first test signal is obtained and stored through the sampling tool;

programming analysis is performed on the first test signal using the analytical tool to determine real and imaginary components of the first test signal.

Optionally, the determining, by the first reference data according to the configurations of the first detection port and the signal source instrument, whether the radio frequency hardware has a fault by comparing a real part and an imaginary part of the first test signal with the first reference data includes:

determining that the radio frequency hardware is not faulty when the real and imaginary parts of the first test signal are consistent with the first reference data;

determining that the radio frequency hardware is faulty when the real and imaginary parts of the first test signal are inconsistent with the first reference data.

Optionally, when the radio frequency hardware has a fault, sequentially connecting the signal source instrument to the second detection port and the third detection port of the radio frequency hardware, and repeating the step of determining the real part and the imaginary part of the first test signal by sampling and analyzing the first test signal output by the radio frequency hardware by using the preset sampling tool and the preset analyzing tool to determine whether the radio frequency hardware has a fault by comparing the real part and the imaginary part of the first test signal with the first reference data until the fault location of the radio frequency hardware is determined, including:

after the signal source instrument is connected with the second detection port, determining a real part and an imaginary part of a second test signal output by the radio frequency hardware;

comparing the real and imaginary parts of the second test signal to second reference data;

determining that an antenna switch of the radio frequency hardware is malfunctioning when the real and imaginary parts of the second test signal are consistent with the second reference data;

connecting the signal source instrument to the third detection port when the real and imaginary parts of the second test signal are inconsistent with the second reference data;

after the signal source instrument is connected with the third detection port, determining a real part and an imaginary part of a third test signal output by the radio frequency hardware;

comparing the real and imaginary parts of the third test signal to third reference data;

determining that a filter of the radio frequency hardware is faulty when the real and imaginary parts of the third test signal are consistent with the third reference data;

determining that a radio frequency chip of the radio frequency hardware has a fault when the real part and the imaginary part of the third test signal are inconsistent with the third reference data;

wherein the second detection port is located after an antenna switch of a receive path of the radio frequency hardware, and the third detection port is located after a filter of the receive path of the radio frequency hardware; the second reference data is determined according to the configuration of the second test port and the signal source instrument, and the third reference data is determined according to the configuration of the third test port and the signal source instrument.

According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for detecting radio frequency hardware, the apparatus including:

the configuration module is used for configuring the radio frequency hardware by utilizing software programming after the configured signal source instrument is connected with the first detection port of the radio frequency hardware;

the signal determination module is used for sampling and analyzing a first test signal output by the radio frequency hardware by utilizing the preset sampling tool and the preset analyzing tool after an output switch of the signal source instrument is turned on and the configured radio frequency hardware is started so as to determine a real part and an imaginary part of the first test signal;

the fault determining module is used for determining whether the radio frequency hardware has faults or not by comparing the real part and the imaginary part of the first test signal with first reference data;

and the repeated execution module is used for sequentially connecting the signal source instrument with the second detection port and the third detection port of the radio frequency hardware when the radio frequency hardware has a fault, and repeating the step of sampling and analyzing a first test signal output by the radio frequency hardware through the preset sampling tool and the analysis tool so as to determine the real part and the imaginary part of the first test signal until the step of determining whether the radio frequency hardware has the fault by comparing the real part and the imaginary part of the first test signal with first reference data until the fault position of the radio frequency hardware is determined.

Optionally, the apparatus includes:

the configuration module is further configured to configure the signal receiving frequency, the signal receiving strength, the data receiving type, the output port, and the radio frequency signal switch of the signal source instrument, so as to implement the configured signal source instrument.

Optionally, the first detection port is a receiving antenna port of the radio frequency hardware, and the configuration module is configured to:

configuring starting system parameters of the radio frequency hardware, wherein the starting system parameters comprise at least one of power supply, clock, software address mapping, hardware address mapping, data channel, bus control and signal control corresponding to pins of the radio frequency hardware;

initializing the radio frequency hardware which completes the configuration of the starting system parameters;

and configuring the working state of the radio frequency hardware after the initialization is finished.

Optionally, the signal determining module includes:

the signal acquisition submodule is used for acquiring and storing the first test signal through the sampling tool after an output switch of the signal source instrument is turned on and the radio frequency hardware is started;

a signal determination submodule configured to perform a programming analysis on the first test signal using the analysis tool to determine real and imaginary components of the first test signal.

Optionally, the fault determining module is configured to:

determining that the radio frequency hardware is not faulty when the real and imaginary parts of the first test signal are consistent with the first reference data;

determining that the radio frequency hardware is faulty when the real and imaginary parts of the first test signal are inconsistent with the first reference data.

Optionally, the repeatedly executing module includes:

the determining submodule is used for determining a real part and an imaginary part of a second test signal output by the radio frequency hardware after the signal source instrument is connected with the second detection port;

the comparison submodule is used for comparing the real part and the imaginary part of the second test signal with second reference data;

a fault determining submodule for determining that an antenna switch of the radio frequency hardware has a fault when the real part and the imaginary part of the second test signal are consistent with the second reference data;

the fault determination submodule is further configured to connect the signal source instrument with the third detection port when the real part and the imaginary part of the second test signal are inconsistent with the second reference data;

the determining submodule is further configured to determine a real part and an imaginary part of a third test signal output by the radio frequency hardware after the signal source instrument is connected to the third detection port;

the comparison submodule is used for comparing the real part and the imaginary part of the third test signal with third reference data;

the fault determining sub-module is further configured to determine that a filter of the radio frequency hardware has a fault when the real part and the imaginary part of the third test signal are consistent with the third reference data;

the fault determining sub-module is further configured to determine that a radio frequency chip of the radio frequency hardware has a fault when a real part and an imaginary part of the third test signal are inconsistent with the third reference data;

wherein the second detection port is located after an antenna switch of a receive path of the radio frequency hardware, and the third detection port is located after a filter of the receive path of the radio frequency hardware; the second reference data is determined according to the configuration of the second test port and the signal source instrument, and the third reference data is determined according to the configuration of the third test port and the signal source instrument.

In a third aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the detection method for radio frequency hardware according to any one of the first aspect.

In a fourth aspect of the embodiments of the present disclosure, an electronic device is provided, including:

the computer-readable storage medium of the third aspect; and

one or more processors to execute the computer program in the computer-readable storage medium.

The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:

after the configured signal source instrument is connected with a first detection port of the radio frequency hardware, configuring the radio frequency hardware by using software programming; after an output switch of the signal source instrument is turned on and the configured radio frequency hardware is started, sampling and analyzing a first test signal output by the radio frequency hardware by using the preset sampling tool and the preset analyzing tool so as to determine a real part and an imaginary part of the first test signal; determining whether the radio frequency hardware has a fault by comparing a real part and an imaginary part of the first test signal with first reference data; when the radio frequency hardware has a fault, the signal source instrument is sequentially connected with a second detection port and a third detection port of the radio frequency hardware, the preset sampling tool and the preset analysis tool are repeated, a first test signal output by the radio frequency hardware is sampled and analyzed, so that the real part and the imaginary part of the first test signal are determined, and the step of determining whether the radio frequency hardware has the fault is performed by comparing the real part and the imaginary part of the first test signal with first reference data until the fault position of the radio frequency hardware is determined. Therefore, the method can use a software programming mode to cooperate with a signal source instrument to verify and locate the fault of the radio frequency hardware receiving channel, quickly and effectively verify the usability and the fault location of the radio frequency hardware receiving channel, does not need a baseband platform and a version, can solidify a detection flow, does not need complicated professional operation and knowledge skills, further simplifies the operation, saves resources and reduces the detection cost.

Additional features and advantages of the disclosure will be set forth in the detailed description which follows.

Drawings

The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure without limiting the disclosure. In the drawings:

FIG. 1 is a flow chart illustrating a method of detection of radio frequency hardware in accordance with an exemplary embodiment;

FIG. 2 is a flow diagram illustrating another method of detection of radio frequency hardware in accordance with an exemplary embodiment;

FIG. 3 is a flow chart illustrating yet another method of detection of radio frequency hardware in accordance with an exemplary embodiment;

FIG. 4 is a flow chart illustrating yet another method of detection of radio frequency hardware in accordance with an exemplary embodiment;

FIG. 5 is a flow chart illustrating yet another method of detection of radio frequency hardware in accordance with an exemplary embodiment;

FIG. 6 is a flow chart illustrating yet another method of detection of radio frequency hardware in accordance with an exemplary embodiment;

FIG. 7 is a block diagram illustrating a detection arrangement for radio frequency hardware in accordance with an exemplary embodiment;

FIG. 8 is a block diagram illustrating a signal determination module in accordance with an exemplary embodiment;

FIG. 9 is a block diagram illustrating a repeat execution module in accordance with an exemplary embodiment;

FIG. 10 is a block diagram illustrating an electronic device in accordance with an example embodiment.

Detailed Description

The following detailed description of specific embodiments of the present disclosure is provided in connection with the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present disclosure, are given by way of illustration and explanation only, not limitation.

Fig. 1 is a flow chart illustrating a method for detecting radio frequency hardware, according to an exemplary embodiment, as shown in fig. 1, the method comprising the steps of:

step 101, after the configured signal source instrument is connected with a first detection port of the radio frequency hardware, configuring the radio frequency hardware by using software programming.

Illustratively, after the configuration of the signal source instrument is completed, the output signal port of the signal source is connected with the first detection port of the radio frequency hardware, that is, the receiving antenna port of the radio frequency hardware, or the receiving antenna port of the whole mobile terminal. If the radio frequency hardware is configured first and then the radio frequency hardware is connected with the signal source instrument, a fault may be caused by the live connection operation, and in order to ensure safety, it is preferable to connect the radio frequency hardware when the radio frequency hardware is not powered on, and then configure the radio frequency hardware and start the power-on operation.

Step 102, after an output switch of the signal source instrument is turned on and the configured radio frequency hardware is started, a first test signal output by the radio frequency hardware is sampled and analyzed by using a preset sampling tool and an analysis tool so as to determine a real part and an imaginary part of the first test signal.

The sampling tool comprises a Trace tool, a vivado tool and a logic analyzer tool; the analysis tool comprises: matlab software and C + + software.

For example, since the signals are all real signals in the actual transmission process, for the convenience of digital signal processing, complex signals are adopted at the receiving end, that is, the signals in the transmission process need to be processed into baseband complex signals (i (t) + jq (t)), and then a complex exponential carrier signal is multiplied as the transmitted modulated complex signal, so that the receiving end also processes the received signals into complex signals. Compared with complex signals, the I-path signal and the Q-path signal can more intuitively and clearly express the signal characteristics by using an analysis tool by using a method of separating complex signals, so that the processing is convenient; meanwhile, as the I path signal and the Q path signal of the complex signal are used as orthogonal signals, the mutual interference cannot be caused, and for a single carrier signal of an external information source, a single path signal can well represent the characteristics of an original signal and can also be used for analyzing only one path signal; and if a certain section of data of a certain path of signal is abnormal, the judgment can be carried out by analyzing the waveform condition of the signal at the time point corresponding to the other path of signal. In addition, if the external source adopts a modulation signal, whether the signal is abnormal is not easy to see in the time domain, and whether the modulation wave is normal can be roughly judged through experience according to the waveform of the I/Q in the time domain, so that the judgment operation is simplified.

Step 103, comparing the real part and the imaginary part of the first test signal with the first reference data, and determining whether the radio frequency hardware has a fault.

Illustratively, the first reference data is a standard signal when the signal source instrument is connected to the first detection port of the rf hardware, and is determined under the conditions of fixed signal source instrument output signal strength and receiving gain after the rf hardware has completed configuration, and ensuring the amplitude, phase, frequency spectrum and real-domain waveform of the output signal of the signal source instrument, for example, according to factory specifications and reference documents of the rf hardware, or by using an empirical value.

And step 104, when the radio frequency hardware has a fault, connecting the signal source instrument with the second detection port and the third detection port of the radio frequency hardware in sequence, and repeating the operations from the step 102 to the step 103 until the fault position of the radio frequency hardware is determined.

Illustratively, after determining that the radio frequency hardware has a fault according to the operations of steps 101 to 103, this step locates the specific location of the fault in the radio frequency hardware by connecting the second detection port and the third detection port in sequence.

And the second detection port is positioned behind an antenna switch of a receiving channel of the radio frequency hardware, and the third detection port is positioned behind a filter of the receiving channel of the radio frequency hardware, so that the fault is positioned according to the comparison result in sequence.

In summary, according to the detection method for the radio frequency hardware provided by the present disclosure, after the configured signal source instrument is connected to the first detection port of the radio frequency hardware, the radio frequency hardware is configured by using software programming; after an output switch of a signal source instrument is turned on and radio frequency hardware which is configured is started, sampling and analyzing a first test signal output by the radio frequency hardware by using a preset sampling tool and an analyzing tool so as to determine a real part and an imaginary part of the first test signal; determining whether the radio frequency hardware has a fault by comparing a real part and an imaginary part of the first test signal with first reference data; when the radio frequency hardware has a fault, the signal source instrument is sequentially connected with the second detection port and the third detection port of the radio frequency hardware, and the signal acquisition and comparison steps are repeated until the fault position of the radio frequency hardware is determined. Therefore, the software programming mode is matched with the signal source instrument to verify and locate the radio frequency hardware receiving channel, the usability and the fault location of the radio frequency hardware receiving channel can be quickly and effectively verified, a baseband platform and a version are not needed, the detection flow can be solidified, complex professional operation and knowledge skills are not needed, the operation is simplified, resources are saved, and the detection cost is reduced.

Fig. 2 is a flow chart illustrating another method for detecting rf hardware according to an exemplary embodiment, where the method further includes:

and 105, configuring the receiving signal frequency, the receiving signal strength, the receiving data type, the output port and the switch of the radio frequency signal of the signal source instrument to realize the configured signal source instrument.

Illustratively, The received signal frequency may be any frequency within The 3GPP (english: The 3rd generation partnership project, chinese: third generation partnership project), and The received data type may be a single carrier signal sent by The signal source instrument, or may be a certain modulation signal in a certain system loaded by The signal source instrument.

Fig. 3 is a flowchart illustrating a method for detecting radio frequency hardware according to an exemplary embodiment, where as shown in fig. 3, after the configured signal source meter is connected to the first detection port of the radio frequency hardware, the configuring of the radio frequency hardware by using software programming in step 101 includes the following steps:

step 1011, configuring the starting system parameters of the radio frequency hardware.

The starting system parameter comprises at least one of power supply of radio frequency hardware, clock, software address mapping, hardware address mapping, data channel, bus control and signal control corresponding to a pin.

Generally, a radio frequency hardware daughter board of a path to be tested is installed on an EVB (Edge virtual bridging, chinese) or FPGA (Field Programmable Gate Array, chinese) platform, a communication system can be functionally divided into a baseband part and a radio frequency part, and a precondition for testing the radio frequency hardware path is that the whole system can normally operate, so that it is necessary to configure parameters of a start-up system first. In addition, if a baseband platform and a baseband version exist, the software configuration at the moment is to directly load the baseband version, and the baseband can work.

Step 1012, initializing the rf hardware that completes the configuration of the startup system parameters.

For example, the initialization configuration may be implemented by a GPO (english: chinese: national Office release) standard protocol or an SPI (Serial Peripheral Interface) standard protocol, which includes initializing all hardware registers and configuring a PLL (phase locked loop or phase locked loop), calibrating hardware, and the like, executing to an idle state sequence according to the initialized state of the hardware, and configuring the hardware to an idle state, where the sequence is provided by a radio frequency vendor.

And step 1013, configuring the working state of the initialized radio frequency hardware.

Exemplarily, the configuration of the working state includes configuring a control signal/pin and a data Interface register for transmission/reception through a GPO standard protocol or an SPI standard protocol, and configuring a transmit/receive antenna switch through a GPO standard protocol or an MIPI (mobile industry Processor Interface) standard protocol, so that the antenna switch executes an idle state to receive state sequence or an idle state to transmit state sequence, that is, the hardware to be tested is in a normal receive/normal transmit state, which is also provided by a radio frequency vendor.

Fig. 4 is a flowchart illustrating a method for detecting radio frequency hardware according to an exemplary embodiment, where after an output switch of a signal source meter is turned on and the configured radio frequency hardware is started, as shown in fig. 4, step 102 includes sampling and analyzing a first test signal output by the radio frequency hardware by using a preset sampling tool and an analyzing tool to determine a real part and an imaginary part of the first test signal, and includes the following steps:

and step 1021, after an output switch of the signal source instrument is turned on and the radio frequency hardware is started, acquiring and storing a first test signal through the sampling tool.

Illustratively, the output data of the radio frequency hardware is sampled using a Trace tool, a vivado tool, or a logic analyzer tool and stored as a first test signal for data analysis in step 1022 below.

At step 1022, a programming analysis is performed on the first test signal using an analytical tool to determine real and imaginary components of the first test signal.

Illustratively, the programming analysis is performed on the first test signal stored in step 1021 by using Matlab software or C + + software, which mainly includes converting interface data formats according to different types of radio frequency chips, and processing data symbols and sizes, so as to separate a real part and an imaginary part of a complex signal as an I-path output signal and a Q-path output signal.

Fig. 5 is a flowchart illustrating a method for detecting radio frequency hardware according to an exemplary embodiment, where as shown in fig. 5, step 103 is to determine whether the radio frequency hardware has a fault by comparing the real part and the imaginary part of the first test signal with the first reference data, that is, determining whether the real part and the imaginary part of the first test signal are consistent with the first reference data, and includes the following steps:

when the real part and the imaginary part of the first test signal are consistent with the first reference data, step 1031 is performed to determine that there is no fault in the radio frequency hardware.

When the real and imaginary parts of the first test signal are not consistent with the first reference data, step 1032 is performed to determine that the radio frequency hardware has a fault.

For example, when the real part and the imaginary part of the first test signal are consistent with the first reference data, that is, the ideal data, it can be stated that the receiving path of the radio frequency hardware or the hardware receiving path of the mobile terminal is normal, and the radio frequency hardware has no fault; otherwise, the following operation of step 104 is required to determine the fault location.

Fig. 6 is a flowchart illustrating a further method for detecting radio frequency hardware according to an exemplary embodiment, where as shown in fig. 6, when there is a failure in the radio frequency hardware, step 104 connects a signal source meter to a second detection port and a third detection port of the radio frequency hardware in sequence, and repeats the operations of steps 102 to 103 until the failure location of the radio frequency hardware is determined, including the following steps:

step 1040, after the signal source instrument is connected to the second detection port, determining a real part and an imaginary part of the second test signal output by the radio frequency hardware.

Step 1041, comparing the real part and the imaginary part of the second test signal with the second reference data.

In step 1042, it is determined whether the real part and the imaginary part of the second test signal are consistent with the second reference data.

When the real and imaginary parts of the second test signal are consistent with the second reference data, step 1043 is performed to determine that there is a failure in the antenna switch of the radio frequency hardware.

And when the real part and the imaginary part of the second test signal are inconsistent with the second reference data, executing step 1044, and connecting the signal source instrument with the third detection port.

Step 1045, after the signal source instrument is connected to the third detection port, determining a real part and an imaginary part of a third test signal output by the radio frequency hardware.

Step 1046, comparing the real and imaginary parts of the third test signal with the third reference data.

Step 1047, determine whether the real part and imaginary part of the third test signal are consistent with the third reference data.

When the real and imaginary parts of the third test signal are consistent with the third reference data, step 1048 is performed to determine that the filter of the radio frequency hardware is faulty.

When the real part and the imaginary part of the third test signal are not consistent with the third reference data, step 1049 is executed to determine that the radio frequency chip of the radio frequency hardware has a fault.

And the second reference data is determined according to the configuration of the second test port and the signal source instrument, and the third reference data is determined according to the configuration of the third test port and the signal source instrument.

Illustratively, through the operations of steps 1040-1049 described above, the test signals are compared in sequence to locate the fault.

In addition, when step 1049 is executed, that is, it is determined that the fault is located in the radio frequency chip, the specific fault location of the radio frequency chip may be further determined by configuring pins inside the chip by the above-mentioned method.

Therefore, through the content of the embodiment of the disclosure, the detection and fault location of the receiving channel of the radio frequency hardware can be completed, the terminal function abnormity caused by the radio frequency function abnormity can be avoided in advance, and the operation steps only need to be configured once for the radio frequency chips of the same model, and the software programming only needs to be modified once, and then the method can be applied to the radio frequency chips of the same type, does not need to be subsequently modified, is simple to operate, has a fixed flow, can save manpower and material resources, reduces the cost, and improves the operation reliability and the detection efficiency of the mobile terminal.

In summary, according to the detection method for the radio frequency hardware provided by the present disclosure, after the configured signal source instrument is connected to the first detection port of the radio frequency hardware, the radio frequency hardware is configured by using software programming; after an output switch of a signal source instrument is turned on and radio frequency hardware which is configured is started, sampling and analyzing a first test signal output by the radio frequency hardware by using a preset sampling tool and an analyzing tool so as to determine a real part and an imaginary part of the first test signal; determining whether the radio frequency hardware has a fault by comparing a real part and an imaginary part of the first test signal with first reference data; when the radio frequency hardware has a fault, the signal source instrument is sequentially connected with the second detection port and the third detection port of the radio frequency hardware, and the signal acquisition and comparison steps are repeated until the fault position of the radio frequency hardware is determined. Therefore, the method can use a software programming mode to cooperate with a signal source instrument to verify and locate the fault of the radio frequency hardware receiving channel, quickly and effectively verify the usability and the fault location of the radio frequency hardware receiving channel, does not need a baseband platform and a version, can solidify a detection flow, does not need complicated professional operation and knowledge skills, further simplifies the operation, saves resources and reduces the detection cost.

Fig. 7 is a block diagram illustrating an apparatus for detecting rf hardware according to an exemplary embodiment, such as that shown in fig. 7, for implementing any of the embodiments described above with reference to fig. 1-6, the apparatus 700 including:

the configuration module 710 is configured to configure the radio frequency hardware by using software programming after the configured signal source instrument is connected to the first detection port of the radio frequency hardware.

And a signal determining module 720, configured to, after the output switch of the signal source instrument is turned on and the configured radio frequency hardware is started, sample and analyze the first test signal output by the radio frequency hardware by using a preset sampling tool and an analyzing tool, so as to determine a real part and an imaginary part of the first test signal.

And a fault determining module 730, configured to determine whether the radio frequency hardware has a fault by comparing the real part and the imaginary part of the first test signal with the first reference data.

The repeated execution module 740 is configured to, when the radio frequency hardware has a fault, sequentially connect the signal source instrument with the second detection port and the third detection port of the radio frequency hardware, and repeatedly sample and analyze the first test signal output by the radio frequency hardware through a preset sampling tool and an analysis tool to determine a real part and an imaginary part of the first test signal, and determine whether the radio frequency hardware has a fault by comparing the real part and the imaginary part of the first test signal with the first reference data until a fault location of the radio frequency hardware is determined.

Optionally, the configuration module 710 is further configured to configure the received signal frequency, the received signal strength, the received data type, the output port, and the switch of the radio frequency signal of the signal source instrument, so as to implement the configured signal source instrument.

Optionally, the first detection port is a receiving antenna port of the radio frequency hardware, and the configuration module 710 is configured to:

configuring starting system parameters of the radio frequency hardware, wherein the starting system parameters comprise at least one of power supply, clock, software address mapping, hardware address mapping, data channel, bus control and signal control corresponding to pins of the radio frequency hardware;

initializing the radio frequency hardware which finishes the configuration of the starting system parameters;

and configuring the working state of the radio frequency hardware after the initialization is finished.

Fig. 8 is a block diagram illustrating a signal determination module according to an exemplary embodiment, and as shown in fig. 8, the signal determination module 720 includes:

the signal obtaining sub-module 721 is configured to obtain and store the first test signal through the sampling tool after the output switch of the signal source instrument is turned on and the radio frequency hardware is started.

The signal determining submodule 722 is configured to perform a programming analysis on the first test signal using an analytical tool to determine real and imaginary components of the first test signal.

Optionally, the failure determining module 730 is configured to:

determining that the radio frequency hardware is free of faults when the real part and the imaginary part of the first test signal are consistent with the first reference data;

determining that the radio frequency hardware is faulty when the real and imaginary parts of the first test signal are inconsistent with the first reference data.

Fig. 9 is a block diagram illustrating a repeat execution module according to an exemplary embodiment, and as shown in fig. 9, the repeat execution module 740 includes:

and the determining submodule 741 is configured to determine a real part and an imaginary part of the second test signal output by the radio frequency hardware after the signal source instrument is connected to the second detection port.

A comparison submodule 742 is used for comparing the real part and the imaginary part of the second test signal with the second reference data.

A fault determining submodule 743 for determining that the antenna switch of the radio frequency hardware is faulty when the real part and the imaginary part of the second test signal are consistent with the second reference data.

And a fault determining submodule 743, further configured to connect the signal source meter with the third detection port when the real part and the imaginary part of the second test signal are inconsistent with the second reference data.

The determining sub-module 741, further configured to determine a real part and an imaginary part of a third test signal output by the radio frequency hardware after the signal source instrument is connected to the third detection port.

A comparison submodule 742 is used for comparing the real part and the imaginary part of the third test signal with the third reference data.

The fault determining submodule 743 is further configured to determine that the filter of the radio frequency hardware has a fault when the real part and the imaginary part of the third test signal are consistent with the third reference data.

The failure determining submodule 743 is further configured to determine that the radio frequency chip of the radio frequency hardware has a failure when the real part and the imaginary part of the third test signal are inconsistent with the third reference data.

The second detection port is positioned behind an antenna switch of a receiving channel of the radio frequency hardware, and the third detection port is positioned behind a filter of the receiving channel of the radio frequency hardware; the second reference data is determined according to the configuration of the second test port and the signal source meter, and the third reference data is determined according to the configuration of the third test port and the signal source meter.

In summary, according to the detection apparatus for radio frequency hardware provided by the present disclosure, after the configured signal source instrument is connected to the first detection port of the radio frequency hardware, the radio frequency hardware is configured by using software programming; after an output switch of a signal source instrument is turned on and radio frequency hardware which is configured is started, sampling and analyzing a first test signal output by the radio frequency hardware by using a preset sampling tool and an analyzing tool so as to determine a real part and an imaginary part of the first test signal; determining whether the radio frequency hardware has a fault by comparing a real part and an imaginary part of the first test signal with first reference data; when the radio frequency hardware has a fault, the signal source instrument is sequentially connected with the second detection port and the third detection port of the radio frequency hardware, and the signal acquisition and comparison steps are repeated until the fault position of the radio frequency hardware is determined. Therefore, the method can use a software programming mode to cooperate with a signal source instrument to verify and locate the fault of the radio frequency hardware receiving channel, quickly and effectively verify the usability and the fault location of the radio frequency hardware receiving channel, does not need a baseband platform and a version, can solidify a detection flow, does not need complicated professional operation and knowledge skills, further simplifies the operation, saves resources and reduces the detection cost.

With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.

Fig. 10 is a block diagram illustrating an electronic device 1000 in accordance with an example embodiment. As shown in fig. 10, the electronic device 1000 may include: a processor 1001 and a memory 1002. The electronic device 1000 may also include one or more of a multimedia component 1003, an input/output (I/O) interface 1004, and a communications component 1005.

The processor 1001 is configured to control the overall operation of the electronic device 1000, so as to complete all or part of the steps in the above-mentioned detection method for the radio frequency hardware. The memory 1002 is used to store various types of data to support operation of the electronic device 1000, such as instructions for any application or method operating on the electronic device 1000, and application-related data, such as real and imaginary components of acquired complex signals, for storage analysis, comparison with reference data, and so forth. Based on this, the processor 1001 may utilize the stored test signals in the Memory 1002 to execute the steps in the above-mentioned detection method of the rf hardware, and the Memory 1002 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk or optical disk. The electronic device 1000 may obtain the test signal sent by the signal source instrument through the communication component 1605, and convert the test signal to facilitate further comparison and judgment. In addition, the test signal and the first reference data, the second reference data, and the third reference data compared with the test signal may also be acquired from the memory 1002 of the electronic device, so that the processor 1001 may directly determine whether the radio frequency hardware has a fault and locate the fault. The multimedia components 1003 may include screen and audio components. Wherein the screen may be, for example, a touch screen and the audio component is used for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signals may further be stored in memory 1002 or transmitted through communication component 1005. The audio assembly also includes at least one speaker for outputting audio signals. The I/O interface 1004 provides an interface between the processor 1001 and other interface modules, such as a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 1005 is used for wired or wireless communication between the electronic device 1000 and other devices. Wireless Communication, such as Wi-Fi, bluetooth, Near Field Communication (NFC), 2G, 3G, or 4G, or a combination of one or more of them, so that the corresponding Communication component 1005 may include: Wi-Fi module, bluetooth module, NFC module.

In an exemplary embodiment, the electronic Device 1000 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components, and is used for executing the above-mentioned detection method of the rf hardware.

In another exemplary embodiment, a computer readable storage medium comprising program instructions which, when executed by a processor, implement the steps of the above-described method for detection of radio frequency hardware is also provided. For example, the computer readable storage medium may be the memory 1002 comprising program instructions executable by the processor 1001 of the electronic device 1000 to perform the above-described detection method for the rf hardware.

The preferred embodiments of the present disclosure are described in detail with reference to the accompanying drawings, however, the present disclosure is not limited to the specific details of the above embodiments, and various simple modifications may be made to the technical solution of the present disclosure within the technical idea of the present disclosure, and these simple modifications all belong to the protection scope of the present disclosure.

It should be noted that the various features described in the above embodiments may be combined in any suitable manner without departing from the scope of the invention. In order to avoid unnecessary repetition, various possible combinations will not be separately described in this disclosure.

In addition, any combination of various embodiments of the present disclosure may be made, and the same should be considered as the disclosure of the present disclosure, as long as it does not depart from the spirit of the present disclosure.

22页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种存在智能干扰的频谱感知时间优化方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!