CN106211228B - Communication module method for detecting abnormality and device, mobile terminal - Google Patents
Communication module method for detecting abnormality and device, 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.)
- Active
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
The present invention provides a kind of communication module method for detecting abnormality and device, mobile terminal.The communication module method for detecting abnormality includes the radiofrequency signal for obtaining RF output end transmitting, calculates analog-to-digital conversion ADC value according to the radiofrequency signal;Default analog-to-digital conversion ADC value range corresponding with the operating mode of the communication module is obtained, wherein the operating mode includes wireless transmission standards agreement and transmission rate;Judge whether the analog-to-digital conversion ADC value is within the scope of the default analog-to-digital conversion ADC value;If the analog-to-digital conversion ADC value is not in the default analog-to-digital conversion ADC value range, abnormal prompt information is issued.The method for detecting abnormality can allow tester to be not necessarily to identify abnormal signal by naked eyes to judge abnormal phenomenon, improve the efficiency that tester detects communication module.
Description
Technical field
The present invention relates to the communications fields, more particularly to a kind of communication module method for detecting abnormality and device, mobile terminal.
Background technique
Communication module is indispensable module in communication equipment comprising gsm communication module, Wi-Fi communication module and
ZigBee communication module etc..In order to allow user to obtain better communication quality, communication equipment is required to before factory in it
Communication module carry out abnormality test, the performance number size of detection communication module transmitting radiofrequency signal can meet demand be abnormal
A more important content in test.
Mould is communicated during existing detection communication module emits RF signal power value size, such as in Wi-Fi
In block, the RF output end of Wi-Fi chip emits the radiofrequency signal of certain watt level.Coupler will be penetrated coupling unit in proportion
Frequency signal, and analog voltage signal is formed after filtering processing.Theoretically by believing analog voltage signal and normal voltage
Whether the performance number that the radiofrequency signal that may know that the transmitting of Wi-Fi communication module number is compared is abnormal.However, in actual test
In the process, due to little etc. there are noise moire disturbance, normal voltage signal and abnormal voltage signal difference, tester
It is difficult to identify that abnormal signal, this allows for tester and is difficult to find the reason for exception occur, comes greatly not to calibration tape
Just.
Summary of the invention
The present invention provides a kind of communication module method for detecting abnormality and device, mobile terminal, to solve existing detection side
Lead to not find the technical problems such as the reason for exception occur because naked eyes can not identify abnormal signal in method.
The present invention provides a kind of communication module method for detecting abnormality comprising:
The radiofrequency signal for obtaining RF output end transmitting calculates analog-to-digital conversion ADC value according to the radiofrequency signal;
Default analog-to-digital conversion ADC value range corresponding with the operating mode of the communication module is obtained, wherein the work
Operation mode includes wireless transmission standards agreement and transmission rate;
Judge whether the analog-to-digital conversion ADC value is within the scope of the default analog-to-digital conversion ADC value;
If the analog-to-digital conversion ADC value is not in the default analog-to-digital conversion ADC value range, abnormal prompt letter is issued
Breath.
The present invention also provides a kind of communication module abnormal detectors comprising:
Computing unit is obtained, for obtaining the radiofrequency signal of RF output end transmitting, mould is calculated according to the radiofrequency signal
Number conversion ADC value;
Acquiring unit, for obtaining default analog-to-digital conversion ADC value model corresponding with the operating mode of the communication module
It encloses, wherein the operating mode includes wireless transmission standards agreement and transmission rate;
Judging unit, for judging whether the analog-to-digital conversion ADC value is in the default analog-to-digital conversion ADC value range
It is interior;
Prompt unit is sent out if being not in the default analog-to-digital conversion ADC value range for the analog-to-digital conversion ADC value
Abnormal prompt information out.
The present invention provides a kind of mobile terminal again, which is filled using communication module abnormality detection provided by the invention
It sets.
Compared with the prior art, the present invention provides a kind of communication module method for detecting abnormality and device, mobile terminal.This is logical
Believe the radiofrequency signal that module method for detecting abnormality emits by obtaining RF output end, analog-to-digital conversion is calculated according to radiofrequency signal
ADC value, and obtain default analog-to-digital conversion ADC value range corresponding with the operating mode of communication module;If judging, modulus turns
It changes ADC value to be not within the scope of default analog-to-digital conversion ADC value, then illustrates that the communication module is in abnormality, issue at this time different
Normal prompt information analyzes and determines convenient for tester to the reason of generating abnormality, and it is logical to improve tester's detection
Believe the efficiency of module.
Detailed description of the invention
Fig. 1 is the flow chart of the first preferred embodiment of communication module method for detecting abnormality of the invention.
Fig. 2 is the flow chart of the second preferred embodiment of communication module method for detecting abnormality of the invention.
Fig. 3 is the structural schematic diagram of the first preferred embodiment of communication module abnormal detector of the invention.
Fig. 4 is the structural schematic diagram of the second preferred embodiment of communication module abnormal detector of the invention.
Fig. 5 is the structural schematic diagram of mobile terminal of the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those skilled in the art's every other implementation obtained without creative efforts
Example, shall fall within the protection scope of the present invention.
Term " first ", " second " in the present invention etc. can be used to describe various elements herein, but these elements are not
It is limited by these terms.These terms are only used to distinguish the first element from the other element.For example, not departing from the present invention
Range in the case where, the first control can be known as the second control, and similarly, the second control can be known as the first control.
First control and the second control both control, but it is not same control.In addition, term " includes " and " having " and it
Any deformation, it is intended that cover and non-exclusive include.Such as it contains the process, method of a series of steps or units, be
System, product or equipment are not limited to listed step or unit, but optionally further comprising the step of not listing or list
Member, or optionally further comprising other step or units intrinsic for these process, methods, product or equipment.
Embodiment one
Fig. 1 is please referred to, Fig. 1 is the flow chart of the first preferred embodiment of communication module method for detecting abnormality of the invention.
Communication module of the invention, which can be applied, needs the electronics of communication function in notebook, tablet computer, mobile phone, wearable device etc.
In equipment, it is not particularly limited herein.
Communication module method for detecting abnormality in the present embodiment includes:
Step S101: obtaining the radiofrequency signal of RF output end transmitting, calculates analog-to-digital conversion ADC according to the radiofrequency signal
Value;
Step S102: obtaining default analog-to-digital conversion ADC value range corresponding with the operating mode of the communication module,
Wherein the operating mode includes wireless transmission standards agreement and transmission rate;
Step S103: judge whether the analog-to-digital conversion ADC value is within the scope of the default analog-to-digital conversion ADC value;
Step S104: it if the analog-to-digital conversion ADC value is not in the default analog-to-digital conversion ADC value range, issues different
Normal prompt information.
The communication module method for detecting abnormality in the present embodiment is described in detail below in conjunction with Fig. 1.Following
It in explanation, will be illustrated by taking Wi-Fi communication module as an example, it is to be understood that the communication module method for detecting abnormality can also
To apply in other kinds of communication module.Wi-Fi communication module cannot be used for limiting the scope of application of the invention.
In step s101, when starting to detect Wi-Fi communication module, external equipment will be sent to Wi-Fi communication module
Instruction, so that radiofrequency signal of the Wi-Fi communication module according to the instruction issue corresponding power size.Specifically, Wi-Fi chip
RF output end will emit the radiofrequency signal of corresponding power size.The radiofrequency signal is transferred in wave detector by coupler.?
This, coupler can couple radiofrequency signal completely, the radiofrequency signal of a part of power can also be coupled according to a certain percentage,
It is not particularly limited herein.
After wave detector receives the radiofrequency signal of coupler coupling, detection processing will be carried out to the radiofrequency signal, it will be high
The radiofrequency signal of frequency is converted to the baseband signal of low frequency, and the baseband signal of the low frequency is passed to analog-digital converter, wherein should
The baseband signal of low frequency is analog signal.
After analog-digital converter receives the baseband signal of the low frequency, the baseband signal of the simulation is converted into corresponding number
Signal.Analog-to-digital conversion ADC value corresponding with the digital signal is calculated simultaneously, that is, calculates and is exported with Wi-Fi chip radio frequency
Hold the corresponding analog-to-digital conversion ADC value of radiofrequency signal of output.It is understood that analog-to-digital conversion ADC value is analog-digital converter
The numerical value of (Analog to Digital Converter, abbreviation ADC) output.
In step s 102, after analog-digital converter calculates analog-to-digital conversion ADC value, analog-to-digital conversion ADC value is transmitted
To the processing chip in communication equipment.Meanwhile handle chip will acquire it is corresponding with the operating mode of Wi-Fi communication module pre-
If analog-to-digital conversion ADC value range.It should be noted that the operating mode of Wi-Fi communication module includes wireless transmission standards
Agreement and transmission rate.For example, Wi-Fi communication module is using the wireless transmission standards agreement of 802.11g and the transmission of 54Mb/s
The operating mode of rate.
When being in different operating modes due to Wi-Fi communication module, analog-to-digital conversion ADC value range difference is preset, because
This can store default analog-to-digital conversion corresponding with every kind of operating mode of Wi-Fi communication module in the memory of communication equipment
ADC value range.After processing chip gets analog-to-digital conversion ADC value, the current operating mode of Wi-Fi communication module is first obtained,
Default analog-to-digital conversion ADC value range accordingly is read out of memory further according to the current operating mode of the Wi-Fi communication module.
It should be noted that having no specific sequencing between step S101 and step S102, step S102 is first carried out, then execute
Step S101 also can, be not particularly limited herein.
In step S103 and step S104, processing chip will judge whether analog-to-digital conversion ADC value is in default modulus
It converts within the scope of ADC value.If processing chip judges that analog-to-digital conversion ADC value is within the scope of default analog-to-digital conversion ADC value,
Illustrate the specified performance number in the performance number size for the radiofrequency signal that the Wi-Fi chip is emitted and the instruction of external equipment transmitting
Size is essentially identical, i.e., Wi-Fi communication module is normal condition under current operating mode, and technical staff can be under at this time
One operating mode or next test item are detected.
If processing chip judges that analog-to-digital conversion ADC value is not within the scope of default analog-to-digital conversion ADC value, illustrate this
Specified performance number size in the instruction that the performance number size for the radiofrequency signal that Wi-Fi chip is emitted emits with external equipment is inclined
Difference is very big, i.e., Wi-Fi communication module is abnormality under current operating mode, at this point, communication equipment will issue abnormal mention
Show information, in order to which tester analyzes simultaneously the abnormal cause generated under the operating mode according to the abnormal prompt information
Judgement.
Communication module method for detecting abnormality in the present embodiment, by obtaining the radiofrequency signal of RF output end transmitting,
Analog-to-digital conversion ADC value is calculated according to the radiofrequency signal.Default modulus corresponding with the operating mode of communication module is obtained again to turn
ADC value range is changed, and judges whether analog-to-digital conversion ADC value is within the scope of default analog-to-digital conversion ADC value.If the analog-to-digital conversion
ADC value is not in default analog-to-digital conversion ADC value range, then issues abnormal prompt information, in order to which tester is according to the prompt
There are abnormal conditions to the communication module under the operating mode and analyzes and determines in information.
Embodiment two
Referring to figure 2., Fig. 2 is the flow chart of the second preferred embodiment of communication module method for detecting abnormality of the invention.
Communication module of the invention, which can be applied, needs the electronics of communication function in notebook, tablet computer, mobile phone, wearable device etc.
In equipment, it is not particularly limited herein.
Communication module method for detecting abnormality in the present embodiment includes:
Step S201: the maximum power for the radiofrequency signal that the communication module emits in each of these modes of operation is set
Value and minimal power values;
Step S202: according to calibration file obtain the maximum power value and minimal power values corresponding to maximum modulus turn
Change ADC value and minimum modules conversion ADC value;
Step S203: the maximum modulus conversion ADC value and minimum modules conversion ADC value are stored, wherein the maximum norm
Number conversion ADC value and minimum modules convert ADC value as two endpoint values of the default analog-to-digital conversion ADC value range;
Step S204: obtaining the radiofrequency signal of RF output end transmitting, calculates analog-to-digital conversion ADC according to the radiofrequency signal
Value;
Step S205: obtaining default analog-to-digital conversion ADC value range corresponding with the operating mode of the communication module,
Wherein the operating mode includes wireless transmission standards agreement and transmission rate;
Step S206: judge whether the analog-to-digital conversion ADC value is within the scope of the default analog-to-digital conversion ADC value;
Step S207: if the analog-to-digital conversion ADC value is not in the default analog-to-digital conversion ADC value range, by logical
The display screen of letter equipment shows the analog-to-digital conversion ADC value, and issues the text prompt information of the communication module exception;
Step S208: save the communication module operating mode and the analog-to-digital conversion ADC value.
The communication module method for detecting abnormality in the present embodiment is described in detail below in conjunction with Fig. 2.Following
It in explanation, will be illustrated by taking Wi-Fi communication module as an example, it is to be understood that the communication module method for detecting abnormality can also
To apply in other kinds of communication module.Wi-Fi communication module cannot be used for limiting the scope of application of the invention.
When being in different operating modes due to Wi-Fi communication module, analog-to-digital conversion ADC value range difference is preset, because
This needs to store in the memory of communication equipment and with Wi-Fi communicates mould before carrying out abnormality detection to Wi-Fi communication module
The corresponding default analog-to-digital conversion ADC value range of every kind of operating mode of block.The default analog-to-digital conversion ADC value range is specifically set
Mode is determined as shown in step S201 to step S203.It should be noted that the operating mode of Wi-Fi communication module includes nothing
Line transmission standard agreement and transmission rate.For example, Wi-Fi communication module using 802.11g wireless transmission standards agreement and
The operating mode of the transmission rate of 54Mb/s.
In step s 201, Wi-Fi communication module is in each of these modes of operation to the performance number size of transmitting radiofrequency signal
Requirement it is different.The performance number size of general transmitting radiofrequency signal is between maximum power value and minimal power values, so
It can guarantee the quality of Wi-Fi communication module transmitting radiofrequency signal.Therefore, according to China or the international function to transmitting radiofrequency signal
The maximum power value and minimal power values are arranged in the requirement of rate value size.It is of course also possible to according to every money communication equipment itself
Demand maximum power value and minimal power values be set, be not particularly limited herein.
In step S202, since every money communication equipment has a calibration file, tester is according to the calibration file
To carry out calibration operation to each communication equipment, so that each communication apparatus can reach good communication quality.At this
The corresponding relationship between the performance number and analog-to-digital conversion ADC value of transmitting radiofrequency signal is preserved in calibration file.Therefore, according to
The calibration file can obtain the conversion ADC value of maximum modulus corresponding to maximum power value and minimal power values and minimum modules
Convert ADC value.
In step S203, after obtaining maximum modulus conversion ADC value and minimum modules conversion ADC value, by the maximum
Analog-to-digital conversion ADC value and minimum modules conversion ADC value are stored in communication equipment.Specifically, which is converted into ADC value
It is stored in the radio frequency parameter of Wi-Fi communication module with minimum modules conversion ADC value.It is convenient for communicating Wi-Fi subsequent in this way
When module is detected, maximum modulus conversion ADC value and minimum modules conversion ADC can be read from the radio frequency parameter
Value.It should be noted that maximum modulus conversion ADC value and minimum modules conversion ADC value are respectively default analog-to-digital conversion ADC value
Two endpoint values of range.
In step S204, when tester starts to detect Wi-Fi communication module, external equipment will be communicated to Wi-Fi
Module sends instruction, so that radiofrequency signal of the Wi-Fi communication module according to the instruction issue corresponding power value size.Specifically,
The RF output end of Wi-Fi chip will emit the radiofrequency signal of corresponding power value size.The radiofrequency signal is transmitted by coupler
Into wave detector, here, coupler can couple radiofrequency signal completely, a part of function can also be coupled according to a certain percentage
The radiofrequency signal of rate, is not particularly limited herein.
After wave detector receives the radiofrequency signal of coupler coupling, detection processing will be carried out to the radiofrequency signal, it will be high
The radiofrequency signal of frequency is converted to the baseband signal of low frequency, and the baseband signal of the low frequency is passed to analog-digital converter, wherein should
The baseband signal of low frequency is analog signal.
After analog-digital converter receives the baseband signal of the low frequency, the baseband signal of the simulation is converted into corresponding number
Signal.Analog-to-digital conversion ADC value corresponding with the digital signal is calculated simultaneously, that is, calculates and is exported with Wi-Fi chip radio frequency
Hold the corresponding analog-to-digital conversion ADC value of radiofrequency signal of output.
In step S205 and S206, after analog-digital converter calculates analog-to-digital conversion ADC value, by analog-to-digital conversion ADC
Value passes to the processing chip in communication equipment.Meanwhile it handling chip and will acquire the operating mode phase with Wi-Fi communication module
Corresponding default analog-to-digital conversion ADC value range, specifically, processing chip will obtain maximum norm from the radio frequency parameter of communication module
Number conversion ADC value and minimum modules convert ADC value.
Processing chip will judge whether analog-to-digital conversion ADC value is within the scope of default analog-to-digital conversion ADC value.Specifically,
Processing chip by by analog-to-digital conversion ADC value and maximum modulus convert ADC value and minimum modules convert ADC value compare come
Judge whether analog-to-digital conversion ADC is within the scope of default analog-to-digital conversion ADC value.If processing chip judges the analog-to-digital conversion
ADC value is within the scope of default analog-to-digital conversion ADC value, then illustrates that the performance number for the radiofrequency signal that the Wi-Fi chip is emitted is big
Specified performance number size in the small instruction with external equipment transmitting is essentially identical, i.e., Wi-Fi communication module is in current work
It is normal condition under mode, tester can detect next operating mode at this time, i.e. execution step S204.
If processing chip judges that analog-to-digital conversion ADC value is not within the scope of default analog-to-digital conversion ADC value, illustrate this
Specified performance number size in the instruction that the performance number size for the radiofrequency signal that Wi-Fi chip is emitted emits with external equipment is inclined
Difference is very big, i.e., Wi-Fi communication module is abnormality under current operating mode.At this point, the display screen of communication equipment will be shown
Show analog-to-digital conversion ADC value, and issue the text prompt information of the Wi-Fi communication module exception, is i.e. execution step S207.This
Sample tester can watch the analog-to-digital conversion ADC value under such operating mode on a display screen, and to producing under the operating mode
Raw abnormal cause is analyzed and determined.
In step S208, due to when testing Wi-Fi communication module, often its multiple work of follow-on test
Mode, in addition, test item is not limited only to RF signal power test, there are also other kinds of tests.In order to can be to appearance
Abnormal project carries out unified discriminatory analysis, when detecting that Wi-Fi communication module emits radiofrequency signal under a certain operating mode
Performance number when occurring abnormal, communication equipment is by the operating mode for saving Wi-Fi communication module and corresponding analog-to-digital conversion
ADC value, in order to which after completing entirely to test Wi-Fi communication module, tester can read abnormal from communication equipment
Operating mode and corresponding analog-to-digital conversion ADC value, and abnormal phenomenon is analyzed and determined, improves testing efficiency.
Communication module method for detecting abnormality in the present embodiment emits the power of radiofrequency signal by setting communication module
Value size obtains two endpoint values of default analog-to-digital conversion ADC value range.When being detected to communication module, first obtains and penetrate
The radiofrequency signal of frequency output end transmitting calculates analog-to-digital conversion ADC value according to the radiofrequency signal, then obtains the work with communication module
The corresponding default analog-to-digital conversion ADC value range of mode, and judge whether analog-to-digital conversion ADC value is in default analog-to-digital conversion
Within the scope of ADC value.If analog-to-digital conversion ADC value is not in default analog-to-digital conversion ADC value range, abnormal prompt information is issued,
And save the operating mode and analog-to-digital conversion ADC value corresponding thereto, in order to tester complete it is different to occurring after test
United analysis judgement is carried out under normal operating mode, to improve the efficiency of communication module abnormality detection.
Embodiment three
Referring to figure 3., Fig. 3 is the structural representation of the first preferred embodiment of communication module abnormal detector of the invention
Figure.Communication module of the invention, which can be applied, needs communication function in notebook, tablet computer, mobile phone, wearable device etc.
On electronic equipment, it is not particularly limited herein.
Communication module abnormal detector 300 in the present embodiment includes obtaining computing unit 301, acquiring unit 302, sentencing
Disconnected unit 303 and prompt unit 304.Wherein, the radiofrequency signal that computing unit 301 is used to obtain RF output end transmitting is obtained,
Analog-to-digital conversion ADC value is calculated according to the radiofrequency signal;Acquiring unit 302 is for obtaining and the Working mould of the communication module
The corresponding default analog-to-digital conversion ADC value range of formula, wherein the operating mode includes wireless transmission standards agreement and transmission speed
Rate;Judging unit 303 is for judging whether the analog-to-digital conversion ADC value is within the scope of the default analog-to-digital conversion ADC value;It mentions
If showing, unit 304 is not in the default analog-to-digital conversion ADC value range for the analog-to-digital conversion ADC value, issues abnormal mention
Show information.
The communication module abnormal detector 300 in the present embodiment is described in detail below in conjunction with Fig. 3.With
It in lower explanation, will be illustrated by taking Wi-Fi communication module as an example, it is to be understood that the communication module abnormal detector 300
Also it can be applied to other kinds of communication module.Wi-Fi communication module cannot be used for limiting the scope of application of the invention.
When tester starts to test Wi-Fi communication module, external equipment will be sent to Wi-Fi communication module
Instruction, so that radiofrequency signal of the Wi-Fi communication module according to the instruction issue corresponding power value size.Specifically, Wi-Fi chip
RF output end will emit corresponding power size radiofrequency signal.
Obtaining computing unit 301 will acquire the radiofrequency signal, and calculate analog-to-digital conversion ADC value according to the radiofrequency signal.Tool
Body, computing unit 301 is obtained by coupler and obtains the radiofrequency signal, and according to this by wave detector and analog-digital converter to this
Radiofrequency signal is filtered with after analog-to-digital conversion process, is calculated and is obtained analog-to-digital conversion ADC value corresponding with the radiofrequency signal.?
This, coupler can couple radiofrequency signal completely, the radiofrequency signal of a part of power can also be coupled according to a certain percentage,
It is not particularly limited herein.
After obtaining computing unit 301 and calculating analog-to-digital conversion ADC value, analog-to-digital conversion ADC value is passed into judgement
Unit 303.Obtain computing unit 301 simultaneously and send the first signal to acquiring unit 302 so that acquiring unit 302 according to this
One signal acquisition default analog-to-digital conversion ADC value range corresponding with the operating mode of Wi-Fi communication module.It needs to illustrate herein
, the operating mode of Wi-Fi communication module includes wireless transmission standards agreement and transmission rate.For example, Wi-Fi communication module
Using the operating mode of the transmission rate of the wireless transmission standards agreement and 54Mb/s of 802.11g.
When being in different operating modes due to Wi-Fi communication module, analog-to-digital conversion ADC value range difference is preset, because
This can store default analog-to-digital conversion corresponding with every kind of operating mode of Wi-Fi communication module in the memory of communication equipment
ADC value range.Acquiring unit 302 obtains the current operating mode of Wi-Fi communication module first, communicates mould further according to the Wi-Fi
The current operating mode of block reads default analog-to-digital conversion ADC value range accordingly out of memory.
It should be noted that obtaining between computing unit 301 and acquiring unit 302, successively positional relationship is not limited to Fig. 3
Shown in situation.In other embodiments, the Working mould that acquiring unit 302 can also be first current according to Wi-Fi communication module
Formula reads default analog-to-digital conversion ADC value range accordingly out of memory, and this is preset analog-to-digital conversion ADC value range and is transferred to
Judging unit 303.Meanwhile acquiring unit 302 sends second signal to computing unit 301 is obtained, so that obtaining computing unit 301
The radiofrequency signal of RF output end is obtained according to the second signal, and analog-to-digital conversion ADC value is calculated according to the radiofrequency signal, herein
With no restrictions.
The default analog-to-digital conversion ADC value range that acquiring unit 302 will acquire passes to judging unit 303, single by judgement
Member 303 judges whether analog-to-digital conversion ADC value is within the scope of default analog-to-digital conversion ADC value.If judging unit 303 judges the mould
Number conversion ADC value is within the scope of default analog-to-digital conversion ADC value, then illustrates the function for the radiofrequency signal that the Wi-Fi chip is emitted
Specified performance number size in the instruction that rate value size emits with external equipment is essentially identical, i.e. Wi-Fi communication module is current
Operating mode under be normal condition, technical staff can detect next operating mode at this time.
If judging unit 303 judges that analog-to-digital conversion ADC value is not within the scope of default analog-to-digital conversion ADC value, say
The specified performance number in instruction that the performance number size for the radiofrequency signal that the bright Wi-Fi chip is emitted emits with external equipment is big
Little deviation is very big, i.e., Wi-Fi communication module is abnormality under current operating mode.At this point, judging unit 303 is to prompt
Unit 304 sends third signal, so that prompt unit 304 issues abnormal prompt information according to the third signal, in order to test
Personnel analyze and determine the abnormal cause generated under the operating mode according to the abnormal prompt information.
Communication module abnormal detector 300 in the present embodiment obtains radio frequency output by obtaining computing unit 301
The radiofrequency signal for holding transmitting calculates analog-to-digital conversion ADC value according to the radiofrequency signal, then is obtained by acquiring unit 302 and communicated mould
The corresponding default analog-to-digital conversion ADC value range of the operating mode of block.Whether judging unit 303 judges analog-to-digital conversion ADC value
Within the scope of default analog-to-digital conversion ADC value.If judging unit 303 judges the analog-to-digital conversion, ADC value is not in default modulus
ADC value range is converted, then prompt unit 304 issues abnormal prompt information, in order to which tester is according to the abnormal prompt information
There are abnormal conditions to the communication module under the operating mode to analyze and determine.
Example IV
Referring to figure 4., Fig. 4 is the structural representation of the second preferred embodiment of communication module abnormal detector of the invention
Figure.Communication module of the invention, which can be applied, needs communication function in notebook, tablet computer, mobile phone, wearable device etc.
On electronic equipment, it is not particularly limited herein.
Communication module abnormal detector 400 in the present embodiment includes setting unit 401, storage unit 402, obtains meter
Calculate unit 403, acquiring unit 404, judging unit 405, prompt unit 406 and storage unit 407.
It will be illustrated by taking Wi-Fi communication module as an example below, it is to be understood that the communication module in the present embodiment is different
Normal detection device 400 also can be applied in other kinds of communication module.Wi-Fi communication module cannot be used for the limitation present invention
The scope of application.
Due to Wi-Fi communication module in each of these modes of operation to transmitting radiofrequency signal performance number size requirement not
Together.Therefore, before detecting to Wi-Fi communication module, Wi-Fi communication module is first arranged in every kind of work in setting unit 401
The maximum power value and minimal power values of the radiofrequency signal emitted under operation mode.When Wi-Fi communication module transmitting radiofrequency signal
When performance number size is between maximum power value and minimal power values, it just can guarantee that Wi-Fi communication module can be with launch mass
Good radiofrequency signal.It should be noted that the operating mode of Wi-Fi communication module include wireless transmission standards agreement and
Transmission rate.For example, Wi-Fi communication module is using the wireless transmission standards agreement of 802.11g and the transmission rate of 54Mb/s
Operating mode.
In addition, maximum power value and minimal power values can be according to China or the international performance numbers to transmitting radiofrequency signal
The requirement of size is arranged, naturally it is also possible to is arranged according to the demand of every money communication equipment itself, is not particularly limited herein.
Every money communication equipment is provided with a calibration file, and tester is according to the calibration file come to each communication equipment
Calibration operation is carried out, so that each communication apparatus can reach good communication quality.It is preserved in the calibration file
Emit the corresponding relationship between the performance number and analog-to-digital conversion ADC value of radiofrequency signal.Therefore, setting unit 401 will be according to the school
Quasi- file obtains the conversion ADC value of maximum modulus corresponding to maximum power value and minimal power values and minimum modules convert ADC value.
The maximum modulus of acquisition is converted ADC value to setting unit 401 and minimum modules conversion ADC value passes to storage unit
402.Storage unit 402 will store maximum modulus conversion ADC value and minimum modules conversion ADC value.Specifically, storage unit
402 are stored in maximum modulus conversion ADC value and minimum modules conversion ADC value in the radio frequency parameter of Wi-Fi communication module.
In this way convenient for it is subsequent Wi-Fi communication module is detected when, acquiring unit 404 can read this from the radio frequency parameter
Maximum modulus converts ADC value and minimum modules convert ADC value.
After storage unit 402 stores maximum modulus conversion ADC value and minimum modules conversion ADC value, storage unit 402
Fourth signal will be sent to computing unit 403 is obtained, led to so that obtaining computing unit 403 and obtaining Wi-Fi according to the fourth signal
Believe the radiofrequency signal of the RF output end transmitting of module.
When tester starts to detect Wi-Fi communication module, external equipment will send to Wi-Fi communication module and instruct,
So that radiofrequency signal of the Wi-Fi communication module according to the instruction issue corresponding power value size.Specifically, Wi-Fi chip is penetrated
Frequency output end will emit the radiofrequency signal of corresponding power value size.Obtaining computing unit 403 will acquire the radiofrequency signal, and according to
The radiofrequency signal calculates analog-to-digital conversion ADC value.Specifically, it obtains computing unit 403 and the radiofrequency signal is obtained by coupler, and
The radiofrequency signal is handled by wave detector and analog-digital converter, calculates and obtains modulus turn corresponding with the radiofrequency signal
Change ADC value.Here, coupler can couple radiofrequency signal completely, a part of power can also be coupled according to a certain percentage
Radiofrequency signal, be not particularly limited herein.
After obtaining computing unit 403 and calculating analog-to-digital conversion ADC value, it is single that analog-to-digital conversion ADC value is passed into judgement
Member 405.Computing unit 403 is obtained simultaneously and sends the 5th signal to acquiring unit 404, so that acquiring unit 404 is according to the 5th
Signal acquisition default analog-to-digital conversion ADC value range corresponding with the operating mode of Wi-Fi communication module.Specifically, it obtains single
Member 404 obtains maximum modulus conversion ADC value according to the 5th signal from the radio frequency parameter of Wi-Fi communication module and minimum modules turn
Change ADC value, it is to be understood that it is default analog-to-digital conversion ADC that the maximum modulus, which converts ADC value and minimum modules conversion ADC value,
It is worth two endpoint values of range.
Acquiring unit 404 presets analog-to-digital conversion ADC value range after getting default analog-to-digital conversion ADC value range, by this
Judging unit 405 is passed to, i.e., maximum modulus is converted into ADC value and minimum modules conversion ADC value passes to judging unit 405.
Judging unit 405 will judge whether analog-to-digital conversion ADC value is within the scope of default analog-to-digital conversion ADC value.Specifically,
Judging unit 405 is by converting ADC value for analog-to-digital conversion ADC value and maximum modulus and minimum modules are converted ADC value and carried out pair
Than judging whether analog-to-digital conversion ADC is within the scope of default analog-to-digital conversion ADC value.If judging unit 405 judges the mould
Number conversion ADC value is within the scope of default analog-to-digital conversion ADC value, then illustrates the function for the radiofrequency signal that the Wi-Fi chip is emitted
Specified watt level in the instruction that rate value size emits with external equipment is essentially identical, i.e. Wi-Fi communication module is current
It is normal condition under operating mode, tester can detect next operating mode at this time.
If judging unit 405 judges that analog-to-digital conversion ADC value is not within the scope of default analog-to-digital conversion ADC value, say
Specified watt level in the instruction of performance number size and the external equipment transmitting for the radiofrequency signal that the bright Wi-Fi chip is emitted
Deviation is very big, i.e., Wi-Fi communication module is abnormality under current operating mode.Judging unit 405 will be to prompt at this time
Unit 406 sends the 6th signal, is communicating so that prompt unit 406 shows analog-to-digital conversion ADC value according to the 6th signal
In the display screen of equipment, and issue the text prompt information of the Wi-Fi communication module exception.Tester can be aobvious in this way
The analog-to-digital conversion ADC value under such operating mode is watched in display screen, and the abnormal cause generated under the operating mode is divided
Analysis judgement.
Due to when testing Wi-Fi communication module, often its multiple operating mode of follow-on test, in addition, surveying
Examination project is not limited only to RF signal power test, and there are also other kinds of tests.In order to can be to there is unusual condition progress
Unified discriminatory analysis is mentioned when detecting Wi-Fi communication module under a certain operating mode and emitting the power exception of radiofrequency signal
Show that unit 406 after completing to issue abnormal prompt information, will send the 7th signal to storage unit 407, so that storage unit 407
According to the operating mode of the 7th signal preservation Wi-Fi communication module and corresponding analog-to-digital conversion ADC value, in order to whole in completion
After a test to Wi-Fi communication module, tester can read abnormal operating mode and corresponding from communication equipment
Analog-to-digital conversion ADC value, and abnormal phenomenon is analyzed and determined.
Default analog-to-digital conversion is arranged by setting unit 401 in communication module abnormal detector 400 in the present embodiment
Two endpoint values of ADC value range, and two endpoint values are stored by storage unit 402.When to the abnormal inspection of communication module progress
When survey, obtaining computing unit 403 will acquire the radiofrequency signal of RF output end transmitting, and calculates modulus according to the radiofrequency signal and turn
Change ADC value.Default analog-to-digital conversion ADC value range corresponding with the operating mode of communication module is obtained by acquiring unit 404 again.
Judging unit 405 judges whether analog-to-digital conversion ADC value is within the scope of default analog-to-digital conversion ADC value.If judging unit 405 is sentenced
Disconnected analog-to-digital conversion ADC value out is not within the scope of default analog-to-digital conversion ADC value, then prompt unit 406 issues abnormal prompt letter
Breath, while storage unit 407 saves the operating mode and analog-to-digital conversion ADC value corresponding thereto, in order to which tester is complete
At after test to occurring carrying out united analysis judgement under abnormal operating mode, to improve the effect of communication module abnormality detection
Rate.
Embodiment five
Fig. 5 is referred to, Fig. 5 is a kind of structural schematic diagram of mobile terminal of the present invention.Mobile end in this preferred embodiment
End can be smart phone, tablet computer, wearable device etc., as long as the movement of subscriber identification card can be placed and be used
Equipment.
Mobile terminal 500 in this preferred embodiment includes communication module abnormal detector 600, processor and power supply
(processor and power supply are not shown in FIG. 5), wherein communication module abnormal detector 600 include obtain computing unit 601,
Acquiring unit 602, judging unit 603 and prompt unit 604.It will be appreciated by persons skilled in the art that shown in Fig. 5 eventually
The restriction of end structure not structure paired terminal, may include than illustrating more or fewer components, or the certain components of combination, or
The different component layout of person.
When tester starts to test the communication module of mobile terminal 500, processor controls power supply to communication
Module abnormal detector 600 is powered, so that each unit in communication module abnormal detector 600 can work normally.
Wherein, power supply can also include one or more direct current or AC power source, recharging system, power failure monitor electricity
The random components such as road, power adapter or inverter, power supply status indicator.
The radiofrequency signal that computing unit 601 first obtains RF output end transmitting is obtained, mould is calculated according to the radiofrequency signal
Number conversion ADC value.It obtains computing unit 601 and analog-to-digital conversion ADC value is passed into judging unit 603, while it is single to obtain calculating
Member 601 sends the 8th signal to acquiring unit 602, so that acquiring unit 602 is according to the 8th signal acquisition and the communication module
The corresponding default analog-to-digital conversion ADC value range of operating mode.Wherein, the operating mode of the communication module includes wireless transmission mark
Quasi- agreement and transmission rate.
The default analog-to-digital conversion ADC value range that acquiring unit 602 will acquire passes to judging unit 603, single by judgement
Member 603 judges whether analog-to-digital conversion ADC value is within the scope of default analog-to-digital conversion ADC value.If judging unit 603 judges this
Analog-to-digital conversion ADC value is not within the scope of default analog-to-digital conversion ADC value, illustrates the function for the radiofrequency signal that communication module is sent at this time
Rate value size is against regulation.Judging unit 603 will send the 9th signal to prompt unit 604, so that 604 basis of prompt unit
9th signal issues abnormal prompt information, abnormal signal occurs in order to which tester can timely and accurately find, and
There is abnormal reason in analysis.
Communication mould in the structure and function and preceding embodiment of communication module abnormal detector 600 in the present embodiment
Block abnormal detector is identical, since front has been described in detail explanation to communication module abnormal detector, in order to
The terseness of specification, will not be described in great detail herein.
Mobile terminal in the present embodiment, due to making which employs communication module abnormal detector provided by the invention
The mobile terminal is obtained when carrying out communication module detection, can easily allow tester to obtain abnormal signal, and can be in time
Abnormal signal is analyzed, the efficiency of communication module abnormality detection can be improved.
Each functional unit in the embodiment of the present invention can integrate in a processing module, be also possible to each unit list
It is solely physically present, can also be integrated in two or more units in a module.Above-mentioned integrated module can both use
Formal implementation of hardware can also be realized in the form of software function module.If the integrated module is with software function
The form of module is realized and when sold or used as an independent product, also can store in computer-readable storage Jie
In matter.Storage medium mentioned above can be read-only memory, disk or CD etc..Above-mentioned each device or system, can be with
Execute the method in correlation method embodiment.
In conclusion although the present invention has been disclosed above in the preferred embodiment, but above preferred embodiment is not to limit
The system present invention, those skilled in the art can make various changes and profit without departing from the spirit and scope of the present invention
Decorations, therefore protection scope of the present invention subjects to the scope of the claims.
Claims (11)
1. a kind of communication module method for detecting abnormality characterized by comprising
It is issued by the RF output end that the coupler of the communication module obtains the communication module in the operating mode of setting
The radiofrequency signal penetrated;
Detection processing is carried out to the radiofrequency signal by the wave detector of the communication module, obtains the base band of the radiofrequency signal
Signal, and the baseband signal is converted to by corresponding digital signal by the analog-digital converter of the communication module, it calculates
The corresponding analog-to-digital conversion ADC value of the digital signal;
Default analog-to-digital conversion ADC value range corresponding with the operating mode of the communication module is obtained, wherein the Working mould
Formula includes wireless transmission standards agreement and transmission rate;
Judge whether the analog-to-digital conversion ADC value is within the scope of the default analog-to-digital conversion ADC value;
If the analog-to-digital conversion ADC value is not in the default analog-to-digital conversion ADC value range, abnormal prompt information is issued, is used
It is abnormal in the transmission power for indicating the communication module.
2. communication module method for detecting abnormality according to claim 1, which is characterized in that passing through the communication module
Before the radiofrequency signal that the RF output end that coupler obtains the communication module emits under the operating mode of setting, also wrap
It includes:
The maximum power value and minimum power of the radiofrequency signal that the communication module emits in each of these modes of operation are set
Value;
According to calibration file obtain the maximum power value and minimal power values corresponding to maximum modulus conversion ADC value and minimum
Analog-to-digital conversion ADC value;
Store maximum modulus conversion ADC value and minimum modules conversion ADC value, wherein the maximum modulus conversion ADC value and
Minimum modules convert ADC value as two endpoint values of the default analog-to-digital conversion ADC value range.
3. communication module method for detecting abnormality according to claim 2, which is characterized in that the storage maximum modulus
It converts ADC value and minimum modules converts ADC value, specifically include: the maximum modulus being converted into ADC value and minimum modules are converted
ADC value is stored in the radio frequency parameter of the communication module;
It is described to obtain default analog-to-digital conversion ADC value range corresponding with the operating mode of the communication module, it specifically includes: from
Maximum modulus conversion ADC value is obtained in the radio frequency parameter of the communication module and minimum modules convert ADC value.
4. communication module method for detecting abnormality according to claim 1, which is characterized in that the sending abnormal prompt information
It specifically includes: the analog-to-digital conversion ADC value is shown by the display screen of communication equipment, and issue the text of the communication module exception
Word prompt information.
5. communication module method for detecting abnormality according to claim 1, which is characterized in that believe in the sending abnormal prompt
After breath, further includes: save the communication module operating mode and the analog-to-digital conversion ADC value.
6. a kind of communication module abnormal detector characterized by comprising
Computing unit is obtained, the RF output end for obtaining the communication module by the coupler of the communication module is being set
The radiofrequency signal emitted under fixed operating mode;
Detection processing is carried out to the radiofrequency signal by the wave detector of the communication module, obtains the base band of the radiofrequency signal
Signal, and the baseband signal is converted to by corresponding digital signal by the analog-digital converter of the communication module, it calculates
The corresponding analog-to-digital conversion ADC value of the digital signal;
Acquiring unit, for obtaining default analog-to-digital conversion ADC value range corresponding with the operating mode of the communication module,
Described in operating mode include wireless transmission standards agreement and transmission rate;
Judging unit, for judging whether the analog-to-digital conversion ADC value is within the scope of the default analog-to-digital conversion ADC value;
Prompt unit issues different if being not in the default analog-to-digital conversion ADC value range for the analog-to-digital conversion ADC value
Normal prompt information, the transmission power for being used to indicate the communication module are abnormal.
7. communication module abnormal detector according to claim 6, which is characterized in that the communication module abnormality detection
Device further includes setting unit and storage unit;Wherein, the setting unit works for the communication module to be arranged at every kind
The maximum power value and minimal power values of the radiofrequency signal emitted under mode;The maximum power is obtained according to calibration file
The conversion ADC value of maximum modulus corresponding to value and minimal power values and minimum modules convert ADC value;
The storage unit is for storing maximum modulus conversion ADC value and minimum modules conversion ADC value, wherein it is described most
Large modulus conversion ADC value and minimum modules convert ADC value as two endpoint values of the default analog-to-digital conversion ADC value range.
8. communication module abnormal detector according to claim 7, which is characterized in that the storage unit is specifically used for
The maximum modulus is converted into ADC value and minimum modules conversion ADC value is stored in the radio frequency parameter of the communication module;
The acquiring unit is specifically used for obtaining maximum modulus conversion ADC value and minimum from the radio frequency parameter of the communication module
Analog-to-digital conversion ADC value.
9. communication module abnormal detector according to claim 6, which is characterized in that the prompt unit is specifically used for
The analog-to-digital conversion ADC value is shown by the display screen of communication equipment, and issues the text prompt letter of the communication module exception
Breath.
10. a kind of mobile terminal, which is characterized in that the mobile terminal includes any one communication module of claim 6 to 9
Abnormal detector.
11. a kind of storage medium, is stored thereon with computer program, which is characterized in that when the computer program is mobile whole
When being run on end, so that mobile terminal execution communication module method for detecting abnormality for example described in any one of claim 1 to 5
In step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610809679.8A CN106211228B (en) | 2016-09-07 | 2016-09-07 | Communication module method for detecting abnormality and device, 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 method for detecting abnormality and device, 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 Active CN106211228B (en) | 2016-09-07 | 2016-09-07 | Communication module method for detecting abnormality and device, 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 active Active
Also Published As
Publication number | Publication date |
---|---|
CN106211228A (en) | 2016-12-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101670785B1 (en) | Inspection Device for Angular Velocity Sensor | |
CN105203980B (en) | A kind of power quality self-checking system and its self checking method | |
CN105607085B (en) | A kind of general Beidou subscriber machine test macro and method | |
US10613119B2 (en) | Voltage measurement and wireless communication system | |
JP3168701U (en) | Digitized sensor system | |
CN104614607B (en) | A kind of method of testing and test system | |
CN106211228B (en) | Communication module method for detecting abnormality and device, mobile terminal | |
US11175325B2 (en) | Power analyzer system as well as power analyzer setup | |
CN109901055A (en) | A kind of OBD equipment performance test macro | |
JP2015095265A (en) | Method for testing wireless output of smart device and wireless transmission network analysis tool | |
CN104198879A (en) | Polarity tester | |
CN217687601U (en) | MCU temperature sensor ATE equipment | |
CN108241089A (en) | Detection device | |
CN111351994B (en) | System for realizing automatic test for wireless charging device and corresponding method | |
CN109444803A (en) | A kind of automatic calibration of electric energy meter system wiring column pressure test method and device | |
CN210181590U (en) | MCU parameter testing system | |
CN205643480U (en) | Novel take pincerlike meter of radio communication function | |
CN203714184U (en) | Testing system of navigation device | |
CN201166695Y (en) | Fault detection case | |
CN203984098U (en) | A kind of device for quick testing of powerline network | |
CN203231830U (en) | PCB temperature test circuit | |
CN111641462A (en) | Interphone, interphone battery and power abnormity detection method | |
CN109709410A (en) | A kind of noise source and its application method based on USB | |
CN110672264A (en) | Detection system and detection method for pressure sensor of micro-electro-mechanical system | |
CN216209483U (en) | Electromagnetic environment detection system |
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: OPPO Guangdong Mobile Communications Co., Ltd. Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before: Guangdong OPPO Mobile Communications Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |