Testing method of WIFI equipment

The RF transmission and reception performance test of the WIFI device to be tested is realized through the RF optical cable and the PC terminal control is used, which solves the problem of high instrument costs in the existing technology, saves production costs and simplifies the testing process.

CN119602884APending Publication Date: 2025-03-11SHENZHEN ICOMM SEMICON CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411336023.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-09-25
Filing Date
2024-09-24
Publication Date
2025-03-11

Smart Images

  • Figure CN119602884A_ABST
    Figure CN119602884A_ABST
Patent Text Reader

Abstract

The invention discloses a method for testing WIFI (Wireless Fidelity) equipment. Comprising the following steps: connecting radio frequency input / output interfaces of two to-be-tested WIFI devices through a radio frequency optical cable to form a transmission channel; according to the port supported by the WIFI chip of the to-be-tested WIFI device, connecting the to-be-tested WIFI device to a PC end; the PC end receives a test control instruction; the PC end controls the two WIFI devices to be tested to execute data processing of the WIFI chip based on the transmission channel so as to carry out radio frequency sending performance testing and radio frequency receiving performance testing on the WIFI chip, and a sending performance testing result and a receiving performance testing result are obtained; and the PC terminal calibrates the WIFI chip based on the sending performance test result and the receiving performance test result so as to screen good products / defective products. When the WIFI equipment in the production process is tested, only a port supported by the WIFI chip needs to be provided, an additional third-party test instrument is not needed, direct operation can be achieved through a PC terminal, the time for developing a production test program is saved, and meanwhile additional time and manpower are saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of WIFI product testing, and in particular to a testing method for WIFI equipment. Background Art

[0002] With the evolution of wireless technology, WIFI has progressed to the seventh generation of technology, but the requirements for instruments required for product production are increasing and becoming more expensive. The original instruments usually do not support new technical solutions. During product production, multiple instruments are usually required to complete production line efficiency, and the need to continuously purchase new instruments is a considerable burden. Summary of the invention

[0003] The object of the present invention is to provide a test method for a WIFI device, so as to solve the technical problem in the prior art that a test instrument is required to test the WIFI device, which causes high cost.

[0004] The various technical effects that can be produced by the optional technical solutions among the various technical solutions provided by the present invention are described in detail below.

[0005] To achieve the above object, the present invention provides the following technical solutions:

[0006] In a first aspect, the present application provides a method for testing a WIFI device, comprising:

[0007] Connect the RF input / output interfaces of the two WIFI devices to be tested through RF optical cables to form a transmission channel for RF transmission signals and RF reception signals;

[0008] Connecting the WIFI device to be tested to the PC according to the port supported by the WIFI chip of the WIFI device to be tested;

[0009] The PC receives a test control instruction; the test control instruction includes a sending performance test control instruction and a receiving performance test control instruction;

[0010] Based on the test control instruction, the PC controls the two WIFI devices to be tested to perform data processing of the sending signal and the receiving signal by the WIFI chip of the WIFI device to be tested based on the transmission channel, so as to perform a radio frequency sending performance test and a radio frequency receiving performance test on the WIFI chip of the WIFI device to be tested, and obtain a sending performance test result and a receiving performance test result;

[0011] The PC calibrates the WIFI chip or performs good / bad product screening based on the transmission performance test result and the reception performance test result.

[0012] In some embodiments, the ports supported by the WIFI chip include any one of USB / Ethernet / SDIO / UART, and the data processing of the sending signal and the receiving signal includes activating the WIFI chip, outputting the RF sending signal, outputting the RF receiving signal, and reading the data involved in the operation completed when the WIFI chip executes the sending signal or the receiving signal.

[0013] In some embodiments, the two WIFI devices to be tested are respectively a first WIFI device to be tested and a second WIFI device to be tested, the first WIFI device to be tested has a first WIFI chip, and the second WIFI device to be tested has a second WIFI chip; the PC end controls the two WIFI devices to be tested to perform data processing of the transmitted signal and the received signal by the WIFI chip of the WIFI device to be tested based on the transmission channel based on the test control instruction, so as to perform a radio frequency transmission performance test on the WIFI chip of the WIFI device to be tested, including:

[0014] The PC sends a radio frequency transmission test instruction to the first WIFI device to be tested and the second WIFI device to be tested according to the transmission performance test instruction;

[0015] After receiving the radio frequency transmission test instruction sent by the PC, the first WIFI device to be tested sets the transmission parameters according to the product requirements of the first WIFI chip, thereby sending the first radio frequency TX signal in the transmission channel according to the transmission parameters;

[0016] After receiving the radio frequency transmission test instruction sent by the PC, the second WIFI device to be tested enters a signal receiving mode, and receives the first radio frequency TX signal sent by the first WIFI device to be tested through the transmission channel;

[0017] The second WIFI device to be tested calculates, by the second WIFI chip, a relevant radio frequency index of the first radio frequency TX signal sent by the first WIFI device to be tested, and stores the relevant radio frequency index in a second register of the second WIFI device to be tested;

[0018] The PC reads the relevant radio frequency index in the second register through the port to obtain a transmission performance test result of the first WIFI device to be tested.

[0019] In some embodiments, the relevant radio frequency indicators include power, frequency offset value and vector error magnitude EVM of the first radio frequency TX signal, and the second WIFI device to be tested calculates the relevant radio frequency indicators of the first radio frequency TX signal sent by the first WIFI device to be tested through the second WIFI chip, and stores the relevant radio frequency indicators in a second register of the second WIFI device to be tested, including:

[0020] The second WIFI device to be tested calculates the power and frequency offset value of the first radio frequency TX signal sent by the first WIFI device to be tested through the internal spectrum function of the second WIFI chip, and stores the power and frequency offset value in a second register of the second WIFI device to be tested;

[0021] The second WIFI device to be tested calculates the vector error magnitude EVM of the first radio frequency TX signal sent by the first WIFI device to be tested through the internal modulator of the second WIFI chip, and stores the vector error magnitude EVM in the second register.

[0022] In some embodiments, the PC side controls the two WIFI devices to be tested to perform data processing of the sent signal and the received signal by the WIFI chip of the WIFI device to be tested based on the transmission channel based on the test control instruction, so as to perform a radio frequency receiving performance test on the WIFI chip of the WIFI device to be tested, and obtain a receiving performance test result, including:

[0023] The PC sends a radio frequency reception test instruction to the first WIFI device to be tested and the second WIFI device to be tested based on the reception performance test control instruction;

[0024] After receiving the RF receiving test instruction sent by the PC, the first WIFI device to be tested sets the transmission power of the second RF TX signal and sends the second RF TX signal with the transmission power; after receiving the RF receiving test instruction sent by the PC, the second WIFI device to be tested enters the signal receiving mode and receives the second RF TX signal sent by the first WIFI device to be tested through the transmission channel;

[0025] The second WIFI device to be tested parses the packet corresponding to the second radio frequency TX signal received from the first WIFI device to be tested through the internal demodulator of the second WIFI chip, and determines whether the packetization error rate of the packet meets the packet specification;

[0026] If the packet error rate exceeds the packet specification, the PC reads the transmit power from the register corresponding to the transmit power of the first WIFI device to be tested through the port to obtain a receiving performance test result of the second WIFI device to be tested.

[0027] In some embodiments, the method for testing a WIFI device further includes:

[0028] If the packet error rate meets the packet specification, the PC controls the first WIFI device to be tested to reduce the transmission power of the second radio frequency TX signal until the packet error rate exceeds the packet specification.

[0029] In some embodiments, the reduction in transmit power is 1 dBm.

[0030] In some embodiments, the WIFI device testing method further includes:

[0031] Comparing the packet error rate and the packet threshold;

[0032] If the packet error rate is less than the packet threshold, determining that the packet error rate meets the packet specification;

[0033] If the packetization error rate is greater than or equal to the packetization threshold, it is determined that the packetization error rate exceeds the packetization specification.

[0034] Implementing one of the above technical solutions of the present invention has the following advantages or beneficial effects:

[0035] The test method of the WIFI device of the present application can connect the RF input / output interfaces of two WIFI devices to be tested through a RF optical cable when measuring the WIFI device to be tested during the production of the WIFI device, and connect the two WIFI devices to be tested to a PC end. It is only necessary to provide a port supported by the WIFI chip, and no additional third-party test instrument is required. The PC end can be directly operated, which saves the time for developing the production test program and saves additional time and manpower. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. It is obvious that the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0037] Figure 1 It is a flow chart of a method for testing a WIFI device according to an embodiment of the present application. DETAILED DESCRIPTION

[0038] In order to make the purpose, technical solutions and advantages of the present invention clearer, the various exemplary embodiments to be described below will refer to the corresponding drawings, which constitute a part of the exemplary embodiments, wherein various exemplary embodiments that may be used to implement the present invention are described. Unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementation methods described in the following exemplary embodiments do not represent all implementation methods consistent with the present disclosure. It should be understood that they are only examples of processes, methods, devices, etc. that are consistent with some aspects of the present disclosure as detailed in the attached claims, and other embodiments may also be used, or the embodiments listed herein may be modified in structure and function without departing from the scope and essence of the present invention.

[0039] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", etc. indicate the orientation or positional relationship based on the drawings, which is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the elements referred to must have a specific orientation, be constructed and operated in a specific orientation. The terms "first", "second", etc. are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. The term "multiple" means two or more. The terms "connected" and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, an integral connection, a mechanical connection, an electrical connection, a communication connection, a direct connection, an indirect connection through an intermediate medium, and can be the internal connection of two elements or the interaction relationship between two elements. The term "and / or" includes any and all combinations of one or more related listed items. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to the specific circumstances.

[0040] In order to illustrate the technical solution of the present invention, a specific embodiment is used for description below, and only the parts related to the embodiment of the present invention are shown.

[0041] Embodiment 1:

[0042] This application provides a test method for a WIFI device, such as Figure 1 As shown, the test method of the WIFI device includes the following steps S10 to S50.

[0043] S10: Connect the RF input / output interfaces of the two WIFI devices to be tested via a RF optical cable to form a transmission channel for RF transmission signals and RF reception signals.

[0044] In the process of producing WIFI devices, it is usually necessary to test the RF transmission performance and RF reception performance of the WIFI chip on the WIFI device.

[0045] WIFI devices have a radio frequency input / output interface, which is an RF IO interface, which is an interface for transmitting and receiving radio frequency (RF) signals in the wireless communication system of WIFI devices. These interfaces are usually used to convert analog or digital signals into radio frequency signals suitable for wireless transmission, and to convert received radio frequency signals back to original data signals.

[0046] The WIFI device to be tested is a WIFI device whose WIFI function has not been verified during the production process. After the verification is passed, the WIFI device to be tested is a WIFI device that has been completed.

[0047] RF cable is a cable specially designed for transmitting radio frequency signals. RF cable is usually used in wireless communication systems to connect various radio frequency devices, such as radio transmitters and receivers, satellite communication equipment, radar systems, wireless network equipment, etc. RF cable usually has low loss, can maintain the strength and integrity of the signal, and also has good shielding performance and is flexible enough for easy installation and wiring.

[0048] The RF input / output interfaces of the two WIFI devices to be tested are connected through the RF optical cable, so that one WIFI device to be tested can be used as a transmitter and the other WIFI device to be tested can be used as a receiver. In addition, the RF optical cable can be used as a transmission channel for RF transmission signals and RF reception signals between the two WIFI devices to be tested.

[0049] The transmission channel formed by connecting the RF input / output interfaces of two WIFI devices to be tested with RF optical cables has good shielding performance, protects the signal from electromagnetic interference, and can improve the test performance results of the WIFI chip.

[0050] S20: Connecting the WIFI device to be tested to a PC according to the port supported by the WIFI chip of the WIFI device to be tested.

