CN112671482A - Wireless module testing method and device - Google Patents

Wireless module testing method and device Download PDF

Info

Publication number
CN112671482A
CN112671482A CN202011499350.9A CN202011499350A CN112671482A CN 112671482 A CN112671482 A CN 112671482A CN 202011499350 A CN202011499350 A CN 202011499350A CN 112671482 A CN112671482 A CN 112671482A
Authority
CN
China
Prior art keywords
tested
equipment
test
frequency
frequency hopping
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.)
Granted
Application number
CN202011499350.9A
Other languages
Chinese (zh)
Other versions
CN112671482B (en
Inventor
魏伟伟
黄增锋
陈光胜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Eastsoft Microelectronics Co ltd
Original Assignee
Shanghai Eastsoft Microelectronics Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shanghai Eastsoft Microelectronics Co ltd filed Critical Shanghai Eastsoft Microelectronics Co ltd
Priority to CN202011499350.9A priority Critical patent/CN112671482B/en
Publication of CN112671482A publication Critical patent/CN112671482A/en
Application granted granted Critical
Publication of CN112671482B publication Critical patent/CN112671482B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Monitoring And Testing Of Transmission In General (AREA)

Abstract

The method and the device for testing the wireless module comprise the following steps: the method comprises the steps that a standard device and a device to be tested determine frequency hopping groups used for testing, and different working tables adopt different frequency hopping groups; the method comprises the steps that standard equipment and equipment to be tested screen frequency hopping frequency points used for testing from frequency hopping groups used for testing, and each wireless module to be tested in the equipment to be tested of the same workbench adopts the same frequency hopping frequency point; and testing each wireless module to be tested in the equipment to be tested on the frequency hopping frequency point used by the screened test by the standard equipment and the equipment to be tested. The invention realizes the batch test of the wireless module to be tested in the equipment to be tested and avoids the mutual interference in the batch test process by screening frequency points with less interference, frequency hopping communication modes, different frequency hopping groups used by different workbenches, unique ID numbers adopted by each equipment and other technical means.

Description

Wireless module testing method and device
Technical Field
The present invention relates to the field of wireless communications, and in particular, to a method and an apparatus for testing a wireless module.
Related terms
Wireless Module (Wireless Module): the PCB modularized product integrates a wireless transceiving function chip and peripheral components, and is connected with a main control board to realize a wireless data communication function under the control of a microcontroller on the main control board.
Id (identification): and (5) identity certification.
Dut (device Under test): and (5) equipment to be tested.
Std (standard device): standard equipment.
MUT (Module Under test): and the wireless module to be tested.
Stm (standard module): a standard wireless module.
RSSI (receive Signal Strength indicator): a signal energy indication is received.
Background
With the increase of wireless communication products, more and more wireless modules are widely used. Before the wireless module leaves the factory, the wireless module needs to be tested, for example, whether indexes such as transmission power, receiving sensitivity and the like reach the standard or not.
The prior art wireless module test scheme has the following defects:
1) generally, only one wireless module can be tested at a time, or a mode of routing inspection and testing one by one (essentially, one test is still adopted), so that the defect of low testing efficiency exists;
2) if a plurality of modules are to be tested simultaneously, the defects of complex test system, high test cost (for example, expensive test instruments such as a radio frequency signal analyzer and a switch need to be used), and the like, are caused, and the radio frequency instrument can only be connected by using a cable, so that the wireless module of an integrated antenna (such as a PCB antenna) cannot be tested;
3) the prior art has poor interference resistance in the test process, and when a plurality of stations (namely work stations) are tested simultaneously, the stations can interfere with each other.
Therefore, a testing method capable of testing a plurality of wireless modules simultaneously without high cost and complexity is needed to improve the testing efficiency of the wireless modules. So as to adapt to the large-scale production test of the wireless module.
Disclosure of Invention
The technical problem solved by the invention is as follows: how to avoid mutual interference during batch testing and test wireless modules to be tested in batches under the condition of controlling the testing cost and the system complexity, thereby improving the testing efficiency.
In order to solve the above technical problem, an embodiment of the present invention provides a method for testing a wireless module, including:
the method comprises the steps that a standard device and a device to be tested determine frequency hopping groups used for testing, wherein the frequency hopping groups are provided with a plurality of groups, different frequency hopping groups are adopted by different work stations, each work station comprises the standard device and the device to be tested, the device to be tested comprises a plurality of wireless modules to be tested, and the standard device and the device to be tested of the same work station use the same frequency hopping group in the testing process;
the method comprises the steps that standard equipment and equipment to be tested screen frequency hopping frequency points used for testing from frequency hopping groups used for testing, wherein the same frequency hopping frequency point is adopted by each wireless module to be tested in the equipment to be tested of the same workbench;
and the standard equipment and the equipment to be tested test each wireless module to be tested in the equipment to be tested on the frequency hopping frequency points used by the screened test, wherein,
the wireless modules to be tested in the equipment to be tested on the same workbench simultaneously perform receiving function test with the standard module in the standard equipment, and/or the wireless modules to be tested in the equipment to be tested on the same workbench alternately perform transmitting function test with the standard module in the standard equipment;
the method comprises the steps that a wireless module to be tested in the equipment to be tested and a standard module in standard equipment respectively determine whether the receiving function and/or the transmitting function of the wireless module to be tested pass the test by judging whether the RSSI value of a received signal of the wireless module to be tested and the RSSI value of a received signal of the standard module are within a preset range;
calibrating the RSSI compensation value corresponding to the wireless module to be detected according to the difference of the positions of the wireless modules to be detected in the equipment to be detected, so that the RSSI values of the wireless modules to be detected in the equipment to be detected are consistent after compensation;
and distinguishing the standard equipment and the equipment to be tested with the same frequency point in the same workbench or different workbenches according to the difference of the ID numbers of the standard equipment and the equipment to be tested.
Optionally, the standard device is a comparison device carrying a standard wireless module and a microprocessor, and the standard wireless module in the standard device is calibrated in advance.
Optionally, each frequency hopping group has a plurality of frequency hopping points, and the frequency hopping points in each frequency hopping group are numbered in advance according to a certain sequence.
Optionally, the standard device and the device under test respectively determine the frequency hopping group used for the test by reading the external input value.
Optionally, the step of screening frequency hopping points used in the test from the frequency hopping group used in the test by the standard device and the device to be tested includes:
the standard equipment sends a multi-frame frequency point detection frame on a first frequency point in a frequency hopping group used for testing;
the standard equipment waits for receiving a frequency point detection response frame sent by the equipment to be detected;
if the standard equipment receives the frequency point detection response frame within the preset time, the standard equipment marks the interference condition of the frequency point according to the information in the frequency point detection response frame;
after the interference condition of the frequency point is marked, or if the standard equipment does not receive the frequency point detection response frame within the preset time, switching to the next frequency hopping frequency point in the frequency hopping group used for testing, and repeatedly executing the process until the testing of all the frequency points in the frequency hopping group used is completed;
the standard equipment determines the frequency hopping frequency points used for testing according to the interference condition of each frequency point in the frequency hopping group used for testing;
and the standard equipment sends a frequency point confirmation frame to the equipment to be tested, wherein the frequency point confirmation frame comprises information about the screened frequency hopping frequency point used for testing.
Optionally, the step of screening frequency hopping points used in the test from the frequency hopping group used in the test by the standard device and the device to be tested includes:
the equipment to be tested waits for receiving the frequency point detection frame sent by the standard equipment on the first frequency point in the frequency hopping group used for testing;
if the equipment to be tested receives the frequency point detection frame within the preset time, the equipment to be tested marks the interference condition of the frequency point according to the frame number of the received frequency point detection frame;
after the interference condition of the frequency point is marked, the equipment to be tested sends a frequency point response frame to the standard equipment, wherein the frequency point response frame contains information about the interference condition of the frequency point;
and switching the equipment to be tested to the next frequency hopping frequency point in the frequency hopping group used for testing, and repeatedly executing the process until all the frequency points in the frequency hopping group used are completed and the test of the frequency point detection confirmation frame is received.
Optionally, the standard device and the device to be tested test each wireless module to be tested in the device to be tested on the frequency hopping point used for the screened test, including:
the standard equipment sends a test request on a frequency hopping point used for testing;
the standard equipment waits for receiving a test response sent by the equipment to be tested;
if the standard equipment does not receive the test response within the preset time, switching to the next frequency hopping frequency point in the frequency hopping frequency points used for the test, and repeatedly executing the process;
if the standard equipment receives the test response within the preset time, the standard equipment respectively calculates whether each wireless module to be tested, which sends the test response, in the equipment to be tested passes the test according to the received test response and the RSSI value, writes information about whether each wireless module to be tested, which sends the test response, in the equipment to be tested passes the test into a test confirmation frame, and sends the information to the equipment to be tested;
and repeatedly executing the process to perform the next round of test until the test of all the wireless modules is completed.
Optionally, the standard device and the device to be tested test each wireless module to be tested in the device to be tested on the frequency hopping point used for the screened test, including:
the equipment to be tested receives a test request on a frequency hopping frequency point used by a test;
if the device to be tested does not receive the test request within the preset time, switching to the next frequency hopping frequency point in the frequency hopping frequency points used for testing to continue receiving the test request;
if the equipment to be tested receives the test request within the preset time, the equipment to be tested controls the wireless modules to be tested, of which the RSSI values are within the preset range, in the wireless modules to be tested to send test responses in turn, then the equipment to be tested waits for receiving the test confirmation frame within the preset time, and then the equipment to be tested waits for receiving the test confirmation frame within the preset time;
if the equipment to be tested does not receive the test confirmation frame within the preset time, the equipment to be tested controls each wireless module to be tested to switch to the next frequency hopping frequency point in the frequency hopping frequency points used for testing to continuously wait for receiving the test confirmation frame;
and if the equipment to be tested receives the test confirmation frame, the equipment to be tested determines and records whether each wireless module to be tested in the equipment to be tested passes the test or not according to the received test confirmation frame.
Optionally, if all wireless modules to be tested in the equipment to be tested pass the test, determining that all wireless modules to be tested in the equipment to be tested are good products; if the test of part or all of the wireless modules to be tested in the equipment to be tested fails, controlling the wireless modules to be tested which fail in the test to switch frequency points and re-receiving the test request; if part or all of the wireless modules to be tested in the equipment to be tested still fail to be tested within the preset time, the wireless modules which fail to be tested in the equipment to be tested are judged to be defective products.
Optionally, a test key is provided, and if it is detected that the test key is pressed, the current wireless module to be tested is tested again.
In order to solve the above technical problem, an embodiment of the present invention further provides a wireless module testing apparatus, including:
a processor adapted to load and execute instructions of a software program;
a memory adapted to store a software program comprising instructions for performing the steps of:
the method comprises the steps that a standard device and a device to be tested determine frequency hopping groups used for testing, wherein the frequency hopping groups are provided with a plurality of groups, different frequency hopping groups are adopted by different work stations, each work station comprises the standard device and the device to be tested, the device to be tested comprises a plurality of wireless modules to be tested, and the standard device and the device to be tested of the same work station use the same frequency hopping group in the testing process;
the method comprises the steps that standard equipment and equipment to be tested screen frequency hopping frequency points used for testing from frequency hopping groups used for testing, wherein the same frequency hopping frequency point is adopted by each wireless module to be tested in the equipment to be tested of the same workbench;
and the standard equipment and the equipment to be tested test each wireless module to be tested in the equipment to be tested on the frequency hopping frequency points used by the screened test, wherein,
the wireless modules to be tested in the equipment to be tested on the same workbench simultaneously perform receiving function test with the standard module in the standard equipment, and/or the wireless modules to be tested in the equipment to be tested on the same workbench alternately perform transmitting function test with the standard module in the standard equipment;
the method comprises the steps that a wireless module to be tested in the equipment to be tested and a standard module in standard equipment respectively determine whether the receiving function and/or the transmitting function of the wireless module to be tested pass the test by judging whether the RSSI value of a received signal of the wireless module to be tested and the RSSI value of a received signal of the standard module are within a preset range;
calibrating the RSSI compensation value corresponding to the wireless module to be detected according to the difference of the positions of the wireless modules to be detected in the equipment to be detected, so that the RSSI values of the wireless modules to be detected in the equipment to be detected are consistent after compensation;
and distinguishing the standard equipment and the equipment to be tested with the same frequency point in the same workbench or different workbenches according to the difference of the ID numbers of the standard equipment and the equipment to be tested.
Optionally, the step of screening frequency hopping points used in the test from the frequency hopping group used in the test by the standard device and the device to be tested includes:
the standard equipment sends a multi-frame frequency point detection frame on a first frequency point in a frequency hopping group used for testing;
the standard equipment waits for receiving a frequency point detection response frame sent by the equipment to be detected;
if the standard equipment receives the frequency point detection response frame within the preset time, the standard equipment marks the interference condition of the frequency point according to the information in the frequency point detection response frame;
after the interference condition of the frequency point is marked, or if the standard equipment does not receive the frequency point detection response frame within the preset time, switching to the next frequency hopping frequency point in the frequency hopping group used for testing, and repeatedly executing the process until the testing of all the frequency points in the frequency hopping group used is completed;
the standard equipment determines the frequency hopping frequency points used for testing according to the interference condition of each frequency point in the frequency hopping group used for testing;
and the standard equipment sends a frequency point confirmation frame to the equipment to be tested, wherein the frequency point confirmation frame comprises information about the screened frequency hopping frequency point used for testing.
Optionally, the step of screening frequency hopping points used in the test from the frequency hopping group used in the test by the standard device and the device to be tested includes:
the equipment to be tested waits for receiving the frequency point detection frame sent by the standard equipment on the first frequency point in the frequency hopping group used for testing;
if the equipment to be tested receives the frequency point detection frame within the preset time, the equipment to be tested marks the interference condition of the frequency point according to the frame number of the received frequency point detection frame;
after the interference condition of the frequency point is marked, the equipment to be tested sends a frequency point response frame to the standard equipment, wherein the frequency point response frame contains information about the interference condition of the frequency point;
and switching the equipment to be tested to the next frequency hopping frequency point in the frequency hopping group used for testing, and repeatedly executing the process until all the frequency points in the frequency hopping group used are completed and the test of the frequency point detection confirmation frame is received.
Optionally, the standard device and the device to be tested test each wireless module to be tested in the device to be tested on the frequency hopping point used for the screened test, including:
the equipment to be tested receives a test request on a frequency hopping frequency point used by a test;
if the device to be tested does not receive the test request within the preset time, switching to the next frequency hopping frequency point in the frequency hopping frequency points used for testing to continue receiving the test request;
if the equipment to be tested receives the test request within the preset time, the equipment to be tested controls the wireless modules to be tested, of which the RSSI values are within the preset range, in the wireless modules to be tested to send test responses in turn, then the equipment to be tested waits for receiving the test confirmation frame within the preset time, and then the equipment to be tested waits for receiving the test confirmation frame within the preset time;
if the equipment to be tested does not receive the test confirmation frame within the preset time, the equipment to be tested controls each wireless module to be tested to switch to the next frequency hopping frequency point in the frequency hopping frequency points used for testing to continuously wait for receiving the test confirmation frame;
and if the equipment to be tested receives the test confirmation frame, the equipment to be tested determines and records whether each wireless module to be tested in the equipment to be tested passes the test or not according to the received test confirmation frame.
Optionally, if all wireless modules to be tested in the equipment to be tested pass the test, determining that all wireless modules to be tested in the equipment to be tested are good products; if the test of part or all of the wireless modules to be tested in the equipment to be tested fails, controlling the wireless modules to be tested which fail in the test to switch frequency points and re-receiving the test request; if part or all of the wireless modules to be tested in the equipment to be tested still fail to be tested within the preset time, the wireless modules which fail to be tested in the equipment to be tested are judged to be defective products.
Compared with the prior art, the technical scheme of the invention has the following beneficial effects:
the method comprises the steps that a frequency hopping group used for testing is determined by standard equipment and equipment to be tested; the method comprises the steps that standard equipment and equipment to be tested screen frequency hopping frequency points used for testing from a frequency hopping group used for testing; the standard equipment and the equipment to be tested test each wireless module to be tested in the equipment to be tested on the frequency hopping points used for the screened test, and the wireless modules to be tested in the equipment to be tested can be tested in batches by screening frequency points with less interference, frequency hopping communication modes, different frequency hopping groups used by different workbenches, unique ID numbers adopted by each equipment and other technical means, and meanwhile, mutual interference in the batch testing process can be avoided (meanwhile, external interference can also be avoided).
Furthermore, a comparative testing scheme for communication with standard equipment is provided, and unqualified wireless modules are screened out by reducing the transmission power and reading the RSSI value of the wireless modules, so that the testing cost is reduced.
Furthermore, a communication process for rapidly testing a plurality of groups of wireless modules is provided, a three-stage response mechanism of request, response and confirmation is adopted, the receiving functions of a plurality of wireless modules can be tested simultaneously, the transmitting functions of the plurality of wireless modules can be tested separately, and the testing time is saved.
Furthermore, the steps specifically executed by the standard equipment and the equipment to be tested in the process of screening the frequency hopping points and testing by adopting the screened frequency hopping points are subjected to development analysis.
Drawings
FIG. 1 is a flow chart illustrating a method for testing a wireless module according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a process of selecting frequency hopping points from a frequency hopping group by a standard device according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a standard device screening frequency hopping points from a frequency hopping group according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating a process of screening frequency hopping points from a frequency hopping group by a device under test according to an embodiment of the present invention;
FIG. 5 is a flowchart illustrating a process of selecting frequency hopping points from a frequency hopping group by a device under test according to an embodiment of the present invention;
FIG. 6 is a flowchart illustrating a standard device flow during testing in an embodiment of the present invention;
FIG. 7 is a flowchart illustrating a device under test during testing according to an embodiment of the present invention;
FIG. 8 is a schematic diagram illustrating an arrangement of MUTs on a link plate of a wireless module to be tested according to an embodiment of the present invention;
FIG. 9 is a timing diagram illustrating frequency point screening transceiving in an embodiment of the present invention;
FIG. 10 is a timing diagram illustrating the successful transceiving of all modules in the embodiment of the present invention;
FIG. 11 is a flow chart of a standard device test according to an embodiment of the present invention;
FIG. 12 is a flowchart illustrating testing of a device under test according to an embodiment of the present invention.
Detailed Description
As can be seen from the analysis in the background section, the prior art wireless module testing scheme has the following drawbacks:
1) generally, only one wireless module can be tested at a time, or a mode of routing inspection and testing one by one (essentially, one test is still adopted), so that the defect of low testing efficiency exists;
2) if a plurality of modules are to be tested simultaneously, the defects of complex test system, high test cost (for example, expensive test instruments such as a radio frequency signal analyzer and a switch need to be used), and the like, are caused, and the radio frequency instrument can only be connected by using a cable, so that the wireless module of an integrated antenna (such as a PCB antenna) cannot be tested;
3) the prior art has poor interference resistance in the test process, and when a plurality of stations (namely work stations) are tested simultaneously, the stations can interfere with each other.
Therefore, as mentioned above, the invention provides a comparative testing scheme for communication with standard equipment, which reduces the transmission power and screens out unqualified wireless modules by reading the RSSI value of the wireless modules, thereby reducing the testing cost.
Meanwhile, the invention provides a communication flow for rapidly testing a plurality of groups of wireless modules, and a three-stage response mechanism of request, response and confirmation is adopted, so that the receiving functions of a plurality of wireless modules can be tested simultaneously, the transmitting functions of the plurality of wireless modules can be tested separately, and the testing time is saved.
Specifically, the standard equipment and the equipment to be tested determine a frequency hopping group used for testing; the method comprises the steps that standard equipment and equipment to be tested screen frequency hopping frequency points used for testing from a frequency hopping group used for testing; the standard equipment and the equipment to be tested test each wireless module to be tested in the equipment to be tested on the frequency hopping points used for the screened test, and the wireless modules to be tested in the equipment to be tested can be tested in batches by screening frequency points with less interference, frequency hopping communication modes, different frequency hopping groups used by different workbenches, unique ID numbers adopted by each equipment and other technical means, and meanwhile, mutual interference in the batch testing process can be avoided (meanwhile, external interference can also be avoided).
In order that those skilled in the art will better understand and realize the present invention, the following detailed description is given by way of specific embodiments with reference to the accompanying drawings.
Example one
As described below, embodiments of the present invention provide a method for testing wireless modules, which can perform batch testing on each wireless module to be tested in a device to be tested, where the test items may include a wireless signal receiving function and an index, a wireless signal sending function and an index, and the like.
Referring to the flowchart of the wireless module testing method shown in fig. 1, the following steps are described in detail:
s101, the standard equipment and the equipment to be tested determine a frequency hopping group used for testing.
The wireless module testing device comprises a plurality of working tables, wherein the working tables are provided with a plurality of groups of frequency hopping groups, different working tables adopt different frequency hopping groups (and each device adopts a unique ID number), each working table comprises standard devices and devices to be tested, the devices to be tested comprise a plurality of wireless modules to be tested, the standard devices and the devices to be tested of the same working table use the same frequency hopping group in the testing process, and the standard devices are comparison devices carrying the standard wireless modules and a microprocessor.
Before the embodiment is implemented, the standard wireless module in the standard equipment is calibrated in advance.
In this embodiment, each frequency hopping group has a plurality of frequency hopping points, and the frequency hopping points in each frequency hopping group are numbered in advance according to a certain sequence. Specifically, the numbers may be, for example, the numbers of the frequency point 0, the frequency point 1, and the frequency point 2 … ….
In some embodiments, the standard device and the device under test may respectively determine the frequency hopping set used for the test by reading an external input value, but the present invention is not limited thereto.
In some embodiments, specifically, as shown in fig. 2 and fig. 3, the step of screening, by the standard device and the device under test, frequency hopping frequency points used for the test from a frequency hopping group used for the test may include the following sub-steps:
and S1011, the standard equipment sends a multi-frame frequency point detection frame on the first frequency point in the frequency hopping group used for testing.
And S1012, the standard equipment waits for receiving the frequency point detection response frame sent by the equipment to be tested.
And S1013, the standard equipment marks the interference situation of the frequency point according to the information in the frequency point detection response frame.
Specifically, if the standard device receives the frequency point detection response frame within a predetermined time, the standard device marks the interference condition of the frequency point according to the information in the frequency point detection response frame.
And S1014, switching to the next frequency hopping point in the frequency hopping group used for testing.
Specifically, after the interference condition of the frequency point is marked, or if the standard device does not receive the frequency point detection response frame within the predetermined time, the next frequency hopping point in the frequency hopping group used for the test is switched to, and the above procedure (i.e., steps S1011 to S1014) is repeatedly executed until the test of all frequency points in the frequency hopping group used is completed.
It should be noted that the first frequency point refers to a certain frequency point in the frequency hopping group, and the frequency point may be predetermined and known in advance by the standard device and the device under test. For example, it may be predetermined that the test is started from the frequency point 0, and the frequency point 0 is known in advance by both the standard device and the device under test. When the frequency hopping frequency point is changed and the above process is repeatedly executed, the next frequency hopping frequency point is switched to, for example, the frequency point 1 is switched to (the frequency point 1 is different from the previous frequency point 0), and the frequency point 1 is also known in advance by the standard equipment and the equipment to be tested.
And S1015, the standard equipment determines the frequency hopping frequency points used in the test according to the interference condition of each frequency point in the frequency hopping group used in the test.
And S1016, the standard equipment sends a frequency point confirmation frame to the equipment to be tested, wherein the frequency point confirmation frame comprises information about the frequency hopping frequency point used by the screened test.
S102, the standard equipment and the equipment to be tested select frequency hopping points used by the test from the frequency hopping group used by the test.
The wireless modules to be tested in the equipment to be tested of the same workbench adopt the same frequency hopping point.
In some embodiments, specifically, as shown in fig. 4 and fig. 5, the step of screening, by the standard device and the device under test, frequency hopping frequency points used for the test from a frequency hopping group used for the test may include the following sub-steps:
s1021, the device to be tested waits for receiving the frequency point detection frame sent by the standard device on the first frequency point in the frequency hopping group used for testing.
In some embodiments, the standard equipment continuously transmits the multi-frame frequency point detection frame from the initial frequency point.
In some embodiments, the standard device and the device to be detected may agree in advance on the frequency hopping points to be detected and the detection order of each frequency hopping point.
And S1022, the device to be tested marks the interference condition of the frequency point according to the frame number of the received frequency point detection frame.
Specifically, if the device to be tested receives the frequency point detection frame within the predetermined time, the device to be tested marks the interference condition of the frequency point according to the number of the received frequency point detection frames.
And S1023, the equipment to be tested sends a frequency point response frame to the standard equipment, wherein the frequency point response frame contains information about the interference condition of the frequency point.
Specifically, after the interference condition of the frequency point is marked, the device to be tested sends a frequency point response frame to the standard device, where the frequency point response frame includes information about the interference condition of the frequency point.
And S1024, completing the test of all the frequency points in the used frequency hopping group and receiving the frequency point detection confirmation frame.
Specifically, the device to be tested switches to the next frequency hopping point in the frequency hopping group used for testing, and repeats the above process (i.e., steps S1021 to S1023) until all the frequency points in the frequency hopping group used are completed and a test of a frequency point detection confirmation frame is received.
In some embodiments, if the detection of all the frequency points is not completed and the detection confirmation frame is not received, the frequency point is switched, and the next frequency point is continuously tested. And if the detection is overtime, the test failure is displayed on the display equipment, and the frequency point detection mode is exited.
And S103, testing each wireless module to be tested in the equipment to be tested on the frequency hopping frequency point used by the screened test by the standard equipment and the equipment to be tested.
For the receiving function test, a plurality of wireless modules to be tested in the equipment to be tested of the same workbench and a standard module in standard equipment are simultaneously subjected to the receiving function test.
And for the emission function test, the plurality of wireless modules to be tested in the equipment to be tested on the same workbench perform the emission function test with the standard module in the standard equipment in turn.
In some embodiments, the RSSI value range may be preset, and whether the RSSI value of the received signal of the wireless module under test in the device under test/the standard module in the standard device is within the predetermined range may be determined, so as to determine whether the receiving function and/or the transmitting function of the wireless module under test passes the test.
Furthermore, the RSSI compensation value corresponding to the wireless module to be detected is calibrated according to the difference of the positions of the wireless modules to be detected in the equipment to be detected, so that the RSSI values of the wireless modules to be detected in the equipment to be detected are consistent after compensation.
In some embodiments, ID numbers may be labeled in advance for the device to be tested and the standard device, and the ID number of each device to be tested/standard device is unique, so that the standard device and the device to be tested having the same frequency point in the same workbench or different workbenches can be distinguished according to the difference in ID numbers of the standard device and the device to be tested. Further, the highest bits of the ID numbers of the devices to be tested may be unified as 0, and the highest bits of the ID numbers of the standard devices may be unified as 1, so as to be distinguished.
In some embodiments, specifically, as shown in fig. 6, for the standard device, the step of testing each wireless module to be tested in the device to be tested on the frequency hopping frequency point used for the screened test by the standard device and the device to be tested may include the following sub-steps:
and S10311, the standard equipment sends a test request on a frequency hopping frequency point used by the test.
And S10312, the standard equipment waits for receiving the test response sent by the equipment to be tested.
And S10313, switching to the next frequency hopping frequency point in the frequency hopping frequency points used in the test.
Specifically, if the standard device does not receive the test response within the predetermined time, the standard device switches to the next frequency hopping frequency point in the frequency hopping frequency points used in the test, and repeatedly executes the above process (i.e., steps S10311 to S10312).
And S10314, the standard equipment respectively calculates whether each wireless module to be tested which sends the test response in the equipment to be tested passes the test according to the received test response and the RSSI value, writes information about whether each wireless module to be tested which sends the test response in the equipment to be tested passes the test into a test confirmation frame, and sends the information to the equipment to be tested.
Specifically, if the standard device receives a test response within a predetermined time, the standard device calculates whether each wireless module to be tested, which sends the test response, in the device to be tested passes the test according to the received test response and the RSSI value, writes information about whether each wireless module to be tested, which sends the test response, in the device to be tested passes the test into a test confirmation frame, and sends the information to the device to be tested.
The above-described process (i.e., steps S10311 to S10314) is repeatedly performed to perform the next round of testing until the testing of all the wireless modules is completed.
In some embodiments, specifically, as shown in fig. 7, for the device to be tested, the testing, at the frequency hopping point used by the screened test, of each wireless module to be tested in the device to be tested may include the following sub-steps:
s10321, the device under test receives the test request at a frequency hopping point used in the test.
S10322, switching to the next frequency hopping frequency point in the frequency hopping frequency points used by the test to continue receiving the test request.
Specifically, if the device to be tested does not receive the test request within the preset time, the device to be tested is switched to the next frequency hopping frequency point in the frequency hopping frequency points used for the test to continue receiving the test request.
S10323, the device under test controls the wireless modules to be tested, whose RSSI values are within the predetermined range, in the wireless modules to be tested to send test responses in turn, and then waits to receive the test acknowledgement frame within a predetermined time.
Specifically, if the device to be tested receives the test request within the predetermined time, the device to be tested controls the wireless modules to be tested, each of which has the RSSI value within the predetermined range, to send the test response in turn, then the device to be tested waits for receiving the test acknowledgement frame within the predetermined time, and then the device to be tested waits for receiving the test acknowledgement frame within the predetermined time.
In some embodiments, if the device under test finds that the RSSI value of the wireless module under test is abnormal, the device under test marks the RSSI value and controls the device under test not to send a test response.
S10324, the device to be tested controls each wireless module to be tested to switch to the next frequency hopping frequency point in the frequency hopping frequency points used for testing to continuously wait for receiving the testing confirmation frame.
Specifically, if the device to be tested does not receive the test confirmation frame within the predetermined time, the device to be tested controls each wireless module to be tested to switch to the next frequency hopping frequency point in the frequency hopping frequency points used for testing to continue waiting for receiving the test confirmation frame.
S10325, the device under test determines and records whether each wireless module under test in the device under test passes the test according to the received test confirmation frame.
Specifically, if the device to be tested receives the test confirmation frame, the device to be tested determines and records whether each wireless module to be tested in the device to be tested passes the test according to the received test confirmation frame.
After the test process, whether each wireless module to be tested in the device to be tested is good can be determined, specifically, in some embodiments, if all the wireless modules to be tested in the device to be tested pass the test, the device to be tested is determined to be good; if the test of part or all of the wireless modules to be tested in the equipment to be tested fails, controlling the wireless modules to be tested which fail in the test to switch frequency points and re-receiving the test request; if part or all of the wireless modules to be tested in the equipment to be tested still fail to be tested within the preset time, the wireless modules which fail to be tested in the equipment to be tested are judged to be defective products.
In addition, in some embodiments, a test key is provided, and if it is detected that the test key is pressed, the current wireless module to be tested is tested again.
As can be seen from the above description of the technical solutions, in this embodiment, the standard device and the device to be tested determine the frequency hopping group used for the test; the method comprises the steps that standard equipment and equipment to be tested screen frequency hopping frequency points used for testing from a frequency hopping group used for testing; the standard equipment and the equipment to be tested test each wireless module to be tested in the equipment to be tested on the frequency hopping points used for the screened test, and the wireless modules to be tested in the equipment to be tested can be tested in batches by screening frequency points with less interference, frequency hopping communication modes, different frequency hopping groups used by different workbenches, unique ID numbers adopted by each equipment and other technical means, and meanwhile, mutual interference in the batch testing process can be avoided (meanwhile, external interference can also be avoided).
Furthermore, a communication process for rapidly testing a plurality of groups of wireless modules is provided, a three-stage response mechanism of request, response and confirmation is adopted, the receiving functions of a plurality of wireless modules can be tested simultaneously, the transmitting functions of the plurality of wireless modules can be tested separately, and the testing time is saved.
Furthermore, the steps specifically executed by the standard equipment and the equipment to be tested in the process of screening the frequency hopping points and testing by adopting the screened frequency hopping points are subjected to development analysis.
The following is further illustrated by a specific example:
assume that the device under test is equipped with a yoke plate consisting of 16 wireless Modules Under Test (MUTs). And the standard equipment and the equipment to be tested select the same frequency hopping group by reading the value of the dial switch.
For convenience of understanding, in some embodiments, when the device under test detects that the wireless module under test is installed, 1 module is detected every 50ms (the present invention has no limitation on the transmission interval), and 10 modules (the present invention has no limitation on the number of successful detections) in 16 detections pass, the test is started. The frequency hopping group consists of 2 frequency points (the invention has no limit on the frequency point number of the frequency hopping group), the transmission interval of each frame of test data packet is set to be 3ms (the invention has no limit on the transmission interval), the frequency point detection timeout time is set to be 1min, and the test timeout time is set to be 3s (the invention has no limit on the timeout time). In addition, it is assumed that the specified standard device sends 1000 packets of frequency point detection frames each time (the device to be tested receives 930 frames or more, which are interference-less frequency points), the device to be tested sends 5 packets of frequency point detection response frames each time, the standard device sends 5 packets of frequency point detection confirmation frames each time, the standard device sends 3 frames of test request data packets each time, the device to be tested sends 2N frames of test response data packets each time (N is the number of wireless modules to be tested which receive the test request and have RSSI values within the specified range, one wireless module to be tested sends 2 frames of test response packets each time), and the standard device tests 5 frames each time and confirms sending of the data packets.
In some embodiments, the MUT arrangement of the wireless module link under test may be as shown in fig. 8.
In some embodiments, the communication packet format may be as shown in the following table (the present invention is not limited to packet formats):
frequency point detection packet format of standard equipment:
Bytes 1 1 2 2 16
Field Length Type Index DUT ID Data
the frequency point detection response packet format of the equipment to be detected is as follows:
Figure BDA0002842100310000161
the frequency point detection of the equipment to be tested confirms the packet format:
Bytes 1 1 1 2 2 4
Field Length Type Index DUT ID STD ID Frequency
test request packet format for standard devices:
Bytes 1 1 1 2
Field Length Type Index DUT ID
test response packet format of the device under test:
Figure BDA0002842100310000162
test acknowledgement packet format for standard devices:
Bytes 1 1 1 2 2 2
Field Length Type Index DUT ID STD ID Pass
wherein, the fields of the data packet are described as follows:
length: indicating the packet length except for the first byte.
Type: the data packet type is represented and can be divided into three types of data packet types, namely test request, test response and test confirmation.
Index: and indicating the Index number of the data packet in the same communication stage, counting the Index from 0, adding 1 to the Index value after sending one frame of data, and clearing after sending the data packet. In this embodiment, the maximum frame number of the test request is 3, the maximum frame number of the test response is 32 (note that if there is a defective product in the device to be tested, the device to be tested sends 2N frames of test response data packets each time, N is the number of wireless modules to be tested that receive the test request and have RSSI values within a specified range, and one wireless module to be tested sends 2 frames of test response packets each time), and the maximum frame number of the test confirmation is 5.
DUT ID: represents the ID of the device under test, which must be unique with the most significant bit being 0.
STD ID: represents the ID of a standard device, which must be unique with the most significant bit being 1.
Data: data padded for increasing the transmission data length.
Frequency Pass: the frequency point test condition is shown, bit0 is 1 to show that the frequency point test condition passes, and bit0 is 0 to show that the interference is serious; a bit1 value of 1 indicates that the test of the frequency point is completed, and a bit1 value of 0 indicates that the frequency point needs to be retested.
Frequency: indicating the bin sequence number, the lower 16 bytes indicating the bin of bin 0, and the upper 16 bits being the bin of bin 1. If the frequency is 0xFFFFFF, the interference of the frequency point group is serious.
Pass: the test passing information of the wireless module to be tested in a test stage is shown, each bit represents a module, 1 represents that the test passes, and 0 represents that the test fails.
MUT SN: and indicating the serial number of the wireless module to be tested transmitted this time.
In some embodiments, the frequency bin screening transceiving timing may be as shown in fig. 9. Fig. 9 clearly describes the communication process between the standard device and the device to be tested, including the main body selection, the frequency point detection frame, the frequency point detection response frame, the time slot interval between the transmission and the reception, and the like. Fig. 10 clearly describes the communication process between the standard device and the device under test, including the selection of the transmitting and receiving main body, the test request, the test response, the transmitting and receiving time slot interval, and the transmitting and receiving polling test that traverses all the modules under test at different frequency points.
In some embodiments, the transceiving timing when all modules successfully transceive may be as shown in fig. 10.
In the above example, as shown in fig. 11, the test flow of the standard device is as follows:
after the standard equipment is powered on, firstly, a frequency hopping group is selected by reading a dial switch value, then, frequency points with less interference are screened, and after screening is completed, the standard equipment is controlled to continuously send 3 frames of test request packets at the frequency point 0, wherein the sending interval is 3 ms.
And after the standard equipment sends the test request, the standard equipment is converted into receiving and waits for receiving a test response. If the test response is not received within 9ms (the time for receiving the 3-frame test response), switching to the frequency point 1 to send a test request; if the test response is received, the receiving time is dynamically adjusted according to the information of the Index and Pass fields in the test response frame, and the test response of all the wireless modules to be tested is ensured to be received.
The calculation method for dynamically adjusting the receiving test response time of the standard equipment comprises the following steps: and calculating the total receiving time through the Pass field, calculating the received time through the Index field, and subtracting the received time from the total receiving time to obtain the residual receiving time. For example, if the received Pass field is 0xFFF0, the number of the wireless modules to be tested that receive the test request and have the RSSI value within the specified range is 12, and the total receiving time is 2 × 12 × 3ms — 72 ms; if the received Index field is 1, that is, 2 frames of test responses are currently received, and the received time is 2 × 3ms to 6 ms; the remaining reception time is: and the length of 72ms-6ms is 66 ms.
After the standard equipment receives the test response, the wireless module to be tested with the RSSI value within the standard range is marked, and the test passing information is written into the Pass field of the test confirmation frame. Then, the standard device continuously transmits 5-frame test acknowledgement packets with a transmission interval of 3 ms.
And after the standard equipment sends the test confirmation, the standard equipment sends the test request again and starts the next test.
In the above example, as shown in fig. 12, the test flow of the device under test is as follows:
after the equipment to be tested is powered on, 2 test frequency points which are the same as those of standard equipment are selected through the dial switch, then frequency points with less interference are screened, and whether the wireless module link plate to be tested is installed or not is detected after screening is completed. And if the wireless module link plate to be tested is successfully installed or the test key is pressed, the equipment to be tested controls all the wireless modules to be tested to enter a receiving mode to wait for receiving the test request.
If the device to be tested does not receive the test request within 36ms (the time of polling all frequency points once when the standard device does not receive the test response), controlling the wireless module to be tested to switch the frequency points and receiving the test request at the next frequency point; and if the equipment to be tested receives the test request, controlling the wireless modules to be tested with the RSSI value within the specified range to send test responses in turn. And each wireless module to be tested sends 2 frames of test response packets, and the sending interval is 3 ms. And if the equipment to be tested finds that the RSSI value of part of the wireless modules to be tested is abnormal, marking is carried out, and the equipment to be tested is controlled not to send test response any more.
And if the test response of the equipment to be tested is sent, controlling all the wireless modules to be tested to be received and waiting for receiving test confirmation. If the equipment to be tested does not receive the test confirmation, the test is failed, all the wireless modules to be tested are controlled to switch frequency points and are converted into receiving, a new test request is waited to be received, and the next test is started; and if the equipment to be tested receives the test confirmation, counting the information of the wireless module to be tested which passes the test according to the Pass field.
If all wireless modules to be tested pass the test, the equipment to be tested indicates that all wireless modules to be tested in the equipment to be tested are good products through the display equipment, and the test is completed; and if some wireless modules to be tested fail to be tested, the equipment to be tested controls all the wireless modules to be tested which fail to be tested to switch frequency points and convert the frequency points into receiving, waits for receiving a new test request, and starts a new round of testing. If the wireless module to be tested still fails to be tested within the overtime time of 3s, the equipment to be tested indicates which wireless modules to be tested are defective products through the display equipment, and the test is completed.
After the test is finished, if the test key is detected to be pressed down, retesting the wireless module link plate to be tested; and if the unloading of the wireless module yoke plate to be tested is detected, waiting for the installation of the next wireless module yoke plate to be tested, and starting the next test.
Due to the adoption of the technical means, compared with the prior art, the scheme of the invention has the following advantages:
the invention directly adopts the wireless communication mode for testing, avoids the limitation of connecting a testing cable and can test the wireless module of the integrated PCB antenna.
The invention uses frequency points with less air interference, and improves the anti-interference capability of the test system.
In the communication process of the standard equipment and the equipment to be tested, the invention uses the communication mode of frequency hopping, thereby improving the anti-interference capability of the single module test.
The invention adopts different frequency hopping groups for different work stations, and each device sets a unique ID scheme, thereby improving the anti-interference capability among the work stations.
The invention can automatically detect the installation and removal of the equipment to be tested, thereby reducing the test time and the operation steps.
The invention adopts a comparison method of communication with the calibrated standard equipment, and can effectively screen out the wireless module with the sensitivity or the transmitting power not reaching the standard.
The invention provides different RSSI compensation values for the equipment to be tested at each position, thereby improving the test accuracy.
The invention simplifies the testing process, can test the receiving functions of all the wireless modules simultaneously and saves the testing time.
Example two
As described below, embodiments of the present invention provide a wireless module testing apparatus.
The wireless module testing device comprises:
a processor adapted to load and execute instructions of a software program;
a memory adapted to store a software program comprising instructions for performing the steps of:
the method comprises the steps that a standard device and a device to be tested determine frequency hopping groups used for testing, wherein the frequency hopping groups are provided with a plurality of groups, different frequency hopping groups are adopted by different work stations, each work station comprises the standard device and the device to be tested, the device to be tested comprises a plurality of wireless modules to be tested, and the standard device and the device to be tested of the same work station use the same frequency hopping group in the testing process;
the method comprises the steps that standard equipment and equipment to be tested screen frequency hopping frequency points used for testing from frequency hopping groups used for testing, wherein the same frequency hopping frequency point is adopted by each wireless module to be tested in the equipment to be tested of the same workbench;
and the standard equipment and the equipment to be tested test each wireless module to be tested in the equipment to be tested on the frequency hopping frequency points used by the screened test, wherein,
the wireless modules to be tested in the equipment to be tested on the same workbench simultaneously perform receiving function test with the standard module in the standard equipment, and/or the wireless modules to be tested in the equipment to be tested on the same workbench alternately perform transmitting function test with the standard module in the standard equipment;
the method comprises the steps that a wireless module to be tested in the equipment to be tested and a standard module in standard equipment respectively determine whether the receiving function and/or the transmitting function of the wireless module to be tested pass the test by judging whether the RSSI value of a received signal of the wireless module to be tested and the RSSI value of a received signal of the standard module are within a preset range;
calibrating the RSSI compensation value corresponding to the wireless module to be detected according to the difference of the positions of the wireless modules to be detected in the equipment to be detected, so that the RSSI values of the wireless modules to be detected in the equipment to be detected are consistent after compensation;
and distinguishing the standard equipment and the equipment to be tested with the same frequency point in the same workbench or different workbenches according to the difference of the ID numbers of the standard equipment and the equipment to be tested.
In some embodiments, the screening, by the standard device and the device under test, frequency hopping points used for the test from a frequency hopping group used for the test includes:
the standard equipment sends a multi-frame frequency point detection frame on a first frequency point in a frequency hopping group used for testing;
the standard equipment waits for receiving a frequency point detection response frame sent by the equipment to be detected;
if the standard equipment receives the frequency point detection response frame within the preset time, the standard equipment marks the interference condition of the frequency point according to the information in the frequency point detection response frame;
after the interference condition of the frequency point is marked, or if the standard equipment does not receive the frequency point detection response frame within the preset time, switching to the next frequency hopping frequency point in the frequency hopping group used for testing, and repeatedly executing the process until the testing of all the frequency points in the frequency hopping group used is completed;
the standard equipment determines the frequency hopping frequency points used for testing according to the interference condition of each frequency point in the frequency hopping group used for testing;
and the standard equipment sends a frequency point confirmation frame to the equipment to be tested, wherein the frequency point confirmation frame comprises information about the screened frequency hopping frequency point used for testing.
In some embodiments, the screening, by the standard device and the device under test, frequency hopping points used for the test from a frequency hopping group used for the test includes:
the equipment to be tested waits for receiving the frequency point detection frame sent by the standard equipment on the first frequency point in the frequency hopping group used for testing;
if the equipment to be tested receives the frequency point detection frame within the preset time, the equipment to be tested marks the interference condition of the frequency point according to the frame number of the received frequency point detection frame;
after the interference condition of the frequency point is marked, the equipment to be tested sends a frequency point response frame to the standard equipment, wherein the frequency point response frame contains information about the interference condition of the frequency point;
and switching the equipment to be tested to the next frequency hopping frequency point in the frequency hopping group used for testing, and repeatedly executing the process until all the frequency points in the frequency hopping group used are completed and the test of the frequency point detection confirmation frame is received.
In some embodiments, the testing of each wireless module to be tested in the device to be tested on the frequency hopping frequency point used for the screened test by the standard device and the device to be tested includes:
the equipment to be tested receives a test request on a frequency hopping frequency point used by a test;
if the device to be tested does not receive the test request within the preset time, switching to the next frequency hopping frequency point in the frequency hopping frequency points used for testing to continue receiving the test request;
if the equipment to be tested receives the test request within the preset time, the equipment to be tested controls the wireless modules to be tested, of which the RSSI values are within the preset range, in the wireless modules to be tested to send test responses in turn, then the equipment to be tested waits for receiving the test confirmation frame within the preset time, and then the equipment to be tested waits for receiving the test confirmation frame within the preset time;
if the equipment to be tested does not receive the test confirmation frame within the preset time, the equipment to be tested controls each wireless module to be tested to switch to the next frequency hopping frequency point in the frequency hopping frequency points used for testing to continuously wait for receiving the test confirmation frame;
and if the equipment to be tested receives the test confirmation frame, the equipment to be tested determines and records whether each wireless module to be tested in the equipment to be tested passes the test or not according to the received test confirmation frame.
In some embodiments, if all the wireless modules to be tested in the equipment to be tested pass the test, the equipment to be tested is determined to be good; if the test of part or all of the wireless modules to be tested in the equipment to be tested fails, controlling the wireless modules to be tested which fail in the test to switch frequency points and re-receiving the test request; if part or all of the wireless modules to be tested in the equipment to be tested still fail to be tested within the preset time, the wireless modules which fail to be tested in the equipment to be tested are judged to be defective products.
The above description of the technical solution shows that: in this embodiment, by screening frequency points with less interference, frequency hopping communication modes, different frequency hopping groups used by different workstations, and a combination of multiple technical means such as unique ID numbers used by each device, batch testing of wireless modules to be tested in devices to be tested is achieved, and mutual interference in the batch testing process is avoided (and external interference is also avoided).
It can also be seen from the above description of the technical solution that: in this embodiment, the basic transceiving function and the technical index of the wireless module can be tested, and based on the technical scheme, the test items can be expanded according to the specific communication function and the technical index of the wireless module.
Those skilled in the art will understand that, in the methods of the embodiments, all or part of the steps can be performed by hardware associated with program instructions, and the program can be stored in a computer-readable storage medium, which can include: ROM, RAM, magnetic or optical disks, and the like.
Although the present invention is disclosed above, the present invention is not limited thereto. Various changes and modifications may be effected therein by one skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (15)

