CN106211228B - Communication module abnormity detection method and device and mobile terminal - Google Patents
Communication module abnormity detection method and device and mobile terminal Download PDFInfo
- Publication number
- CN106211228B CN106211228B CN201610809679.8A CN201610809679A CN106211228B CN 106211228 B CN106211228 B CN 106211228B CN 201610809679 A CN201610809679 A CN 201610809679A CN 106211228 B CN106211228 B CN 106211228B
- Authority
- CN
- China
- Prior art keywords
- communication module
- adc value
- analog
- digital conversion
- conversion adc
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/04—Arrangements for maintaining operational condition
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Monitoring And Testing Of Transmission In General (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
技术领域technical field
本发明涉及通信领域,特别是涉及一种通信模块异常检测方法及装置、移动终端。The present invention relates to the field of communications, and in particular, to a method and device for detecting abnormality of a communication module, and a mobile terminal.
背景技术Background technique
通信模块是通信设备中不可缺少的模块,其包括GSM通信模块、Wi-Fi通信模块和ZigBee通信模块等等。为了让用户得到更好的通信质量,通信设备在出厂前均需要对其内的通信模块进行异常测试,检测通信模块发射射频信号的功率值大小能否满足需求是异常测试中一项较为重要的内容。The communication module is an indispensable module in a communication device, which includes a GSM communication module, a Wi-Fi communication module, a ZigBee communication module, and the like. In order to allow users to get better communication quality, the communication equipment needs to be tested for abnormality of the communication module inside it before leaving the factory. It is an important part of the abnormality test to detect whether the power value of the radio frequency signal transmitted by the communication module can meet the requirements. content.
在现有的检测通信模块发射射频信号功率值大小的过程中,例如在Wi-Fi 通信模块中,Wi-Fi芯片的射频输出端发射一定功率大小的射频信号。耦合器将按比例耦合部分射频信号,并经过滤波处理后形成模拟电压信号。理论上通过将模拟电压信号与正常电压信号进行比对即可知道Wi-Fi通信模块发射的射频信号的功率值是否异常。然而,在实际测试过程中,由于存在噪声波纹干扰、正常电压信号与异常电压信号差别不大等原因,测试人员很难识别出异常信号,这就使得测试人员很难找到出现异常的原因,给测试带来极大的不便。In the existing process of detecting the power value of the radio frequency signal transmitted by the communication module, for example, in the Wi-Fi communication module, the radio frequency output end of the Wi-Fi chip transmits the radio frequency signal of a certain power. The coupler will proportionally couple a portion of the RF signal and filter it to form an analog voltage signal. In theory, by comparing the analog voltage signal with the normal voltage signal, it can be known whether the power value of the radio frequency signal transmitted by the Wi-Fi communication module is abnormal. However, in the actual test process, it is difficult for the tester to identify the abnormal signal due to noise ripple interference, the difference between the normal voltage signal and the abnormal voltage signal is not large, etc. The test brings great inconvenience.
发明内容SUMMARY OF THE INVENTION
本发明提供一种通信模块异常检测方法及装置、移动终端,以解决现有的检测方法中因肉眼无法识别异常信号而导致无法找到出现异常的原因等技术问题。The present invention provides a method and device for detecting abnormality of a communication module, and a mobile terminal, so as to solve the technical problems such as the inability to find the cause of the abnormality because the abnormal signal cannot be recognized by the naked eye in the existing detection method.
本发明提供一种通信模块异常检测方法,其包括:The present invention provides a communication module abnormality detection method, which includes:
获取射频输出端发射的射频信号,根据所述射频信号计算模数转换ADC 值;Obtain the radio frequency signal emitted by the radio frequency output end, and calculate the analog-to-digital conversion ADC value according to the radio frequency signal;
获取与所述通信模块的工作模式相对应的预设模数转换ADC值范围,其中所述工作模式包括无线传输标准协议和传输速率;acquiring a preset analog-to-digital conversion ADC value range corresponding to a working mode of the communication module, wherein the working mode includes a wireless transmission standard protocol and a transmission rate;
判断所述模数转换ADC值是否处于所述预设模数转换ADC值范围内;determining whether the analog-to-digital conversion ADC value is within the preset analog-to-digital conversion ADC value range;
若所述模数转换ADC值未处于所述预设模数转换ADC值范围,则发出异常提示信息。If the analog-to-digital conversion ADC value is not within the preset analog-to-digital conversion ADC value range, an abnormality prompt message is sent.
本发明还提供一种通信模块异常检测装置,其包括:The present invention also provides a communication module abnormality detection device, which includes:
获取计算单元,用于获取射频输出端发射的射频信号,根据所述射频信号计算模数转换ADC值;an acquisition and calculation unit, configured to acquire the radio frequency signal transmitted by the radio frequency output end, and calculate the analog-to-digital conversion ADC value according to the radio frequency signal;
获取单元,用于获取与所述通信模块的工作模式相对应的预设模数转换 ADC值范围,其中所述工作模式包括无线传输标准协议和传输速率;an acquisition unit, configured to acquire a preset analog-to-digital conversion ADC value range corresponding to a working mode of the communication module, wherein the working mode includes a wireless transmission standard protocol and a transmission rate;
判断单元,用于判断所述模数转换ADC值是否处于所述预设模数转换 ADC值范围内;a judgment unit, configured to judge whether the analog-to-digital conversion ADC value is within the preset analog-to-digital conversion ADC value range;
提示单元,用于若所述模数转换ADC值未处于所述预设模数转换ADC值范围,则发出异常提示信息。A prompting unit, configured to issue abnormal prompt information if the analog-to-digital conversion ADC value is not within the preset analog-to-digital conversion ADC value range.
本发明又提供一种移动终端,该移动终端采用本发明提供的通信模块异常检测装置。The present invention further provides a mobile terminal, which adopts the communication module abnormality detection device provided by the present invention.
相比于现有技术,本发明提供一种通信模块异常检测方法及装置、移动终端。该通信模块异常检测方法通过获取射频输出端发射的射频信号,根据射频信号计算模数转换ADC值,并获取与通信模块的工作模式相对应的预设模数转换ADC值范围;若判断出模数转换ADC值未处于预设模数转换ADC值范围内,则说明该通信模块处于异常状态,此时发出异常提示信息,便于测试人员对产生异常状态的原因进行分析判断,提高了测试人员检测通信模块的效率。Compared with the prior art, the present invention provides a method and device for detecting abnormality of a communication module, and a mobile terminal. The communication module abnormality detection method obtains the radio frequency signal emitted by the radio frequency output end, calculates the analog-to-digital conversion ADC value according to the radio frequency signal, and obtains the preset analog-to-digital conversion ADC value range corresponding to the working mode of the communication module; If the digital conversion ADC value is not within the preset analog-to-digital conversion ADC value range, it means that the communication module is in an abnormal state. At this time, an abnormal prompt message is issued, which is convenient for the tester to analyze and judge the cause of the abnormal state, and improves the tester's detection. Efficiency of the communication module.
附图说明Description of drawings
图1为本发明的通信模块异常检测方法的第一优选实施例的流程图。FIG. 1 is a flowchart of a first preferred embodiment of a method for detecting abnormality of a communication module according to the present invention.
图2为本发明的通信模块异常检测方法的第二优选实施例的流程图。FIG. 2 is a flowchart of a second preferred embodiment of the method for detecting abnormality of a communication module according to the present invention.
图3为本发明的通信模块异常检测装置的第一优选实施例的结构示意图。FIG. 3 is a schematic structural diagram of the first preferred embodiment of the device for detecting abnormality of a communication module according to the present invention.
图4为本发明的通信模块异常检测装置的第二优选实施例的结构示意图。FIG. 4 is a schematic structural diagram of a second preferred embodiment of the apparatus for detecting abnormality of a communication module according to the present invention.
图5为本发明的移动终端的结构示意图。FIG. 5 is a schematic structural diagram of a mobile terminal of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts shall fall within the protection scope of the present invention.
本发明中的术语“第一”、“第二”等可在本文中用于描述各种元件,但这些元件不受这些术语限制。这些术语仅用于将第一个元件与另一个元件区分。例如,在不脱离本发明的范围的情况下,可以将第一控件称为第二控件,且类似地,可将第二控件称为第一控件。第一控件与第二控件两者都是控件,但其不是同一控件。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", etc. in the present invention may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, a first control could be termed a second control, and, similarly, a second control could be termed a first control, without departing from the scope of the present invention. Both the first control and the second control are controls, but they are not the same control. Furthermore, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally also includes For other steps or units inherent to these processes, methods, products or devices.
实施例一Example 1
请参照图1,图1为本发明的通信模块异常检测方法的第一优选实施例的流程图。本发明的通信模块可以应用在笔记本、平板电脑、手机、可穿戴设备等需要通信功能的电子设备上,在此不做具体限制。Please refer to FIG. 1 , which is a flowchart of a first preferred embodiment of a method for detecting abnormality of a communication module of the present invention. The communication module of the present invention can be applied to electronic devices such as notebooks, tablet computers, mobile phones, and wearable devices that require communication functions, which are not specifically limited herein.
本实施例中的通信模块异常检测方法包括:The communication module abnormality detection method in this embodiment includes:
步骤S101:获取射频输出端发射的射频信号,根据所述射频信号计算模数转换ADC值;Step S101: acquiring the radio frequency signal transmitted by the radio frequency output terminal, and calculating an analog-to-digital conversion ADC value according to the radio frequency signal;
步骤S102:获取与所述通信模块的工作模式相对应的预设模数转换ADC 值范围,其中所述工作模式包括无线传输标准协议和传输速率;Step S102: Obtain a preset analog-to-digital conversion ADC value range corresponding to a working mode of the communication module, wherein the working mode includes a wireless transmission standard protocol and a transmission rate;
步骤S103:判断所述模数转换ADC值是否处于所述预设模数转换ADC值范围内;Step S103: judging whether the analog-to-digital conversion ADC value is within the preset analog-to-digital conversion ADC value range;
步骤S104:若所述模数转换ADC值未处于所述预设模数转换ADC值范围,则发出异常提示信息。Step S104: If the analog-to-digital conversion ADC value is not within the preset analog-to-digital conversion ADC value range, send an abnormality prompt message.
下面将结合图1对本实施例中的通信模块异常检测方法进行详细地说明。在以下说明中,将以Wi-Fi通信模块为例进行说明,可以理解的是,该通信模块异常检测方法也可以应用在其他种类的通信模块中。Wi-Fi通信模块不能用于限制本发明的适用范围。The method for detecting abnormality of a communication module in this embodiment will be described in detail below with reference to FIG. 1 . In the following description, a Wi-Fi communication module will be used as an example for description, and it can be understood that the method for detecting abnormality of a communication module can also be applied to other types of communication modules. The Wi-Fi communication module cannot be used to limit the scope of application of the present invention.
在步骤S101中,当开始检测Wi-Fi通信模块时,外部设备将向Wi-Fi通信模块发送指令,使得Wi-Fi通信模块根据该指令发射相应功率大小的射频信号。具体地,Wi-Fi芯片的射频输出端将发射相应功率大小的射频信号。该射频信号通过耦合器传递至检波器中。在此,耦合器可以将射频信号完全耦合,也可以按照一定的比例耦合一部分功率的射频信号,在此不做具体限制。In step S101, when starting to detect the Wi-Fi communication module, the external device will send an instruction to the Wi-Fi communication module, so that the Wi-Fi communication module transmits a radio frequency signal with a corresponding power according to the instruction. Specifically, the radio frequency output end of the Wi-Fi chip will transmit radio frequency signals of corresponding power. The radio frequency signal is passed to the detector through the coupler. Here, the coupler can completely couple the radio frequency signal, or can couple a part of the power radio frequency signal according to a certain ratio, which is not specifically limited here.
当检波器接收到耦合器耦合的射频信号后,将对该射频信号进行检波处理,将高频的射频信号转换为低频的基带信号,并将该低频的基带信号传递给模数转换器,其中该低频的基带信号为模拟信号。After the detector receives the radio frequency signal coupled by the coupler, it will perform detection processing on the radio frequency signal, convert the high frequency radio frequency signal into a low frequency baseband signal, and transmit the low frequency baseband signal to the analog-to-digital converter, wherein The low-frequency baseband signal is an analog signal.
模数转换器接收到该低频的基带信号后,将该模拟的基带信号转换成相应的数字信号。同时计算出与该数字信号相对应的模数转换ADC值,即计算出与Wi-Fi芯片射频输出端输出的射频信号相对应的模数转换ADC值。可以理解的是,模数转换ADC值是模数转换器(Analog to Digital Converter,简称ADC) 输出的数值。After receiving the low-frequency baseband signal, the analog-to-digital converter converts the analog baseband signal into a corresponding digital signal. At the same time, the analog-to-digital conversion ADC value corresponding to the digital signal is calculated, that is, the analog-to-digital conversion ADC value corresponding to the radio frequency signal output by the radio frequency output terminal of the Wi-Fi chip is calculated. It can be understood that the analog-to-digital conversion ADC value is a value output by an analog-to-digital converter (Analog to Digital Converter, ADC for short).
在步骤S102中,当模数转换器计算出模数转换ADC值后,将该模数转换 ADC值传递给通信设备内的处理芯片。同时,处理芯片将获取与Wi-Fi通信模块的工作模式相对应的预设模数转换ADC值范围。在此需要说明的是,Wi-Fi 通信模块的工作模式包括无线传输标准协议和传输速率。例如,Wi-Fi通信模块采用802.11g的无线传输标准协议和54Mb/s的传输速率的工作模式。In step S102, after the analog-to-digital converter calculates the analog-to-digital converted ADC value, the analog-to-digital converted ADC value is transmitted to the processing chip in the communication device. At the same time, the processing chip will acquire the preset analog-to-digital conversion ADC value range corresponding to the working mode of the Wi-Fi communication module. It should be noted here that the working mode of the Wi-Fi communication module includes wireless transmission standard protocols and transmission rates. For example, the Wi-Fi communication module adopts the wireless transmission standard protocol of 802.11g and the working mode of the transmission rate of 54Mb/s.
由于Wi-Fi通信模块处于不同的工作模式时,其预设模数转换ADC值范围不同,因此在通信设备的存储器内会存放与Wi-Fi通信模块的每种工作模式相对应的预设模数转换ADC值范围。当处理芯片获取到模数转换ADC值后,先获取Wi-Fi通信模块当前的工作模式,再根据该Wi-Fi通信模块当前的工作模式从存储器内读取相应的预设模数转换ADC值范围。需要说明的是,步骤S101 和步骤S102之间并无明确的先后顺序,先执行步骤S102,再执行步骤S101亦可,在此不做具体限制。Because the preset analog-to-digital conversion ADC value range of the Wi-Fi communication module is different when it is in different working modes, the preset analog-to-digital conversion ADC value range corresponding to each working mode of the Wi-Fi communication module is stored in the memory of the communication device. Digital conversion ADC value range. After the processing chip obtains the analog-to-digital conversion ADC value, it first obtains the current working mode of the Wi-Fi communication module, and then reads the corresponding preset analog-to-digital conversion ADC value from the memory according to the current working mode of the Wi-Fi communication module. scope. It should be noted that, there is no clear sequence between step S101 and step S102, and step S102 may be performed first, and then step S101 may be performed, which is not specifically limited here.
在步骤S103和步骤S104中,处理芯片将判断该模数转换ADC值是否处于预设模数转换ADC值范围内。若处理芯片判断出该模数转换ADC值处于预设模数转换ADC值范围内,则说明该Wi-Fi芯片所发射的射频信号的功率值大小与外部设备发射的指令中的指定功率值大小基本相同,即Wi-Fi通信模块在当前的工作模式下为正常状态,此时技术人员可以对下一个工作模式或下一个测试项进行检测。In steps S103 and S104, the processing chip will determine whether the analog-to-digital conversion ADC value is within the preset analog-to-digital conversion ADC value range. If the processing chip determines that the analog-to-digital conversion ADC value is within the preset analog-to-digital conversion ADC value range, it indicates the power value of the radio frequency signal transmitted by the Wi-Fi chip and the specified power value in the command sent by the external device. Basically the same, that is, the Wi-Fi communication module is in a normal state in the current working mode, and the technician can detect the next working mode or the next test item at this time.
若处理芯片判断出该模数转换ADC值未处于预设模数转换ADC值范围内,则说明该Wi-Fi芯片所发射的射频信号的功率值大小与外部设备发射的指令中的指定功率值大小偏差很大,即Wi-Fi通信模块在当前的工作模式下为异常状态,此时,通信设备将发出异常提示信息,以便于测试人员根据该异常提示信息对该工作模式下产生的异常原因进行分析并判断。If the processing chip determines that the analog-to-digital conversion ADC value is not within the preset analog-to-digital conversion ADC value range, it indicates the power value of the radio frequency signal transmitted by the Wi-Fi chip and the specified power value in the command sent by the external device. The size deviation is very large, that is, the Wi-Fi communication module is in an abnormal state in the current working mode. At this time, the communication device will send out abnormal prompt information, so that the tester can use the abnormal prompt information to the abnormal cause in the working mode. Analyze and judge.
本实施例中的通信模块异常检测方法,其通过获取射频输出端发射的射频信号,根据该射频信号计算模数转换ADC值。再获取与通信模块的工作模式相对应的预设模数转换ADC值范围,并判断该模数转换ADC值是否处于预设模数转换ADC值范围内。若该模数转换ADC值未处于预设模数转换ADC值范围,则发出异常提示信息,以便于测试人员根据该提示信息对该工作模式下的通信模块出现异常情况进行分析判断。In the method for detecting abnormality of a communication module in this embodiment, an analog-to-digital conversion ADC value is calculated according to the radio frequency signal by acquiring the radio frequency signal transmitted by the radio frequency output end. Then, a preset analog-to-digital conversion ADC value range corresponding to the working mode of the communication module is obtained, and it is determined whether the analog-to-digital conversion ADC value is within the preset analog-to-digital conversion ADC value range. If the analog-to-digital conversion ADC value is not within the preset analog-to-digital conversion ADC value range, an abnormal prompt message is sent, so that the tester can analyze and judge the abnormal situation of the communication module in the working mode according to the prompt message.
实施例二Embodiment 2
请参照图2,图2为本发明的通信模块异常检测方法的第二优选实施例的流程图。本发明的通信模块可以应用在笔记本、平板电脑、手机、可穿戴设备等需要通信功能的电子设备上,在此不做具体限制。Please refer to FIG. 2 , which is a flowchart of a second preferred embodiment of the method for detecting abnormality of a communication module of the present invention. The communication module of the present invention can be applied to electronic devices such as notebooks, tablet computers, mobile phones, and wearable devices that require communication functions, which are not specifically limited herein.
本实施例中的通信模块异常检测方法包括:The communication module abnormality detection method in this embodiment includes:
步骤S201:设置所述通信模块在每种工作模式下发射的所述射频信号的最大功率值和最小功率值;Step S201: setting the maximum power value and the minimum power value of the radio frequency signal transmitted by the communication module in each working mode;
步骤S202:根据校准文件获取所述最大功率值和最小功率值所对应的最大模数转换ADC值和最小模数转换ADC值;Step S202: obtaining the maximum analog-to-digital conversion ADC value and the minimum analog-to-digital conversion ADC value corresponding to the maximum power value and the minimum power value according to the calibration file;
步骤S203:存储所述最大模数转换ADC值和最小模数转换ADC值,其中,所述最大模数转换ADC值和最小模数转换ADC值为所述预设模数转换ADC 值范围的两个端点值;Step S203: Store the maximum analog-to-digital conversion ADC value and the minimum analog-to-digital conversion ADC value, wherein the maximum analog-to-digital conversion ADC value and the minimum analog-to-digital conversion ADC value are two of the preset analog-to-digital conversion ADC value range. endpoint value;
步骤S204:获取射频输出端发射的射频信号,根据所述射频信号计算模数转换ADC值;Step S204: acquiring the radio frequency signal transmitted by the radio frequency output end, and calculating an analog-to-digital conversion ADC value according to the radio frequency signal;
步骤S205:获取与所述通信模块的工作模式相对应的预设模数转换ADC 值范围,其中所述工作模式包括无线传输标准协议和传输速率;Step S205: Obtain a preset analog-to-digital conversion ADC value range corresponding to a working mode of the communication module, wherein the working mode includes a wireless transmission standard protocol and a transmission rate;
步骤S206:判断所述模数转换ADC值是否处于所述预设模数转换ADC值范围内;Step S206: judging whether the analog-to-digital conversion ADC value is within the preset analog-to-digital conversion ADC value range;
步骤S207:若所述模数转换ADC值未处于所述预设模数转换ADC值范围,则通过通信设备的显示屏显示所述模数转换ADC值,并发出所述通信模块异常的文字提示信息;Step S207: If the analog-to-digital conversion ADC value is not within the preset analog-to-digital conversion ADC value range, display the analog-to-digital conversion ADC value through the display screen of the communication device, and issue a text prompt that the communication module is abnormal information;
步骤S208:保存所述通信模块的工作模式和所述模数转换ADC值。Step S208: Save the working mode of the communication module and the analog-to-digital conversion ADC value.
下面将结合图2对本实施例中的通信模块异常检测方法进行详细地说明。在以下说明中,将以Wi-Fi通信模块为例进行说明,可以理解的是,该通信模块异常检测方法也可以应用在其他种类的通信模块中。Wi-Fi通信模块不能用于限制本发明的适用范围。The method for detecting abnormality of a communication module in this embodiment will be described in detail below with reference to FIG. 2 . In the following description, a Wi-Fi communication module will be used as an example for description, and it can be understood that the method for detecting abnormality of a communication module can also be applied to other types of communication modules. The Wi-Fi communication module cannot be used to limit the scope of application of the present invention.
由于Wi-Fi通信模块处于不同的工作模式时,其预设模数转换ADC值范围不同,因此在对Wi-Fi通信模块进行异常检测之前,需要在通信设备的存储器内存放与Wi-Fi通信模块的每种工作模式相对应的预设模数转换ADC值范围。该预设模数转换ADC值范围的具体设定方式如步骤S201至步骤S203所示。在此需要说明的是,Wi-Fi通信模块的工作模式包括无线传输标准协议和传输速率。例如,Wi-Fi通信模块采用802.11g的无线传输标准协议和54Mb/s 的传输速率的工作模式。Because the preset analog-to-digital conversion ADC value range of the Wi-Fi communication module is different when it is in different working modes, before abnormal detection of the Wi-Fi communication module, it is necessary to store the communication with Wi-Fi in the memory of the communication device. The preset analog-to-digital conversion ADC value range corresponding to each operating mode of the module. The specific setting method of the preset analog-to-digital conversion ADC value range is shown in steps S201 to S203. It should be noted here that the working mode of the Wi-Fi communication module includes wireless transmission standard protocols and transmission rates. For example, the Wi-Fi communication module adopts the wireless transmission standard protocol of 802.11g and the working mode of the transmission rate of 54Mb/s.
在步骤S201中,Wi-Fi通信模块在每种工作模式下对发射射频信号的功率值大小的要求不同。一般发射射频信号的功率值大小介于最大功率值和最小功率值之间,这样才能保证Wi-Fi通信模块发射射频信号的质量。因此,根据中国或者国际对发射射频信号的功率值大小的要求来设置该最大功率值和最小功率值。当然,也可以根据每款通信设备自身的需求来设置最大功率值和最小功率值,在此不做具体限制。In step S201, the Wi-Fi communication module has different requirements on the power value of the transmitted radio frequency signal in each working mode. Generally, the power value of the transmitted radio frequency signal is between the maximum power value and the minimum power value, so as to ensure the quality of the radio frequency signal transmitted by the Wi-Fi communication module. Therefore, the maximum power value and the minimum power value are set according to Chinese or international requirements on the power value of the transmitted radio frequency signal. Of course, the maximum power value and the minimum power value can also be set according to the needs of each communication device, which is not specifically limited here.
在步骤S202中,由于每款通信设备均有一个校准文件,测试人员根据该校准文件来对每个通信设备进行校准操作,从而使得每个通讯设备均能达到良好的通信质量。在该校准文件中保存有发射射频信号的功率值与模数转换ADC 值之间的对应关系。因此,根据该校准文件即可以获得最大功率值和最小功率值所对应的最大模数转换ADC值和最小模数转换ADC值。In step S202, since each communication device has a calibration file, the tester performs a calibration operation on each communication device according to the calibration file, so that each communication device can achieve good communication quality. The corresponding relationship between the power value of the transmitted RF signal and the analog-to-digital conversion ADC value is stored in the calibration file. Therefore, according to the calibration file, the maximum analog-to-digital conversion ADC value and the minimum analog-to-digital conversion ADC value corresponding to the maximum power value and the minimum power value can be obtained.
在步骤S203中,当获得该最大模数转换ADC值和最小模数转换ADC值后,将该最大模数转换ADC值和最小模数转换ADC值存储于通信设备中。具体地,将该最大模数转换ADC值和最小模数转换ADC值存储于Wi-Fi通信模块的射频参数中。这样便于在后续对Wi-Fi通信模块进行检测时,可以从该射频参数中读取到该最大模数转换ADC值和最小模数转换ADC值。需要说明的是,最大模数转换ADC值和最小模数转换ADC值分别为预设模数转换ADC 值范围的两个端点值。In step S203, after the maximum analog-to-digital conversion ADC value and the minimum analog-to-digital conversion ADC value are obtained, the maximum analog-to-digital conversion ADC value and the minimum analog-to-digital conversion ADC value are stored in the communication device. Specifically, the maximum analog-to-digital conversion ADC value and the minimum analog-to-digital conversion ADC value are stored in the radio frequency parameters of the Wi-Fi communication module. In this way, when the Wi-Fi communication module is subsequently detected, the maximum analog-to-digital conversion ADC value and the minimum analog-to-digital conversion ADC value can be read from the radio frequency parameter. It should be noted that the maximum analog-to-digital conversion ADC value and the minimum analog-to-digital conversion ADC value are respectively two endpoint values of the preset analog-to-digital conversion ADC value range.
在步骤S204中,当测试人员开始检测Wi-Fi通信模块时,外部设备将向 Wi-Fi通信模块发送指令,使得Wi-Fi通信模块根据该指令发射相应功率值大小的射频信号。具体地,Wi-Fi芯片的射频输出端将发射相应功率值大小的射频信号。该射频信号通过耦合器传递至检波器中,在此,耦合器可以将射频信号完全耦合,也可以按照一定的比例耦合一部分功率的射频信号,在此不做具体限制。In step S204, when the tester starts to detect the Wi-Fi communication module, the external device will send an instruction to the Wi-Fi communication module, so that the Wi-Fi communication module transmits a radio frequency signal with a corresponding power value according to the instruction. Specifically, the radio frequency output end of the Wi-Fi chip will transmit a radio frequency signal with a corresponding power value. The radio frequency signal is transmitted to the detector through the coupler. Here, the coupler can completely couple the radio frequency signal, or can couple a part of the power radio frequency signal according to a certain ratio, which is not specifically limited here.
当检波器接收到耦合器耦合的射频信号后,将对该射频信号进行检波处理,将高频的射频信号转换为低频的基带信号,并将该低频的基带信号传递给模数转换器,其中该低频的基带信号为模拟信号。After the detector receives the radio frequency signal coupled by the coupler, it will perform detection processing on the radio frequency signal, convert the high frequency radio frequency signal into a low frequency baseband signal, and transmit the low frequency baseband signal to the analog-to-digital converter, wherein The low-frequency baseband signal is an analog signal.
模数转换器接收到该低频的基带信号后,将该模拟的基带信号转换成相应的数字信号。同时计算出与该数字信号相对应的模数转换ADC值,即计算出与Wi-Fi芯片射频输出端输出的射频信号相对应的模数转换ADC值。After receiving the low-frequency baseband signal, the analog-to-digital converter converts the analog baseband signal into a corresponding digital signal. At the same time, the analog-to-digital conversion ADC value corresponding to the digital signal is calculated, that is, the analog-to-digital conversion ADC value corresponding to the radio frequency signal output by the radio frequency output terminal of the Wi-Fi chip is calculated.
在步骤S205和S206中,当模数转换器计算出模数转换ADC值后,将该模数转换ADC值传递给通信设备内的处理芯片。同时,处理芯片将获取与Wi-Fi 通信模块的工作模式相对应的预设模数转换ADC值范围,具体地,处理芯片将从通信模块的射频参数中获取最大模数转换ADC值和最小模数转换ADC 值。In steps S205 and S206, after the analog-to-digital converter calculates the analog-to-digital converted ADC value, the analog-to-digital converted ADC value is transmitted to the processing chip in the communication device. At the same time, the processing chip will obtain the preset analog-to-digital conversion ADC value range corresponding to the working mode of the Wi-Fi communication module. Specifically, the processing chip will obtain the maximum analog-to-digital conversion ADC value and the minimum analog-to-digital conversion ADC value from the radio frequency parameters of the communication module. Convert the ADC value to digital.
处理芯片将判断该模数转换ADC值是否处于预设模数转换ADC值范围内。具体地,处理芯片通过将该模数转换ADC值与最大模数转换ADC值和最小模数转换ADC值进行对比来判断该模数转换ADC是否处于预设模数转换 ADC值范围内。若处理芯片判断出该模数转换ADC值处于预设模数转换ADC 值范围内,则说明该Wi-Fi芯片所发射的射频信号的功率值大小与外部设备发射的指令中的指定功率值大小基本相同,即Wi-Fi通信模块在当前的工作模式下为正常状态,此时测试人员可以对下一个工作模式进行检测,即执行步骤 S204。The processing chip will determine whether the analog-to-digital conversion ADC value is within the preset analog-to-digital conversion ADC value range. Specifically, the processing chip determines whether the analog-to-digital conversion ADC is within the preset analog-to-digital conversion ADC value range by comparing the analog-to-digital conversion ADC value with the maximum analog-to-digital conversion ADC value and the minimum analog-to-digital conversion ADC value. If the processing chip determines that the analog-to-digital conversion ADC value is within the preset analog-to-digital conversion ADC value range, it indicates the power value of the radio frequency signal transmitted by the Wi-Fi chip and the specified power value in the command sent by the external device. Basically the same, that is, the Wi-Fi communication module is in a normal state in the current working mode, and the tester can detect the next working mode at this time, that is, step S204 is executed.
若处理芯片判断出该模数转换ADC值未处于预设模数转换ADC值范围内,则说明该Wi-Fi芯片所发射的射频信号的功率值大小与外部设备发射的指令中的指定功率值大小偏差很大,即Wi-Fi通信模块在当前的工作模式下为异常状态。此时,通信设备的显示屏将显示该模数转换ADC值,并发出该Wi-Fi 通信模块异常的文字提示信息,即执行步骤S207。这样测试人员可以在显示屏上观看此种工作模式下的模数转换ADC值,并对该工作模式下产生的异常原因进行分析判断。If the processing chip determines that the analog-to-digital conversion ADC value is not within the preset analog-to-digital conversion ADC value range, it indicates the power value of the radio frequency signal transmitted by the Wi-Fi chip and the specified power value in the command sent by the external device. The size deviation is very large, that is, the Wi-Fi communication module is in an abnormal state in the current working mode. At this time, the display screen of the communication device will display the analog-to-digital conversion ADC value, and send out a text prompt message that the Wi-Fi communication module is abnormal, that is, step S207 is executed. In this way, the tester can watch the analog-to-digital conversion ADC value in this working mode on the display screen, and analyze and judge the abnormal cause in the working mode.
在步骤S208中,由于在对Wi-Fi通信模块进行测试时,往往会连续测试其多个工作模式,另外,测试项目不仅限于射频信号功率测试,还有其他种类的测试。为了可以对出现异常的项目进行统一判断分析,当检测到Wi-Fi通信模块在某一工作模式下发射射频信号的功率值出现异常时,通信设备将保存Wi-Fi 通信模块的工作模式和相对应的模数转换ADC值,以便于在完成整个对Wi-Fi 通信模块测试后,测试人员可以从通信设备中读取异常的工作模式和相对应的模数转换ADC值,并对异常现象进行分析判断,提高测试效率。In step S208, when the Wi-Fi communication module is tested, its multiple working modes are often tested continuously. In addition, the test items are not limited to the radio frequency signal power test, but also other types of tests. In order to make a unified judgment and analysis of abnormal items, when it is detected that the power value of the radio frequency signal transmitted by the Wi-Fi communication module in a certain working mode is abnormal, the communication device will save the working mode and phase of the Wi-Fi communication module. The corresponding analog-to-digital conversion ADC value, so that after completing the whole test of the Wi-Fi communication module, the tester can read the abnormal working mode and the corresponding analog-to-digital conversion ADC value from the communication device, and carry out the abnormal phenomenon. Analysis and judgment to improve test efficiency.
本实施例中的通信模块异常检测方法,其通过设置通信模块发射射频信号的功率值大小来获得预设模数转换ADC值范围的两个端点值。在对通信模块进行检测时,先获取射频输出端发射的射频信号,根据该射频信号计算模数转换ADC值,再获取与通信模块的工作模式相对应的预设模数转换ADC值范围,并判断该模数转换ADC值是否处于预设模数转换ADC值范围内。若该模数转换ADC值未处于预设模数转换ADC值范围,则发出异常提示信息,并保存该工作模式和与其相对应的模数转换ADC值,以便于测试人员完成测试后对出现异常的工作模式下进行统一分析判断,从而提高通信模块异常检测的效率。In the method for detecting abnormality of the communication module in this embodiment, the two end values of the preset analog-to-digital conversion ADC value range are obtained by setting the power value of the radio frequency signal transmitted by the communication module. When the communication module is detected, the radio frequency signal emitted by the radio frequency output terminal is obtained first, the analog-to-digital conversion ADC value is calculated according to the radio frequency signal, and then the preset analog-to-digital conversion ADC value range corresponding to the working mode of the communication module is obtained, and Determine whether the analog-to-digital conversion ADC value is within the preset analog-to-digital conversion ADC value range. If the analog-to-digital conversion ADC value is not within the preset analog-to-digital conversion ADC value range, an abnormality prompt message will be sent, and the working mode and the corresponding analog-to-digital conversion ADC value will be saved, so that the tester can detect the abnormality after completing the test. In the working mode, unified analysis and judgment are carried out, so as to improve the efficiency of abnormal detection of communication modules.
实施例三Embodiment 3
请参照图3,图3为本发明的通信模块异常检测装置的第一优选实施例的结构示意图。本发明的通信模块可以应用在笔记本、平板电脑、手机、可穿戴设备等需要通信功能的电子设备上,在此不做具体限制。Please refer to FIG. 3 , which is a schematic structural diagram of a first preferred embodiment of the apparatus for detecting abnormality of a communication module according to the present invention. The communication module of the present invention can be applied to electronic devices such as notebooks, tablet computers, mobile phones, and wearable devices that require communication functions, which are not specifically limited herein.
本实施例中的通信模块异常检测装置300包括获取计算单元301、获取单元302、判断单元303和提示单元304。其中,获取计算单元301用于获取射频输出端发射的射频信号,根据所述射频信号计算模数转换ADC值;获取单元 302用于获取与所述通信模块的工作模式相对应的预设模数转换ADC值范围,其中所述工作模式包括无线传输标准协议和传输速率;判断单元303用于判断所述模数转换ADC值是否处于所述预设模数转换ADC值范围内;提示单元304 用于若所述模数转换ADC值未处于所述预设模数转换ADC值范围,则发出异常提示信息。The communication module abnormality detection device 300 in this embodiment includes an acquisition calculation unit 301 , an acquisition unit 302 , a judgment unit 303 and a prompt unit 304 . Wherein, the acquisition and calculation unit 301 is used to acquire the radio frequency signal transmitted by the radio frequency output end, and calculate the analog-to-digital conversion ADC value according to the radio frequency signal; the acquisition unit 302 is used to acquire the preset analog-to-digital value corresponding to the working mode of the communication module Converting the ADC value range, wherein the working mode includes a wireless transmission standard protocol and a transmission rate; the judgment unit 303 is used to judge whether the analog-to-digital conversion ADC value is within the preset analog-to-digital conversion ADC value range; the prompting unit 304 uses If the analog-to-digital conversion ADC value is not within the preset analog-to-digital conversion ADC value range, an abnormal prompt message is issued.
下面将结合图3对本实施例中的通信模块异常检测装置300进行详细地说明。在以下说明中,将以Wi-Fi通信模块为例进行说明,可以理解的是,该通信模块异常检测装置300也可以应用于其他种类的通信模块。Wi-Fi通信模块不能用于限制本发明的适用范围。The apparatus for detecting abnormality of a communication module 300 in this embodiment will be described in detail below with reference to FIG. 3 . In the following description, a Wi-Fi communication module will be used as an example for description. It is understood that the communication module abnormality detection apparatus 300 can also be applied to other types of communication modules. The Wi-Fi communication module cannot be used to limit the scope of application of the present invention.
当测试人员开始对Wi-Fi通信模块进行测试时,外部设备将向Wi-Fi通信模块发送指令,使得Wi-Fi通信模块根据该指令发射相应功率值大小的射频信号。具体地,Wi-Fi芯片的射频输出端将发射相应功率大小的射频信号。When the tester starts to test the Wi-Fi communication module, the external device will send an instruction to the Wi-Fi communication module, so that the Wi-Fi communication module transmits a radio frequency signal with a corresponding power value according to the instruction. Specifically, the radio frequency output end of the Wi-Fi chip will transmit radio frequency signals of corresponding power.
获取计算单元301将获取该射频信号,并根据该射频信号计算模数转换 ADC值。具体地,获取计算单元301通过耦合器获取该射频信号,并依此经过检波器和模数转换器对该射频信号进行滤波和模数转换处理后,计算获得与该射频信号相对应的模数转换ADC值。在此,耦合器可以将射频信号完全耦合,也可以按照一定的比例耦合一部分功率的射频信号,在此不做具体限制。The acquisition and calculation unit 301 will acquire the radio frequency signal, and calculate the analog-to-digital conversion ADC value according to the radio frequency signal. Specifically, the acquisition and calculation unit 301 acquires the radio frequency signal through a coupler, and then performs filtering and analog-to-digital conversion processing on the radio frequency signal through a detector and an analog-to-digital converter, and then calculates and obtains the analog-to-digital signal corresponding to the radio frequency signal. Convert ADC value. Here, the coupler can completely couple the radio frequency signal, or can couple a part of the power radio frequency signal according to a certain ratio, which is not specifically limited here.
在获取计算单元301计算出该模数转换ADC值后,将该模数转换ADC值传递给判断单元303。同时获取计算单元301向获取单元302发送第一信号,使得获取单元302根据该第一信号获取与Wi-Fi通信模块的工作模式相对应的预设模数转换ADC值范围。在此需要说明的是,Wi-Fi通信模块的工作模式包括无线传输标准协议和传输速率。例如,Wi-Fi通信模块采用802.11g的无线传输标准协议和54Mb/s的传输速率的工作模式。After the acquisition and calculation unit 301 calculates the analog-to-digital converted ADC value, the analog-to-digital converted ADC value is passed to the judgment unit 303 . At the same time, the obtaining and calculating unit 301 sends a first signal to the obtaining unit 302, so that the obtaining unit 302 obtains a preset analog-to-digital conversion ADC value range corresponding to the working mode of the Wi-Fi communication module according to the first signal. It should be noted here that the working mode of the Wi-Fi communication module includes wireless transmission standard protocols and transmission rates. For example, the Wi-Fi communication module adopts the wireless transmission standard protocol of 802.11g and the working mode of the transmission rate of 54Mb/s.
由于Wi-Fi通信模块处于不同的工作模式时,其预设模数转换ADC值范围不同,因此在通信设备的存储器内会存放与Wi-Fi通信模块的每种工作模式相对应的预设模数转换ADC值范围。获取单元302首先获取Wi-Fi通信模块当前的工作模式,再根据该Wi-Fi通信模块当前的工作模式从存储器内读取相应的预设模数转换ADC值范围。Because the preset analog-to-digital conversion ADC value range of the Wi-Fi communication module is different when it is in different working modes, the preset analog-to-digital conversion ADC value range corresponding to each working mode of the Wi-Fi communication module is stored in the memory of the communication device. Digital conversion ADC value range. The obtaining unit 302 first obtains the current working mode of the Wi-Fi communication module, and then reads the corresponding preset analog-to-digital conversion ADC value range from the memory according to the current working mode of the Wi-Fi communication module.
需要说明的是,获取计算单元301和获取单元302之间先后位置关系不局限于图3中所示的情况。在其他实施例中,获取单元302也可以先根据Wi-Fi 通信模块当前的工作模式从存储器内读取相应的预设模数转换ADC值范围,并将该预设模数转换ADC值范围传递至判断单元303。同时,获取单元302向获取计算单元301发送第二信号,使得获取计算单元301根据该第二信号获取射频输出端的射频信号,并根据该射频信号计算模数转换ADC值,在此不做限制。It should be noted that, the sequential position relationship between the acquisition calculation unit 301 and the acquisition unit 302 is not limited to the situation shown in FIG. 3 . In other embodiments, the obtaining unit 302 may first read the corresponding preset analog-to-digital conversion ADC value range from the memory according to the current working mode of the Wi-Fi communication module, and transmit the preset analog-to-digital conversion ADC value range to the judgment unit 303 . At the same time, the acquisition unit 302 sends a second signal to the acquisition and calculation unit 301, so that the acquisition and calculation unit 301 acquires the radio frequency signal of the radio frequency output terminal according to the second signal, and calculates the analog-to-digital conversion ADC value according to the radio frequency signal, which is not limited here.
获取单元302将获取到的预设模数转换ADC值范围传递给判断单元303,由判断单元303判断模数转换ADC值是否处于预设模数转换ADC值范围内。若判断单元303判断出该模数转换ADC值处于预设模数转换ADC值范围内,则说明该Wi-Fi芯片所发射的射频信号的功率值大小与外部设备发射的指令中的指定功率值大小基本相同,即Wi-Fi通信模块在当前的工作模式下为正常状态,此时技术人员可以对下一个工作模式进行检测。The obtaining unit 302 transfers the obtained preset analog-to-digital conversion ADC value range to the judgment unit 303, and the judgment unit 303 judges whether the analog-to-digital conversion ADC value is within the preset analog-to-digital conversion ADC value range. If the judging unit 303 judges that the analog-to-digital conversion ADC value is within the preset analog-to-digital conversion ADC value range, it indicates that the power value of the radio frequency signal transmitted by the Wi-Fi chip and the specified power value in the command transmitted by the external device The size is basically the same, that is, the Wi-Fi communication module is in a normal state in the current working mode, and the technician can detect the next working mode at this time.
若判断单元303判断出该模数转换ADC值未处于预设模数转换ADC值范围内,则说明该Wi-Fi芯片所发射的射频信号的功率值大小与外部设备发射的指令中的指定功率值大小偏差很大,即Wi-Fi通信模块在当前的工作模式下为异常状态。此时,判断单元303向提示单元304发送第三信号,使得提示单元 304根据该第三信号发出异常提示信息,以便于测试人员根据该异常提示信息对该工作模式下产生的异常原因进行分析判断。If the judging unit 303 judges that the analog-to-digital conversion ADC value is not within the preset analog-to-digital conversion ADC value range, it indicates that the power value of the radio frequency signal transmitted by the Wi-Fi chip and the specified power in the command transmitted by the external device The value deviation is very large, that is, the Wi-Fi communication module is in an abnormal state in the current working mode. At this time, the judging unit 303 sends a third signal to the prompting unit 304, so that the prompting unit 304 sends out abnormal prompt information according to the third signal, so that the tester can analyze and judge the abnormal cause generated in the working mode according to the abnormal prompt information. .
本实施例中的通信模块异常检测装置300,其通过获取计算单元301获取射频输出端发射的射频信号,根据该射频信号计算模数转换ADC值,再由获取单元302获取与通信模块的工作模式相对应的预设模数转换ADC值范围。判断单元303判断该模数转换ADC值是否处于预设模数转换ADC值范围内。若判断单元303判断出该模数转换ADC值未处于预设模数转换ADC值范围,则提示单元304发出异常提示信息,以便于测试人员根据该异常提示信息对该工作模式下的通信模块出现异常情况进行分析判断。The communication module abnormality detection device 300 in this embodiment obtains the radio frequency signal transmitted by the radio frequency output terminal through the acquisition and calculation unit 301, calculates the analog-to-digital conversion ADC value according to the radio frequency signal, and then obtains the working mode of the communication module by the acquisition unit 302. The corresponding preset analog-to-digital conversion ADC value range. The determination unit 303 determines whether the analog-to-digital conversion ADC value is within a preset analog-to-digital conversion ADC value range. If the judging unit 303 judges that the analog-to-digital conversion ADC value is not within the preset analog-to-digital conversion ADC value range, the prompting unit 304 sends out abnormal prompt information, so that the tester can appear on the communication module in the working mode according to the abnormal prompt information. Analyze and judge abnormal situations.
实施例四Embodiment 4
请参照图4,图4为本发明的通信模块异常检测装置的第二优选实施例的结构示意图。本发明的通信模块可以应用在笔记本、平板电脑、手机、可穿戴设备等需要通信功能的电子设备上,在此不做具体限制。Please refer to FIG. 4 , which is a schematic structural diagram of a second preferred embodiment of the apparatus for detecting abnormality of a communication module according to the present invention. The communication module of the present invention can be applied to electronic devices such as notebooks, tablet computers, mobile phones, and wearable devices that require communication functions, which are not specifically limited herein.
本实施例中的通信模块异常检测装置400包括设置单元401、存储单元402、获取计算单元403、获取单元404、判断单元405、提示单元406和保存单元407。The communication module abnormality detection device 400 in this embodiment includes a setting unit 401 , a storage unit 402 , an acquisition calculation unit 403 , an acquisition unit 404 , a judgment unit 405 , a prompt unit 406 and a storage unit 407 .
下面将以Wi-Fi通信模块为例进行说明,可以理解的是,本实施例中的通信模块异常检测装置400也可以应用于其他种类的通信模块中。Wi-Fi通信模块不能用于限制本发明的适用范围。The following will take a Wi-Fi communication module as an example for description. It can be understood that the apparatus 400 for detecting abnormality of a communication module in this embodiment can also be applied to other types of communication modules. The Wi-Fi communication module cannot be used to limit the scope of application of the present invention.
由于Wi-Fi通信模块在每种工作模式下对发射射频信号的功率值大小的要求不同。因此,在对Wi-Fi通信模块进行检测之前,设置单元401先设置Wi-Fi 通信模块在每种工作模式下发射的射频信号的最大功率值和最小功率值。当 Wi-Fi通信模块发射射频信号的功率值大小介于最大功率值和最小功率值之间时,才能保证Wi-Fi通信模块可以发射质量良好的射频信号。在此需要说明的是,Wi-Fi通信模块的工作模式包括无线传输标准协议和传输速率。例如,Wi-Fi 通信模块采用802.11g的无线传输标准协议和54Mb/s的传输速率的工作模式。Because the Wi-Fi communication module has different requirements on the power value of the transmitted radio frequency signal in each working mode. Therefore, before the Wi-Fi communication module is detected, the setting unit 401 first sets the maximum power value and the minimum power value of the radio frequency signal transmitted by the Wi-Fi communication module in each working mode. When the power value of the radio frequency signal transmitted by the Wi-Fi communication module is between the maximum power value and the minimum power value, it can be ensured that the Wi-Fi communication module can transmit radio frequency signals of good quality. It should be noted here that the working mode of the Wi-Fi communication module includes wireless transmission standard protocols and transmission rates. For example, the Wi-Fi communication module adopts the wireless transmission standard protocol of 802.11g and the working mode of the transmission rate of 54Mb/s.
另外,最大功率值和最小功率值可以根据中国或者国际对发射射频信号的功率值大小的要求来设置,当然也可以根据每款通信设备自身的需求来设置,在此不做具体限制。In addition, the maximum power value and the minimum power value can be set according to the Chinese or international requirements for the power value of the transmitted radio frequency signal, and of course can also be set according to the needs of each communication device itself, which is not limited here.
每款通信设备均配有一个校准文件,测试人员根据该校准文件来对每个通信设备进行校准操作,从而使得每个通讯设备均能达到良好的通信质量。在该校准文件中保存有发射射频信号的功率值与模数转换ADC值之间的对应关系。因此,设置单元401将根据该校准文件获得最大功率值和最小功率值所对应的最大模数转换ADC值和最小模数转换ADC值。Each communication device is equipped with a calibration file, and the tester calibrates each communication device according to the calibration file, so that each communication device can achieve good communication quality. The corresponding relationship between the power value of the transmitted radio frequency signal and the analog-to-digital conversion ADC value is stored in the calibration file. Therefore, the setting unit 401 will obtain the maximum analog-to-digital conversion ADC value and the minimum analog-to-digital conversion ADC value corresponding to the maximum power value and the minimum power value according to the calibration file.
设置单元401将获得的最大模数转换ADC值和最小模数转换ADC值传递给存储单元402。存储单元402将存储该最大模数转换ADC值和最小模数转换 ADC值。具体地,存储单元402将该最大模数转换ADC值和最小模数转换ADC 值存储于Wi-Fi通信模块的射频参数中。这样便于在后续对Wi-Fi通信模块进行检测时,获取单元404可以从该射频参数中读取到该最大模数转换ADC值和最小模数转换ADC值。The setting unit 401 transfers the obtained maximum analog-to-digital conversion ADC value and minimum analog-to-digital conversion ADC value to the storage unit 402 . The storage unit 402 will store the maximum analog-to-digital conversion ADC value and the minimum analog-to-digital conversion ADC value. Specifically, the storage unit 402 stores the maximum analog-to-digital conversion ADC value and the minimum analog-to-digital conversion ADC value in the radio frequency parameters of the Wi-Fi communication module. In this way, when the Wi-Fi communication module is subsequently detected, the obtaining unit 404 can read the maximum analog-to-digital conversion ADC value and the minimum analog-to-digital conversion ADC value from the radio frequency parameter.
当存储单元402存储该最大模数转换ADC值和最小模数转换ADC值后,存储单元402将向获取计算单元403发送第四信号,使得获取计算单元403根据该第四信号获取Wi-Fi通信模块的射频输出端发射的射频信号。After the storage unit 402 stores the maximum analog-to-digital conversion ADC value and the minimum analog-to-digital conversion ADC value, the storage unit 402 will send a fourth signal to the acquisition and calculation unit 403, so that the acquisition and calculation unit 403 acquires Wi-Fi communication according to the fourth signal The RF signal emitted by the RF output terminal of the module.
当测试人员开始检测Wi-Fi通信模块时,外部设备将向Wi-Fi通信模块发送指令,使得Wi-Fi通信模块根据该指令发射相应功率值大小的射频信号。具体地,Wi-Fi芯片的射频输出端将发射相应功率值大小的射频信号。获取计算单元403将获取该射频信号,并根据该射频信号计算模数转换ADC值。具体地,获取计算单元403通过耦合器获取该射频信号,并经过检波器和模数转换器对该射频信号进行处理,计算获得与该射频信号相对应的模数转换ADC值。在此,耦合器可以将射频信号完全耦合,也可以按照一定的比例耦合一部分功率的射频信号,在此不做具体限制。When the tester starts to detect the Wi-Fi communication module, the external device will send an instruction to the Wi-Fi communication module, so that the Wi-Fi communication module transmits a radio frequency signal with a corresponding power value according to the instruction. Specifically, the radio frequency output end of the Wi-Fi chip will transmit a radio frequency signal with a corresponding power value. The acquisition and calculation unit 403 will acquire the radio frequency signal, and calculate the analog-to-digital conversion ADC value according to the radio frequency signal. Specifically, the acquisition and calculation unit 403 acquires the radio frequency signal through a coupler, processes the radio frequency signal through a detector and an analog-to-digital converter, and calculates and obtains an analog-to-digital converted ADC value corresponding to the radio frequency signal. Here, the coupler can completely couple the radio frequency signal, or can couple a part of the power radio frequency signal according to a certain ratio, which is not specifically limited here.
在获取计算单元403计算出模数转换ADC值后,将该模数转换ADC值传递给判断单元405。同时获取计算单元403向获取单元404发送第五信号,使得获取单元404根据该第五信号获取与Wi-Fi通信模块的工作模式相对应的预设模数转换ADC值范围。具体地,获取单元404根据第五信号从Wi-Fi通信模块的射频参数中获取最大模数转换ADC值和最小模数转换ADC值,可以理解的是,该最大模数转换ADC值和最小模数转换ADC值为预设模数转换ADC值范围的两个端点值。After the acquisition and calculation unit 403 calculates the analog-to-digital converted ADC value, the analog-to-digital converted ADC value is passed to the judgment unit 405 . At the same time, the obtaining and calculating unit 403 sends a fifth signal to the obtaining unit 404, so that the obtaining unit 404 obtains the preset analog-to-digital conversion ADC value range corresponding to the working mode of the Wi-Fi communication module according to the fifth signal. Specifically, the obtaining unit 404 obtains the maximum analog-to-digital conversion ADC value and the minimum analog-to-digital conversion ADC value from the radio frequency parameters of the Wi-Fi communication module according to the fifth signal. It can be understood that the maximum analog-to-digital conversion ADC value and the minimum analog-to-digital conversion ADC value are The digital-to-digital ADC values are the two endpoint values of the preset analog-to-digital ADC value range.
获取单元404在获取到预设模数转换ADC值范围后,将该预设模数转换 ADC值范围传递给判断单元405,即将最大模数转换ADC值和最小模数转换 ADC值传递给判断单元405。After acquiring the preset analog-to-digital conversion ADC value range, the acquisition unit 404 transfers the preset analog-to-digital conversion ADC value range to the judgment unit 405, that is, the maximum analog-to-digital conversion ADC value and the minimum analog-to-digital conversion ADC value are passed to the judgment unit. 405.
判断单元405将判断模数转换ADC值是否处于预设模数转换ADC值范围内。具体地,判断单元405通过将该模数转换ADC值与最大模数转换ADC值和最小模数转换ADC值进行对比来判断该模数转换ADC是否处于预设模数转换ADC值范围内。若判断单元405判断出该模数转换ADC值处于预设模数转换ADC值范围内,则说明该Wi-Fi芯片所发射的射频信号的功率值大小与外部设备发射的指令中的指定功率大小基本相同,即Wi-Fi通信模块在当前的工作模式下为正常状态,此时测试人员可以对下一个工作模式进行检测。The determination unit 405 will determine whether the analog-to-digital conversion ADC value is within the preset analog-to-digital conversion ADC value range. Specifically, the determination unit 405 determines whether the analog-to-digital conversion ADC is within the preset analog-to-digital conversion ADC value range by comparing the analog-to-digital conversion ADC value with the maximum analog-to-digital conversion ADC value and the minimum analog-to-digital conversion ADC value. If the judging unit 405 judges that the analog-to-digital conversion ADC value is within the preset analog-to-digital conversion ADC value range, it indicates that the power value of the radio frequency signal transmitted by the Wi-Fi chip and the specified power value in the command transmitted by the external device Basically the same, that is, the Wi-Fi communication module is in a normal state in the current working mode, and the tester can detect the next working mode at this time.
若判断单元405判断出该模数转换ADC值未处于预设模数转换ADC值范围内,则说明该Wi-Fi芯片所发射的射频信号的功率值大小与外部设备发射的指令中的指定功率大小偏差很大,即Wi-Fi通信模块在当前的工作模式下为异常状态。此时判断单元405将向提示单元406发送第六信号,使得提示单元406 根据该第六信号将该模数转换ADC值显示在通信设备的显示屏中,并发出该 Wi-Fi通信模块异常的文字提示信息。这样测试人员可以在显示屏上观看此种工作模式下的模数转换ADC值,并对该工作模式下产生的异常原因进行分析判断。If the judging unit 405 judges that the analog-to-digital conversion ADC value is not within the preset analog-to-digital conversion ADC value range, it indicates that the power value of the radio frequency signal transmitted by the Wi-Fi chip and the specified power in the command transmitted by the external device The size deviation is very large, that is, the Wi-Fi communication module is in an abnormal state in the current working mode. At this time, the judgment unit 405 will send a sixth signal to the prompting unit 406, so that the prompting unit 406 will display the analog-to-digital converted ADC value on the display screen of the communication device according to the sixth signal, and issue a warning that the Wi-Fi communication module is abnormal. Text prompt information. In this way, the tester can watch the analog-to-digital conversion ADC value in this working mode on the display screen, and analyze and judge the abnormal cause in the working mode.
由于在对Wi-Fi通信模块进行测试时,往往会连续测试其多个工作模式,另外,测试项目不仅限于射频信号功率测试,还有其他种类的测试。为了可以对出现异常状况进行统一判断分析,当检测到Wi-Fi通信模块在某一工作模式下发射射频信号的功率异常时,提示单元406在完成发出异常提示信息后,将向保存单元407发送第七信号,使得保存单元407根据第七信号保存Wi-Fi通信模块的工作模式和相对应的模数转换ADC值,以便于在完成整个对Wi-Fi 通信模块测试后,测试人员可以从通信设备中读取异常的工作模式和相对应的模数转换ADC值,并对异常现象进行分析判断。Because when testing the Wi-Fi communication module, its multiple working modes are often tested continuously. In addition, the test items are not limited to the RF signal power test, but also other kinds of tests. In order to make a unified judgment and analysis of the abnormal situation, when it is detected that the power of the radio frequency signal transmitted by the Wi-Fi communication module in a certain working mode is abnormal, the prompting unit 406 will send the abnormal prompting information to the saving unit 407 after completing the sending. The seventh signal enables the storage unit 407 to save the working mode of the Wi-Fi communication module and the corresponding analog-to-digital conversion ADC value according to the seventh signal, so that after completing the entire test of the Wi-Fi communication module, the tester can The device reads the abnormal working mode and the corresponding analog-to-digital conversion ADC value, and analyzes and judges the abnormal phenomenon.
本实施例中的通信模块异常检测装置400,其通过设置单元401设置预设模数转换ADC值范围的两个端点值,并通过存储单元402存储两个端点值。当对通信模块进行异常检测时,获取计算单元403将获取射频输出端发射的射频信号,并根据该射频信号计算模数转换ADC值。再由获取单元404获取与通信模块的工作模式相对应的预设模数转换ADC值范围。判断单元405判断该模数转换ADC值是否处于预设模数转换ADC值范围内。若判断单元405判断出该模数转换ADC值未处于预设模数转换ADC值范围内,则提示单元406 发出异常提示信息,同时保存单元407保存该工作模式和与其相对应的模数转换ADC值,以便于测试人员完成测试后对出现异常的工作模式下进行统一分析判断,从而提高通信模块异常检测的效率。In the communication module abnormality detection device 400 in this embodiment, the setting unit 401 sets two end-point values of the preset analog-to-digital conversion ADC value range, and the storage unit 402 stores the two end-point values. When abnormality detection is performed on the communication module, the acquisition and calculation unit 403 will acquire the radio frequency signal transmitted by the radio frequency output end, and calculate the analog-to-digital conversion ADC value according to the radio frequency signal. Then, the acquisition unit 404 acquires the preset analog-to-digital conversion ADC value range corresponding to the working mode of the communication module. The determination unit 405 determines whether the analog-to-digital conversion ADC value is within a preset analog-to-digital conversion ADC value range. If the judging unit 405 judges that the analog-to-digital conversion ADC value is not within the preset analog-to-digital conversion ADC value range, the prompting unit 406 sends an abnormal prompt message, and the saving unit 407 saves the working mode and the corresponding analog-to-digital conversion ADC value, so that the tester can make a unified analysis and judgment on the abnormal working mode after completing the test, so as to improve the efficiency of abnormal detection of the communication module.
实施例五Embodiment 5
请参见图5,图5为本发明一种移动终端的结构示意图。本优选实施例中的移动终端可以为智能手机、平板电脑、可穿戴设备等,只要可以放置并使用用户身份识别卡的移动设备即可。Please refer to FIG. 5 , which is a schematic structural diagram of a mobile terminal according to the present invention. The mobile terminal in this preferred embodiment can be a smart phone, a tablet computer, a wearable device, etc., as long as the mobile device can place and use a user identification card.
本优选实施例中的移动终端500包括通信模块异常检测装置600、处理器和电源(处理器和电源未在图5中示出),其中,通信模块异常检测装置600 包括获取计算单元601、获取单元602、判断单元603和提示单元604。本领域技术人员可以理解的是,图5中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。The mobile terminal 500 in this preferred embodiment includes a communication module abnormality detection device 600, a processor and a power supply (the processor and the power supply are not shown in FIG. 5), wherein the communication module abnormality detection device 600 includes an acquisition calculation unit 601, an acquisition unit 602 , judging unit 603 and prompting unit 604 . Those skilled in the art can understand that the terminal structure shown in FIG. 5 does not constitute a limitation on the terminal, and may include more or less components than the one shown, or combine some components, or arrange different components.
当测试人员开始对移动终端500的通信模块进行测试时,处理器控制电源向通信模块异常检测装置600供电,使得通信模块异常检测装置600中的各个单元可以正常工作。其中,电源还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。When the tester starts to test the communication module of the mobile terminal 500, the processor controls the power supply to supply power to the communication module abnormality detection apparatus 600, so that each unit in the communication module abnormality detection apparatus 600 can work normally. Wherein, the power source may also include any components such as one or more DC or AC power sources, recharging systems, power failure detection circuits, power converters or inverters, and power status indicators.
获取计算单元601先获取射频输出端发射的射频信号,根据所述射频信号计算模数转换ADC值。获取计算单元601将该模数转换ADC值传递给判断单元603,同时获取计算单元601向获取单元602发送第八信号,使得获取单元 602根据第八信号获取与该通信模块的工作模式相对应的预设模数转换ADC值范围。其中,该通信模块的工作模式包括无线传输标准协议和传输速率。The acquisition and calculation unit 601 first acquires the radio frequency signal transmitted by the radio frequency output end, and calculates the analog-to-digital conversion ADC value according to the radio frequency signal. The acquisition and calculation unit 601 transfers the analog-to-digital conversion ADC value to the judgment unit 603, and at the same time, the acquisition and calculation unit 601 sends the eighth signal to the acquisition unit 602, so that the acquisition unit 602 acquires the working mode corresponding to the communication module according to the eighth signal. Preset analog-to-digital conversion ADC value range. Wherein, the working mode of the communication module includes wireless transmission standard protocol and transmission rate.
获取单元602将获取到的预设模数转换ADC值范围传递给判断单元603,由判断单元603判断该模数转换ADC值是否处于预设模数转换ADC值范围内。若判断单元603判断出该模数转换ADC值未处于预设模数转换ADC值范围内,说明此时通信模块发送的射频信号的功率值大小不符合规定。判断单元603将向提示单元604发送第九信号,使得提示单元604根据该第九信号发出异常提示信息,以便于测试人员可以及时准确地找到出现异常的信号,并分析出现异常的原因。The obtaining unit 602 transfers the obtained preset analog-to-digital conversion ADC value range to the judgment unit 603, and the judgment unit 603 judges whether the analog-to-digital conversion ADC value is within the preset analog-to-digital conversion ADC value range. If the determining unit 603 determines that the analog-to-digital conversion ADC value is not within the preset analog-to-digital conversion ADC value range, it means that the power value of the radio frequency signal sent by the communication module at this time does not meet the requirements. The judging unit 603 will send the ninth signal to the prompting unit 604, so that the prompting unit 604 sends out abnormality prompting information according to the ninth signal, so that the tester can timely and accurately find the abnormal signal and analyze the cause of the abnormality.
本实施例中的通信模块异常检测装置600的结构和功能与前面实施例中的通信模块异常检测装置相同,由于前面已经对通信模块异常检测装置做了详细的介绍说明,为了说明书的简洁性,在此将不再赘述。The structure and function of the communication module abnormality detection device 600 in this embodiment are the same as those of the communication module abnormality detection device in the previous embodiment. It will not be repeated here.
本实施例中的移动终端,由于其采用了本发明提供的通信模块异常检测装置,使得该移动终端在进行通信模块检测时,可以很容易地让测试人员获得异常信号,并能及时对异常信号进行分析,可以提高通信模块异常检测的效率。Since the mobile terminal in this embodiment adopts the communication module abnormality detection device provided by the present invention, when the mobile terminal detects the communication module, the tester can easily obtain the abnormal signal, and can detect the abnormal signal in time. Analysis can improve the efficiency of abnormal detection of communication modules.
本发明实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。上述提到的存储介质可以是只读存储器,磁盘或光盘等。上述的各装置或系统,可以执行相应方法实施例中的方法。Each functional unit in this embodiment of the present invention may be integrated into one processing module, or each unit may exist physically alone, or two or more units may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules. If the integrated modules are implemented in the form of software functional modules and sold or used as independent products, they may also be stored in a computer-readable storage medium. The above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, and the like. The above-mentioned apparatuses or systems may execute the methods in the corresponding method embodiments.
综上所述,虽然本发明已以优选实施例揭露如上,但上述优选实施例并非用以限制本发明,本领域的普通技术人员,在不脱离本发明的精神和范围内,均可作各种更动与润饰,因此本发明的保护范围以权利要求界定的范围为准。In summary, although the present invention has been disclosed above with preferred embodiments, the above preferred embodiments are not intended to limit the present invention. Those of ordinary skill in the art can make various Therefore, the protection scope of the present invention is subject to the scope defined by the claims.
Claims (11)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610809679.8A CN106211228B (en) | 2016-09-07 | 2016-09-07 | Communication module abnormity detection method and device and mobile terminal |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610809679.8A CN106211228B (en) | 2016-09-07 | 2016-09-07 | Communication module abnormity detection method and device and mobile terminal |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN106211228A CN106211228A (en) | 2016-12-07 |
| CN106211228B true CN106211228B (en) | 2019-08-06 |
Family
ID=58067730
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610809679.8A Expired - Fee Related CN106211228B (en) | 2016-09-07 | 2016-09-07 | Communication module abnormity detection method and device and mobile terminal |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106211228B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114615702B (en) * | 2022-04-18 | 2023-03-24 | 东南大学成贤学院 | Fault detection and diagnosis system based on 5G communication network |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR101209799B1 (en) * | 2011-06-10 | 2012-12-10 | 대성전기공업 주식회사 | Switch identification system for vehicle |
| CN102508552B (en) * | 2011-10-31 | 2014-07-30 | 深圳市大富科技股份有限公司 | Method for eliminating jittering of buttons, device and keyboard |
| CN103248370B (en) * | 2012-02-03 | 2016-02-03 | 联发科技(新加坡)私人有限公司 | Press keys setup method |
| CN103167080A (en) * | 2013-02-04 | 2013-06-19 | 北京大友迅捷科技有限公司 | System and method of testing functions of main board of mobile phone |
| CN105486940B (en) * | 2014-09-17 | 2018-07-13 | 深圳Tcl数字技术有限公司 | Key detection circuit and key detection method of electronic equipment |
| CN105049636B (en) * | 2015-08-21 | 2018-06-01 | 广东欧珀移动通信有限公司 | A kind of main wheat hole inspection method and hole inspection of terminal and device |
-
2016
- 2016-09-07 CN CN201610809679.8A patent/CN106211228B/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| CN106211228A (en) | 2016-12-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN102945652B (en) | Method and system for solving abnormal display of display screen | |
| EP2827155B1 (en) | Analytical gateway device for measurement devices | |
| CN107896131B (en) | Bluetooth signal adjustment method, device, test terminal, system and readable medium | |
| CN106464754B (en) | A method, device and equipment for calibrating detection distance | |
| US10129132B2 (en) | Control system, control method, control program, and recording medium | |
| CN107888232A (en) | Method and test system for detecting line loss, host computer, and computer-readable storage medium | |
| CN107908551A (en) | Terminal software test method, device, terminal and computer-readable storage medium | |
| EP3353658A1 (en) | Sensor lifecycle management system | |
| CN105320353A (en) | Protection circuit applied to touch screen device, and related protection method and electronic device | |
| CN108199785B (en) | Transmission power test method, device, system and electronic equipment | |
| CN110514927A (en) | The unit exception detection method of mobile terminal, computer-readable medium | |
| CN106211228B (en) | Communication module abnormity detection method and device and mobile terminal | |
| CN113495225B (en) | Power supply stability test method, system and equipment | |
| CN110098876A (en) | Signal strength test system and its test method | |
| CN108199788B (en) | Transmission power test method, device, system and electronic equipment | |
| CN107817397B (en) | Charging heating abnormity detection method and terminal equipment | |
| CN108123762B (en) | Transmission power test method, device, system and electronic equipment | |
| CN110849407B (en) | Sensor testing method and device, storage medium and electronic equipment | |
| CN210181590U (en) | MCU parameter testing system | |
| CN203231830U (en) | PCB temperature test circuit | |
| WO2018072458A1 (en) | Microwave converter input isolation testing method and system | |
| US8369392B2 (en) | Cable modem | |
| TW201619823A (en) | Testing apparatus and method for CPU serial voltage identification signal | |
| WO2017052724A1 (en) | Utility provisioning with iot analytics | |
| CN111603154A (en) | Heart rhythm detection method and device, storage medium and mobile terminal |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| CB02 | Change of applicant information | ||
| CB02 | Change of applicant information |
Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190806 |