[0051] The ports supported by the WIFI chip include any one of USB / Ethernet / SDIO / UART, among which USB (Universal Serial Bus), Ethernet, SDIO (Secure Digital Input / Output) and UART (Universal Asynchronous Receiver / Transmitter) are four common computer and communication interfaces, each of which has different characteristics and uses, and is convenient for connecting the PC and WIFI devices.

[0052] Based on the ports supported by the WIFI chip, the WIFI device to be tested can support multiple common ports and has a wide range of applications. In addition, it is convenient to establish a communication connection between two WIFI devices to be tested and a PC. Through the operation of the PC, the PC can send control instructions to the two WIFI devices to be tested. For the functional test of the WIFI device, no specific test instrument is required, thereby saving the cost of purchasing various new test instruments.

[0053] S30: The PC receives a test control instruction; the test control instruction includes a sending performance test control instruction and a receiving performance test control instruction.

[0054] During the production process of WIFI devices, when the WIFI chip function of the WIFI device to be tested needs to be tested, since the two WIFI devices to be tested have been connected via an RF optical cable and the two WIFI devices to be tested have established a connection with the PC, the operators of the production line can directly operate on the PC to generate corresponding test control instructions.

[0055] S40: Based on the test control instruction, the PC controls the two WIFI devices to be tested to execute data processing of the sending signal and the receiving signal by the WIFI chips of the WIFI devices to be tested based on the transmission channel, so as to perform a radio frequency sending performance test and a radio frequency receiving performance test on the WIFI chips of the WIFI devices to be tested, and obtain a sending performance test result and a receiving performance test result.

[0056] In some embodiments, the data processing of the transmitted signal and the received signal includes activating the WIFI chip, outputting a radio frequency transmitted signal, outputting a radio frequency received signal, and reading data involved in the operation completed when the WIFI chip performs the transmitted signal or the received signal.

[0057] Specifically, when testing the WIFI device to be tested, a connection can be established between the WIFI device to be tested and the PC through a network cable. The user operates on the PC, opens a browser, enters a specific IP address, enters the activation page of the WIFI device to be tested, and sets a name and password according to the prompts to activate the WIFI chip of the WIFI device to be tested.

[0058] After activating the WIFI device to be tested, the user operates on the PC to make one WIFI device to be tested send a radio frequency signal to another WIFI device to be tested, and the other WIFI device to be tested receives the radio frequency signal. In addition, the PC also reads the data involved in the operation of the WIFI device to be tested when sending or receiving signals, and performs performance test-related operations on the data to determine the performance test results.

[0059] In some embodiments, the two WIFI devices to be tested are respectively a first WIFI device to be tested and a second WIFI device to be tested, the first WIFI device to be tested has a first WIFI chip, and the second WIFI device to be tested has a second WIFI chip. When testing the transmission performance of the WIFI device to be tested, step S40 may include steps S401 to S405.

[0060] S401: The PC sends a radio frequency transmission test instruction to the first WIFI device to be tested and the second WIFI device to be tested according to the transmission performance test instruction.

[0061] Specifically, the user operates on the PC to generate a transmission performance test instruction. After receiving the transmission performance test instruction, the PC starts to send a radio frequency transmission test instruction to the first WIFI device to be tested and the second WIFI device to be tested.

[0062] Users can perform corresponding operations on the PC according to test requirements. For example, if the sending performance needs to be tested, a sending performance test instruction is issued; if the receiving performance needs to be tested, a receiving performance test instruction is issued. In addition, users can also perform more operations on the PC to complete the full set of test processes for the WIFI device to be tested.

[0063] Through the PC, users can flexibly select the test items they want, without having to operate complex WIFI device test instruments, thus saving test costs.

[0064] S402: After receiving the radio frequency transmission test instruction sent by the PC, the first WIFI device to be tested sets transmission parameters according to product requirements of the first WIFI chip, thereby sending a first radio frequency TX signal in the transmission channel according to the transmission parameters.

[0065] Transmission parameters may include power / rate / bandwidth, etc.

[0066] Product requirements may include the test requirements corresponding to the WIFI chip model. For example, the transmission parameters corresponding to the test requirements of the WIFI6 chip and the WIFI4 chip will be different, that is, the transmission power / rate / bandwidth of the WIFI6 chip will be different from that of the WIFI4 chip. This can adapt to the testing of different WIFI devices.

[0067] S403: After receiving the radio frequency transmission test instruction sent by the PC, the second WIFI device to be tested enters a signal receiving mode and receives a first radio frequency TX signal sent by the first WIFI device to be tested through the transmission channel;

[0068] S404: The second WIFI device to be tested calculates, through the second WIFI chip, a radio frequency index related to the first radio frequency TX signal sent by the first WIFI device to be tested, and stores the radio frequency index in a second register of the second WIFI device to be tested;

[0069] S405: The PC reads the relevant radio frequency index in the second register through the port to obtain a transmission performance test result of the first WIFI device to be tested.

[0070] In some implementation modes, the relevant radio frequency indicators include power, frequency offset value and vector error magnitude EVM of the first radio frequency TX signal, and the second WIFI device to be tested calculates the relevant radio frequency indicators of the first radio frequency TX signal sent by the first WIFI device to be tested through the second WIFI chip, and stores the relevant radio frequency indicators in the second register of the second WIFI device to be tested, including:

[0071] The second WIFI device to be tested calculates the power and frequency offset value of the first radio frequency TX signal sent by the first WIFI device to be tested through the internal spectrum function of the second WIFI chip, and stores the power and frequency offset value in a second register of the second WIFI device to be tested;

[0072] The second WIFI device to be tested calculates the vector error magnitude EVM of the first radio frequency TX signal sent by the first WIFI device to be tested through the internal modulator of the second WIFI chip, and stores the vector error magnitude EVM in the second register.

[0073] Specifically, in addition to the power, frequency offset value and vector error magnitude EVM of the first RF TX signal, the relevant RF indicators may also include channel gain, channel loss, standing wave ratio and other relevant indicators of WIFI device transmission performance test.

[0074] In addition, different radio frequency indicators require different functions inside the WIFI chip to perform corresponding processing. After the calculation is completed, they are stored in the corresponding registers.

[0075] After the second WIFI device to be tested stores the relevant RF indicators in the corresponding register, the PC reads the relevant RF indicators from the register through a port, such as a USB, and then compares them with the RF indicators related to the WIFI device that has passed the test to determine the transmission performance test result of the first WIFI device to be tested.

[0076] In some implementation modes, when testing the receiving performance of the WIFI device to be tested, step S40 may include steps S411 to S415.

[0077] S411: The PC sends a radio frequency reception test instruction to the first WIFI device to be tested and the second WIFI device to be tested based on the reception performance test control instruction.

[0078] Correspondingly, when the user needs to test the receiving performance of the WIFI device to be tested, the user operates on the PC side and issues a receiving performance test instruction.

[0079] Through the PC, users can flexibly select the test items they want, without having to operate complex WIFI device test instruments, thus saving test costs.

[0080] S412: After receiving the radio frequency receiving test instruction sent by the PC, the first WIFI device to be tested sets the transmission power of the second radio frequency TX signal, and sends the second radio frequency TX signal with the transmission power.

[0081] The transmit power can be set to -20dBm. Of course, the transmit power is not limited to -20dBm and can be set as needed.

[0082] S143: After receiving the radio frequency receiving test instruction sent by the PC, the second WIFI device to be tested enters a signal receiving mode, and receives the second radio frequency TX signal sent by the first WIFI device to be tested through the transmission channel.

[0083] S414: The second WIFI device to be tested parses the packet corresponding to the second radio frequency TX signal received from the first WIFI device to be tested through the internal demodulator of the second WIFI chip, and determines whether the packetization error rate of the packet meets the packet specification;

[0084] S415: If the packet error rate exceeds the packet specification, the PC reads the transmit power from the register corresponding to the transmit power of the first WIFI device to be tested through the port to obtain a receiving performance test result of the second WIFI device to be tested.

[0085] If the packet error rate exceeds the packet specification, the PC reads the transmission power of the first WIFI device to be tested from the register of the first WIFI device to be tested through a port such as USB, and compares the transmission power with the packet, thereby obtaining the receiving performance test result of the second WIFI device to be tested.

[0086] In some implementation modes, if the packet error rate meets the packet specification, the PC controls the first WIFI device to be tested to reduce the transmission power of the second radio frequency TX signal until the packet error rate exceeds the packet specification.

[0087] Specifically, the transmit power is reduced by 1 dBm. For example, the transmit power is set to -20 dBm for the first time. If the packet corresponding to the second RF TX signal sent by the first WIFI device to be tested meets the packet specification, for example, <10%, the transmit power is reduced to -21 dBm, and then the second RF TX signal is sent based on the transmit power of -21 dBm, and then it is determined whether it exceeds the packet specification.

[0088] If it exceeds the packet specification, for example, when the transmission power of the second RF TX signal sent by the first WIFI device to be tested is -50dBm, it meets the packet specification, which means that the receiving capacity limit of the second WIFI device to be tested has been reached. At this time, the PC can read the transmission power in the register corresponding to the transmission power of the first WIFI device to be tested through a port, such as USB, and then compare the read transmission power with the packet to obtain the receiving performance test result of the second WIFI device to be tested, that is, the receiving sensitivity of the second WIFI device to be tested.

[0089] In some implementations, the WIFI device testing method further includes:

[0090] Comparing the packet error rate and the packet threshold;

[0091] If the packet error rate is less than the packet threshold, determining that the packet error rate meets the packet specification;

[0092] If the packetization error rate is greater than or equal to the packetization threshold, it is determined that the packetization error rate exceeds the packetization specification.

[0093] Specifically, the packet threshold may be 10%. If the packet error rate is less than 10%, it complies with the packet specification. If it is greater than or equal to 10%, it exceeds the packet specification, indicating that the receiving capacity limit of the second WIFI device to be tested has been reached.

[0094] It can be understood that after measuring the sending performance test result of the first WIFI device to be tested, the sending performance test result of the second WIFI device to be tested can be tested in a similar way. Similarly, after measuring the receiving performance test result of the second WIFI device to be tested, the receiving performance test result of the first WIFI device to be tested can be tested in a similar way, thereby obtaining the test results of the two WIFI devices to be tested.

[0095] S50: The PC calibrates the WIFI chip based on the transmission performance test result and the reception performance test result, and regards the WIFI chip that passes the calibration as a good product, and regards the WIFI chip that fails the calibration as a defective product.

[0096] Specifically, after the PC receives the transmission performance test results and the reception performance test results, it can mark the WIFI chip to be tested, such as marking the transmission performance test passed / failed, and / or the reception performance test passed / failed, or calibrate the WIFI chip, including power calibration, frequency calibration, phase calibration, IQ calibration, gain control calibration, temperature compensation calibration, antenna matching calibration, carrier frequency offset calibration, signal integrity calibration, interference and noise management, etc., to ensure that the wireless performance of the device meets the design specifications and meets the requirements of adjusting and optimizing the performance parameters of the wireless chip inside the WIFI device, so that it can provide stable and reliable wireless connections in a variety of environments.

[0097] In addition, the WIFI chip can be calibrated directly through the PC, without the need for additional test instruments, saving instrument costs.

[0098] After the PC calibrates the WIFI chip, it can also screen good / bad products, that is, the WIFI chip that passes the calibration is regarded as a good product, indicating that the WIFI device to be tested meets the production requirements and can be shipped; the WIFI chip that fails the calibration is regarded as a bad product, indicating that the WIFI device to be tested is a bad product and cannot be shipped.

[0099] When the PC prompts, a prompt dialog box can pop up to facilitate the production line personnel to view, and defective products or good products can also be distinguished and marked, without limitation here.

[0100] Working principle (operation method): During production, only two WIFI devices to be tested need to be connected, and relevant indicators such as Power / EVM / Sensitivity / frequency offset can be read from the register of the WIFI chip without instruments. This information can be used to calibrate the chip or screen good / bad products, achieving the same or similar effect as instrument testing. The test method of the WIFI device can be operated by using the API provided by the WIFI chip manufacturer, saving time and manpower for developing production test programs. With the support of the WIFI chip manufacturer, the test results are highly reliable. If there is a software version update, it can also be synchronized with the chip manufacturer, saving the cost of purchasing expensive instruments and saving space. This solution only requires a PC and two WIFI devices to be tested, saving instrument space and making the configuration on the production line much more convenient. Compared with traditional instrument testing, the test process system of the present invention is simple and convenient, and no third-party instruments are required. The test can be completed by connecting the two WIFI devices to be tested to be produced; saving costs and no expensive instruments need to be purchased.

[0101] In the process of producing WIFI devices, when measuring the WIFI devices to be tested, the RF input / output interfaces of the two WIFI devices to be tested can be connected through a RF optical cable, and the two WIFI devices to be tested can be connected to the PC side. Only the port supported by the WIFI chip needs to be provided, and no additional third-party test instruments are required. The PC side can be directly operated, which saves the time of developing the production test program and saves additional time and manpower.

[0102] In addition, this application only requires one PC and two WIFI devices to be tested on the production line to complete the test. It does not require more hardware costs and more professional technical requirements, saves space for production line instruments, and is more convenient to configure on the production line.

[0103] The embodiment is only a special case and does not indicate that the present application is implemented in such a way.

[0104] The above are only preferred embodiments of the present invention. Those skilled in the art will appreciate that various changes or equivalent substitutions may be made to these features and embodiments without departing from the spirit and scope of the present invention. In addition, under the teachings of the present invention, these features and embodiments may be modified to adapt to specific circumstances and materials without departing from the spirit and scope of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed herein, and all embodiments falling within the scope of the claims of this application belong to the protection scope of the present invention.

Claims

1. A method for testing a WIFI device, characterized in that: include: Connect the RF input / output interfaces of the two WIFI devices to be tested through RF optical cables to form a transmission channel for RF transmission signals and RF reception signals; Connecting the WIFI device to be tested to the PC according to the port supported by the WIFI chip of the WIFI device to be tested; The PC receives a test control instruction; the test control instruction includes a sending performance test control instruction and a receiving performance test control instruction; Based on the test control instruction, the PC controls the two WIFI devices to be tested to perform data processing of the sending signal and the receiving signal by the WIFI chip of the WIFI device to be tested based on the transmission channel, so as to perform a radio frequency sending performance test and a radio frequency receiving performance test on the WIFI chip of the WIFI device to be tested, and obtain a sending performance test result and a receiving performance test result; The PC terminal calibrates the WIFI chip based on the transmission performance test result and the reception performance test result, and regards the WIFI chip that passes the calibration as a good product, and regards the WIFI chip that fails the calibration as a defective product.

2. The method for testing a WIFI device according to claim 1, characterized in that: The ports supported by the WIFI chip include any one of USB / Ethernet / SDIO / UART, and the data processing of the sending signal and the receiving signal includes activating the WIFI chip, outputting the radio frequency sending signal, outputting the radio frequency receiving signal, and reading the data involved in the operation completed when the WIFI chip executes the sending signal or the receiving signal.

3. The method for testing a WIFI device according to claim 1, characterized in that: The two WIFI devices to be tested are respectively a first WIFI device to be tested and a second WIFI device to be tested, the first WIFI device to be tested has a first WIFI chip, and the second WIFI device to be tested has a second WIFI chip; the PC end controls the two WIFI devices to be tested to perform data processing of the WIFI chips of the WIFI devices to be tested on the transmission channel based on the test control instruction, so as to perform a radio frequency transmission performance test on the WIFI chips of the WIFI devices to be tested, including: The PC sends a radio frequency transmission test instruction to the first WIFI device to be tested and the second WIFI device to be tested according to the transmission performance test instruction; After receiving the radio frequency transmission test instruction sent by the PC, the first WIFI device to be tested sets the transmission parameters according to the product requirements of the first WIFI chip, thereby sending the first radio frequency TX signal in the transmission channel according to the transmission parameters; After receiving the radio frequency transmission test instruction sent by the PC, the second WIFI device to be tested enters a signal receiving mode, and receives the first radio frequency TX signal sent by the first WIFI device to be tested through the transmission channel; The second WIFI device to be tested calculates, by the second WIFI chip, a relevant radio frequency index of the first radio frequency TX signal sent by the first WIFI device to be tested, and stores the relevant radio frequency index in a second register of the second WIFI device to be tested; The PC reads the relevant radio frequency index in the second register through the port to obtain a transmission performance test result of the first WIFI device to be tested.

4. The method for testing a WIFI device according to claim 3, characterized in that: The relevant radio frequency indicators include power, frequency offset value and vector error magnitude EVM of the first radio frequency TX signal, and the second WIFI device to be tested calculates the relevant radio frequency indicators of the first radio frequency TX signal sent by the first WIFI device to be tested through the second WIFI chip, and stores the relevant radio frequency indicators in a second register of the second WIFI device to be tested, including: The second WIFI device to be tested calculates the power and frequency offset value of the first radio frequency TX signal sent by the first WIFI device to be tested through the internal spectrum function of the second WIFI chip, and stores the power and frequency offset value in a second register of the second WIFI device to be tested; The second WIFI device to be tested calculates the vector error magnitude EVM of the first radio frequency TX signal sent by the first WIFI device to be tested through the internal modulator of the second WIFI chip, and stores the vector error magnitude EVM in the second register.

5. The method for testing a WIFI device according to claim 3, characterized in that: The PC end controls the two WIFI devices to be tested to perform data processing of the sending signal and the receiving signal by the WIFI chip of the WIFI device to be tested based on the transmission channel based on the test control instruction, so as to perform a radio frequency receiving performance test on the WIFI chip of the WIFI device to be tested, and obtain a receiving performance test result, including: The PC sends a radio frequency reception test instruction to the first WIFI device to be tested and the second WIFI device to be tested based on the reception performance test control instruction; After receiving the radio frequency receiving test instruction sent by the PC, the first WIFI device to be tested sets the transmission power of the second radio frequency TX signal and sends the second radio frequency TX signal with the transmission power; After receiving the radio frequency receiving test instruction sent by the PC, the second WIFI device to be tested enters a signal receiving mode, and receives the second radio frequency TX signal sent by the first WIFI device to be tested through the transmission channel; The second WIFI device to be tested parses the packet corresponding to the second radio frequency TX signal received from the first WIFI device to be tested through the internal demodulator of the second WIFI chip, and determines whether the packetization error rate of the packet meets the packet specification; If the packet error rate exceeds the packet specification, the PC reads the transmit power from the register corresponding to the transmit power of the first WIFI device to be tested through the port to obtain a receiving performance test result of the second WIFI device to be tested.

6. The method for testing a WIFI device according to claim 5, characterized in that: The testing methods for WIFI devices also include: If the packet error rate meets the packet specification, the PC controls the first WIFI device to be tested to reduce the transmission power of the second radio frequency TX signal until the packet error rate exceeds the packet specification.

7. The method for testing a WIFI device according to claim 6, characterized in that: The reduction range of the transmission power is 1 dBm.

8. The method for testing a WIFI device according to claim 5 or 6, characterized in that: The testing method of the WIFI device also includes: Comparing the packet error rate and the packet threshold; If the packet error rate is less than the packet threshold, determining that the packet error rate meets the packet specification; If the packetization error rate is greater than or equal to the packetization threshold, it is determined that the packetization error rate exceeds the packetization specification.