1. A method for testing a wireless module, comprising:
the method comprises the steps that a standard device and a device to be tested determine frequency hopping groups used for testing, wherein the frequency hopping groups are provided with a plurality of groups, different frequency hopping groups are adopted by different work stations, each work station comprises the standard device and the device to be tested, the device to be tested comprises a plurality of wireless modules to be tested, and the standard device and the device to be tested of the same work station use the same frequency hopping group in the testing process;
the method comprises the steps that standard equipment and equipment to be tested screen frequency hopping frequency points used for testing from frequency hopping groups used for testing, wherein the same frequency hopping frequency point is adopted by each wireless module to be tested in the equipment to be tested of the same workbench;
and the standard equipment and the equipment to be tested test each wireless module to be tested in the equipment to be tested on the frequency hopping frequency points used by the screened test, wherein,
the wireless modules to be tested in the equipment to be tested on the same workbench simultaneously perform receiving function test with the standard module in the standard equipment, and/or the wireless modules to be tested in the equipment to be tested on the same workbench alternately perform transmitting function test with the standard module in the standard equipment;
the method comprises the steps that a wireless module to be tested in the equipment to be tested and a standard module in standard equipment respectively determine whether the receiving function and/or the transmitting function of the wireless module to be tested pass the test by judging whether the RSSI value of a received signal of the wireless module to be tested and the RSSI value of a received signal of the standard module are within a preset range;
calibrating the RSSI compensation value corresponding to the wireless module to be detected according to the difference of the positions of the wireless modules to be detected in the equipment to be detected, so that the RSSI values of the wireless modules to be detected in the equipment to be detected are consistent after compensation;
and distinguishing the standard equipment and the equipment to be tested with the same frequency point in the same workbench or different workbenches according to the difference of the ID numbers of the standard equipment and the equipment to be tested.
2. The method for testing a wireless module according to claim 1, wherein the standard device is a comparison device carrying a standard wireless module and a microprocessor, and the standard wireless module in the standard device is calibrated in advance.
3. The method of claim 1, wherein each of the frequency hopping groups has a plurality of frequency hopping points, and the frequency hopping points in each of the frequency hopping groups are numbered in advance according to a predetermined sequence.
4. The wireless module testing method of claim 1, wherein the standard device and the device under test respectively determine the hopping group used for the test by reading an external input value.
5. The method for testing a wireless module according to claim 1, wherein the step of screening the frequency hopping points used in the test from the frequency hopping group used in the test by the standard device and the device under test comprises:
the standard equipment sends a multi-frame frequency point detection frame on a first frequency point in a frequency hopping group used for testing;
the standard equipment waits for receiving a frequency point detection response frame sent by the equipment to be detected;
if the standard equipment receives the frequency point detection response frame within the preset time, the standard equipment marks the interference condition of the frequency point according to the information in the frequency point detection response frame;
after the interference condition of the frequency point is marked, or if the standard equipment does not receive the frequency point detection response frame within the preset time, switching to the next frequency hopping frequency point in the frequency hopping group used for testing, and repeatedly executing the process until the testing of all the frequency points in the frequency hopping group used is completed;
the standard equipment determines the frequency hopping frequency points used for testing according to the interference condition of each frequency point in the frequency hopping group used for testing;
and the standard equipment sends a frequency point confirmation frame to the equipment to be tested, wherein the frequency point confirmation frame comprises information about the screened frequency hopping frequency point used for testing.
6. The method for testing a wireless module according to claim 1, wherein the step of screening the frequency hopping points used in the test from the frequency hopping group used in the test by the standard device and the device under test comprises:
the equipment to be tested waits for receiving the frequency point detection frame sent by the standard equipment on the first frequency point in the frequency hopping group used for testing;
if the equipment to be tested receives the frequency point detection frame within the preset time, the equipment to be tested marks the interference condition of the frequency point according to the frame number of the received frequency point detection frame;
after the interference condition of the frequency point is marked, the equipment to be tested sends a frequency point response frame to the standard equipment, wherein the frequency point response frame contains information about the interference condition of the frequency point;
and switching the equipment to be tested to the next frequency hopping frequency point in the frequency hopping group used for testing, and repeatedly executing the process until all the frequency points in the frequency hopping group used are completed and the test of the frequency point detection confirmation frame is received.
7. The method for testing the wireless module according to claim 1, wherein the step of testing each wireless module to be tested in the device to be tested on the frequency hopping points used for the screened test by the standard device and the device to be tested comprises:
the standard equipment sends a test request on a frequency hopping point used for testing;
the standard equipment waits for receiving a test response sent by the equipment to be tested;
if the standard equipment does not receive the test response within the preset time, switching to the next frequency hopping frequency point in the frequency hopping frequency points used for the test, and repeatedly executing the process;
if the standard equipment receives the test response within the preset time, the standard equipment respectively calculates whether each wireless module to be tested, which sends the test response, in the equipment to be tested passes the test according to the received test response and the RSSI value, writes information about whether each wireless module to be tested, which sends the test response, in the equipment to be tested passes the test into a test confirmation frame, and sends the information to the equipment to be tested;
and repeatedly executing the process to perform the next round of test until the test of all the wireless modules is completed.
8. The method for testing the wireless module according to claim 1, wherein the step of testing each wireless module to be tested in the device to be tested on the frequency hopping points used for the screened test by the standard device and the device to be tested comprises:
the equipment to be tested receives a test request on a frequency hopping frequency point used by a test;
if the device to be tested does not receive the test request within the preset time, switching to the next frequency hopping frequency point in the frequency hopping frequency points used for testing to continue receiving the test request;
if the equipment to be tested receives the test request within the preset time, the equipment to be tested controls the wireless modules to be tested, of which the RSSI values are within the preset range, in the wireless modules to be tested to send test responses in turn, then the equipment to be tested waits for receiving the test confirmation frame within the preset time, and then the equipment to be tested waits for receiving the test confirmation frame within the preset time;
if the equipment to be tested does not receive the test confirmation frame within the preset time, the equipment to be tested controls each wireless module to be tested to switch to the next frequency hopping frequency point in the frequency hopping frequency points used for testing to continuously wait for receiving the test confirmation frame;
and if the equipment to be tested receives the test confirmation frame, the equipment to be tested determines and records whether each wireless module to be tested in the equipment to be tested passes the test or not according to the received test confirmation frame.
9. The method according to claim 1, wherein if all the wireless modules to be tested in the device under test pass the test, all the wireless modules to be tested in the device under test are determined to be good; if the test of part or all of the wireless modules to be tested in the equipment to be tested fails, controlling the wireless modules to be tested which fail in the test to switch frequency points and re-receiving the test request; if part or all of the wireless modules to be tested in the equipment to be tested still fail to be tested within the preset time, the wireless modules which fail to be tested in the equipment to be tested are judged to be defective products.
10. The method as claimed in claim 1, wherein the test key is provided, and if the test key is detected to be pressed, the current wireless module to be tested is retested.
11. A wireless module testing device, comprising:
a processor adapted to load and execute instructions of a software program;
a memory adapted to store a software program comprising instructions for performing the steps of:
the method comprises the steps that a standard device and a device to be tested determine frequency hopping groups used for testing, wherein the frequency hopping groups are provided with a plurality of groups, different frequency hopping groups are adopted by different work stations, each work station comprises the standard device and the device to be tested, the device to be tested comprises a plurality of wireless modules to be tested, and the standard device and the device to be tested of the same work station use the same frequency hopping group in the testing process;
the method comprises the steps that standard equipment and equipment to be tested screen frequency hopping frequency points used for testing from frequency hopping groups used for testing, wherein the same frequency hopping frequency point is adopted by each wireless module to be tested in the equipment to be tested of the same workbench;
and the standard equipment and the equipment to be tested test each wireless module to be tested in the equipment to be tested on the frequency hopping frequency points used by the screened test, wherein,
the wireless modules to be tested in the equipment to be tested on the same workbench simultaneously perform receiving function test with the standard module in the standard equipment, and/or the wireless modules to be tested in the equipment to be tested on the same workbench alternately perform transmitting function test with the standard module in the standard equipment;
the method comprises the steps that a wireless module to be tested in the equipment to be tested and a standard module in standard equipment respectively determine whether the receiving function and/or the transmitting function of the wireless module to be tested pass the test by judging whether the RSSI value of a received signal of the wireless module to be tested and the RSSI value of a received signal of the standard module are within a preset range;
calibrating the RSSI compensation value corresponding to the wireless module to be detected according to the difference of the positions of the wireless modules to be detected in the equipment to be detected, so that the RSSI values of the wireless modules to be detected in the equipment to be detected are consistent after compensation;
and distinguishing the standard equipment and the equipment to be tested with the same frequency point in the same workbench or different workbenches according to the difference of the ID numbers of the standard equipment and the equipment to be tested.
12. The apparatus for testing a wireless module according to claim 11, wherein the step of selecting the frequency hopping points used in the test from the frequency hopping group used in the test by the standard device and the device under test comprises:
the standard equipment sends a multi-frame frequency point detection frame on a first frequency point in a frequency hopping group used for testing;
the standard equipment waits for receiving a frequency point detection response frame sent by the equipment to be detected;
if the standard equipment receives the frequency point detection response frame within the preset time, the standard equipment marks the interference condition of the frequency point according to the information in the frequency point detection response frame;
after the interference condition of the frequency point is marked, or if the standard equipment does not receive the frequency point detection response frame within the preset time, switching to the next frequency hopping frequency point in the frequency hopping group used for testing, and repeatedly executing the process until the testing of all the frequency points in the frequency hopping group used is completed;
the standard equipment determines the frequency hopping frequency points used for testing according to the interference condition of each frequency point in the frequency hopping group used for testing;
and the standard equipment sends a frequency point confirmation frame to the equipment to be tested, wherein the frequency point confirmation frame comprises information about the screened frequency hopping frequency point used for testing.
13. The apparatus for testing a wireless module according to claim 11, wherein the step of selecting the frequency hopping points used in the test from the frequency hopping group used in the test by the standard device and the device under test comprises:
the equipment to be tested waits for receiving the frequency point detection frame sent by the standard equipment on the first frequency point in the frequency hopping group used for testing;
if the equipment to be tested receives the frequency point detection frame within the preset time, the equipment to be tested marks the interference condition of the frequency point according to the frame number of the received frequency point detection frame;
after the interference condition of the frequency point is marked, the equipment to be tested sends a frequency point response frame to the standard equipment, wherein the frequency point response frame contains information about the interference condition of the frequency point;
and switching the equipment to be tested to the next frequency hopping frequency point in the frequency hopping group used for testing, and repeatedly executing the process until all the frequency points in the frequency hopping group used are completed and the test of the frequency point detection confirmation frame is received.
14. The wireless module testing device according to claim 11, wherein the testing of each wireless module to be tested in the devices to be tested at the frequency hopping point used in the screened test by the standard device and the devices to be tested comprises:
the equipment to be tested receives a test request on a frequency hopping frequency point used by a test;
if the device to be tested does not receive the test request within the preset time, switching to the next frequency hopping frequency point in the frequency hopping frequency points used for testing to continue receiving the test request;
if the equipment to be tested receives the test request within the preset time, the equipment to be tested controls the wireless modules to be tested, of which the RSSI values are within the preset range, in the wireless modules to be tested to send test responses in turn, then the equipment to be tested waits for receiving the test confirmation frame within the preset time, and then the equipment to be tested waits for receiving the test confirmation frame within the preset time;
if the equipment to be tested does not receive the test confirmation frame within the preset time, the equipment to be tested controls each wireless module to be tested to switch to the next frequency hopping frequency point in the frequency hopping frequency points used for testing to continuously wait for receiving the test confirmation frame;
and if the equipment to be tested receives the test confirmation frame, the equipment to be tested determines and records whether each wireless module to be tested in the equipment to be tested passes the test or not according to the received test confirmation frame.
15. The apparatus according to claim 11, wherein if all the wireless modules under test in the device under test pass the test, all the wireless modules under test in the device under test are determined to be good; if the test of part or all of the wireless modules to be tested in the equipment to be tested fails, controlling the wireless modules to be tested which fail in the test to switch frequency points and re-receiving the test request; if part or all of the wireless modules to be tested in the equipment to be tested still fail to be tested within the preset time, the wireless modules which fail to be tested in the equipment to be tested are judged to be defective products.
CN202011499350.9A 2020-12-17 2020-12-17 Wireless module testing method and device Active CN112671482B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011499350.9A CN112671482B (en) 2020-12-17 2020-12-17 Wireless module testing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011499350.9A CN112671482B (en) 2020-12-17 2020-12-17 Wireless module testing method and device

Publications (2)

Publication Number Publication Date
CN112671482A true CN112671482A (en) 2021-04-16
CN112671482B CN112671482B (en) 2022-08-26

Family

ID=75405108

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011499350.9A Active CN112671482B (en) 2020-12-17 2020-12-17 Wireless module testing method and device

Country Status (1)

Country Link
CN (1) CN112671482B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113472458A (en) * 2021-06-30 2021-10-01 珠海泰芯半导体有限公司 Method, device, equipment, storage medium and system for testing performance of wireless equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1433165A (en) * 2002-01-18 2003-07-30 金桥电子实业股份有限公司 Measurement device and method for micropower short-wave FM radio set
CN103884979A (en) * 2014-03-13 2014-06-25 江苏钜芯集成电路技术有限公司 Batch test method of wireless two-in-one mouse end chips
CN104159324A (en) * 2014-09-09 2014-11-19 苏州卓永信息技术有限公司 Data transmission method on basis of 433MhzRF
WO2015111807A1 (en) * 2014-01-21 2015-07-30 주식회사 씨엔케이테크놀로지스 Test device for wireless communication equipment
CN106708007A (en) * 2016-11-14 2017-05-24 乐视控股(北京)有限公司 Electronic equipment batch test method, apparatus and electronic equipment thereof
CN108089112A (en) * 2017-11-17 2018-05-29 芯海科技(深圳)股份有限公司 A kind of Bluetooth electronic scale PCBA batch testing methods and system
CN111212387A (en) * 2020-03-16 2020-05-29 纳瓦电子(上海)有限公司 Test method and system for wireless equipment, electronic equipment and test device
CN111726177A (en) * 2019-11-01 2020-09-29 深圳市通用测试系统有限公司 Wireless performance test method, device, system, equipment and storage medium of wireless equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1433165A (en) * 2002-01-18 2003-07-30 金桥电子实业股份有限公司 Measurement device and method for micropower short-wave FM radio set
WO2015111807A1 (en) * 2014-01-21 2015-07-30 주식회사 씨엔케이테크놀로지스 Test device for wireless communication equipment
CN103884979A (en) * 2014-03-13 2014-06-25 江苏钜芯集成电路技术有限公司 Batch test method of wireless two-in-one mouse end chips
CN104159324A (en) * 2014-09-09 2014-11-19 苏州卓永信息技术有限公司 Data transmission method on basis of 433MhzRF
CN106708007A (en) * 2016-11-14 2017-05-24 乐视控股(北京)有限公司 Electronic equipment batch test method, apparatus and electronic equipment thereof
CN108089112A (en) * 2017-11-17 2018-05-29 芯海科技(深圳)股份有限公司 A kind of Bluetooth electronic scale PCBA batch testing methods and system
CN111726177A (en) * 2019-11-01 2020-09-29 深圳市通用测试系统有限公司 Wireless performance test method, device, system, equipment and storage medium of wireless equipment
CN111212387A (en) * 2020-03-16 2020-05-29 纳瓦电子(上海)有限公司 Test method and system for wireless equipment, electronic equipment and test device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113472458A (en) * 2021-06-30 2021-10-01 珠海泰芯半导体有限公司 Method, device, equipment, storage medium and system for testing performance of wireless equipment
CN113472458B (en) * 2021-06-30 2023-09-26 珠海泰芯半导体有限公司 Radio frequency performance test method, device, storage medium and system

Also Published As

Publication number Publication date
CN112671482B (en) 2022-08-26

Similar Documents

Publication Publication Date Title
KR101865893B1 (en) Method for testing wireless devices using predefined test segments initiated by over-the-air signal characteristics
KR101843534B1 (en) Achieving greater test efficiencies using acknowledgement signal suppression
JP6271520B2 (en) Efficient parallel test method for time division duplex (TDD) communication systems
US8731493B2 (en) Wireless local area network test system with forced transmit rates during protocol-based testing
CN102298685B (en) Automotive electronic radio-frequency identification parameter detecting system based on virtual instrument
CN101174907B (en) Testing device for radio frequency veneer
WO2013015875A1 (en) System and method for deterministic testing of packet error rate in electronic devices
CN112671482B (en) Wireless module testing method and device
CN102299749A (en) Multi-channel testing device and method for RRUs (remote radio units)
CN111541502A (en) System and method for testing WiFi module
CN110191483A (en) A kind of Performance Test System and method for Wifi mould group
US20110250847A1 (en) Method for testing appliances for a mobile-radio system, signal generator, appliance for a mobile-radio system, and a measurement system
CN100477577C (en) Method for determining interference and terminal device
CN101138188A (en) Method of determining an error rate and a suitable testing device
CN101039443B (en) Method for positioning and displaying television function fault of digital television reception terminal
CN109120356A (en) A kind of the radio frequency path loss measurement method and system of the high accuracy based on passive RFID
CN110412496B (en) Test function quick self-checking circuit and method for integrated circuit multi-parameter tester
CN116887075A (en) V2X reliability test automatic monitoring method
CN101668228A (en) Device and method for testing interface
CN114205008B (en) Low-cost radio frequency transceiver batch test method, device and system
CN213073124U (en) Low-power consumption bluetooth test equipment
CN115334485A (en) Bluetooth device testing device and Bluetooth testing system
CN115065426A (en) Production measurement and control system and method for wireless router product
CN102655435A (en) Signal testing system and method of multi-antenna wireless network card
CN101860881B (en) Transceiver module based on time division duplex and processing method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant