Universal controller wireless communication module testing device, upper computer and method

By adding resistors with different resistance values ​​to the wireless communication module and using ADC sampling and identification types, the problem of not being able to automatically identify different module types in the existing technology is solved, and the automated testing of wireless communication modules is realized, and the testing efficiency is improved. and productivity.

CN118981195AInactive Publication Date: 2024-11-19HUNAN KAIHONG ZHIGU DIGITAL IND DEV CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410991301.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-23
Publication Date
2024-11-19
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing wireless communication module testing tools cannot automatically identify different types of modules, resulting in the need to replace the test tools for each module replacement, resulting in cumbersome and inefficient testing.

Method used

A general controller wireless communication module test device is designed. By adding resistors of different resistance values ​​to the module, using ADC sampling to identify module types, and generating matching test instructions based on the recognition results, automatic module types are realized. Identify and test.

Benefits of technology

Automatic identification and matching test instructions for different types of wireless communication modules are realized, which simplifies the test process, reduces costs, and improves test efficiency and production efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118981195A_ABST
    Figure CN118981195A_ABST
Patent Text Reader

Abstract

The invention discloses a universal controller wireless communication module testing device, an upper computer and a method. The testing device comprises a control module, a first interface, a second interface, a third interface and a first resistor. The first resistor is connected with the DC power supply and the ADC sampling end of the control module; second resistors are additionally arranged on the wireless communication modules, the types of the wireless communication modules are different, and the resistance values of the second resistors are different; the second resistor is connected with the first resistor; the control module enables the wireless communication module through the third interface under the test starting instruction; identifying the type of the wireless communication module according to the wireless communication module partial voltage collected by the ADC sampling end; and under the test instruction, a test response instruction is sent to the wireless communication module through the second interface, so that the wireless communication module starts to be tested. By adopting the testing device provided by the invention, the testing of different types of wireless communication modules can be realized, and a testing tool does not need to be replaced when the different types of wireless communication modules are tested.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of testing tools, and in particular relates to a universal controller wireless communication module testing device, a host computer and a method. Background Art

[0002] Currently, when wireless communication modules are undergoing production testing, most of them use AT commands (Attention) or serial port HEX commands to control the wireless communication modules to perform functions such as network communication SIM card identification and signal strength detection.

[0003] Due to the different types of wireless communication modules, the serial port needs to send different product test instructions. The product test instructions may be AT instructions, HEX instructions or transparent transmission instructions, etc. When different types of wireless communication modules cannot be automatically identified, the wireless communication module is replaced. The wireless communication module does not match the product test instructions, the product test instructions are invalid, and the wireless communication module cannot be effectively tested. Therefore, the current automated testing tools for wireless communication modules are usually only applicable to wireless communication modules of the corresponding manufacturers or types, that is, a test tool is only applicable to the test of one type of wireless communication module, and cannot be applied to the test of wireless communication modules of different manufacturers or types. For general controllers, there are many types of wireless communication modules that need to be tested. Each time a wireless communication module is tested, a test tool needs to be replaced, which makes the production test operation of the wireless communication module or general controller inconvenient and affects production efficiency. Summary of the invention

[0004] The purpose of the present invention is to provide a universal controller wireless communication module testing device, a host computer and a method to solve the problem that a test tool needs to be replaced every time a wireless communication module is tested, resulting in cumbersome and inefficient production testing of wireless communication modules or universal controllers.

[0005] The present invention solves the above technical problems through the following technical solutions: a universal controller wireless communication module test device, comprising a control module, a first interface, a second interface and a third interface connected to the control module, and a first resistor; a first end of the first resistor is connected to a DC power supply, and a second end of the first resistor is connected to an ADC sampling end of the control module;

[0006] The first interface is used to connect to the host computer during testing; the second interface is used to connect to the instruction receiving end of the wireless communication module during testing; the third interface is used to connect to the enabling end of the wireless communication module during testing; the second end of the first resistor is used to connect to the second end of the second resistor added to the wireless communication module during testing, and the type of the wireless communication module is different, the resistance value of the second resistor is different, and the first end of the second resistor is grounded;

[0007] The control module is used to enable the wireless communication module through the third interface under the test start instruction issued by the host computer, so that the wireless communication module is powered on and reset; identify the type of the wireless communication module according to the pressure distribution of the wireless communication module collected by the ADC sampling end, and upload the type identification result of the wireless communication module to the host computer through the first interface; under the test instruction issued by the host computer, send a test response instruction to the wireless communication module through the second interface, so that the wireless communication module starts testing; wherein, the test instruction is generated by the host computer according to the type identification result of the wireless communication module.

[0008] Furthermore, the first interface is a serial port to USB interface, the second interface is a serial port, and the third interface is a GPIO interface.

[0009] Furthermore, the control module is a single chip microcomputer.

[0010] Furthermore, the types of wireless communication modules include WI-FI module, 2G / 3G / 4G / 5G module, LoRa module, Bluetooth module, NB-IOT module, Zigbee module and wide connection module.

[0011] Based on the same concept, the present invention also provides a host computer, which is connected to the universal controller wireless communication module test device as described above, and the host computer includes:

[0012] A test start module, used to generate a test start instruction according to a test start trigger command, and send the test start instruction to the control module of the universal controller wireless communication module test device;

[0013] A test configuration module, configured to configure test items according to the type of wireless communication module, generate test instructions, and send the test instructions to the control module of the universal controller wireless communication module test device;

[0014] The test result display module is used to receive and display the test results fed back by the universal controller wireless communication module testing device.

[0015] Furthermore, the type of the wireless communication module is obtained by identification through the universal controller wireless communication module testing device, or is obtained by input by a tester.

[0016] Based on the same concept, the present invention provides a method for testing a wireless communication module using the universal controller wireless communication module testing device as described above, comprising:

[0017] The host computer sends a test start instruction to the control module through the first interface;

[0018] Under the test start instruction, the control module enables the wireless communication module through the third interface, so that the wireless communication module is powered on and enabled to reset;

[0019] The ADC sampling end of the control module collects the wireless communication module pressure, identifies the type of the wireless communication module according to the wireless communication module pressure, and uploads the type identification result of the wireless communication module to the host computer through the first interface;

[0020] The host computer loads the test items according to the type identification result of the wireless communication module, generates a test instruction, and sends the test instruction to the control module through the first interface;

[0021] Under the test instruction, the control module generates a test response instruction, and sends the test response instruction to the wireless communication module through the second interface;

[0022] The wireless communication module performs tests according to the test items in the test response instruction to obtain test results.

[0023] Further, identifying the type of the wireless communication module according to the wireless communication module pressure distribution includes:

[0024] Subtracting the collected pressure drop of the wireless communication module from theoretical pressure drops of different types of wireless communication modules;

[0025] The type of the wireless communication module corresponding to the smallest difference is selected as the recognition result.

[0026] Furthermore, the calculation formula of the voltage division theoretical value of the wireless communication module is:

[0027] U w =V dd R2 / (R1+R2);

[0028] Among them, U w Represents the theoretical value of the voltage division of the wireless communication module, V dd represents the DC power supply voltage, R1 represents the resistance value of the first resistor, and R2 represents the resistance value of the second resistor.

[0029] Beneficial Effects

[0030] Compared with the prior art, the advantages of the present invention are:

[0031] A universal controller wireless communication module testing device provided by the present invention is provided with a first resistor, and a second resistor is added to the wireless communication module to be tested. A voltage divider is formed by a DC power supply, the first resistor and the second resistor. Since the resistance values ​​of the second resistors corresponding to different types of wireless communication modules are different, the voltage dividers of different types of wireless communication modules are different. The voltage divider of the wireless communication module is collected by the ADC sampling end of the control module, and compared with the theoretical values ​​of the voltage dividers of different types of wireless communication modules, so as to realize automatic identification of the type of the wireless communication module; the upper computer automatically loads or configures the corresponding test items according to the type identification result of the wireless communication module, generates a test instruction, matches the test instruction with the wireless communication module to be tested, and realizes effective testing of the wireless communication module.

[0032] The universal controller wireless communication module testing device of the present invention can realize the testing of different types of wireless communication modules without replacing the testing tools when testing different types of wireless communication modules. This simplifies the testing process of the wireless communication module, reduces the testing cost, improves the testing efficiency of the wireless communication module or the universal controller, and thus improves production efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] In order to more clearly illustrate the technical solution of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only one embodiment of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0034] Figure 1 It is a schematic diagram of the structure of a universal controller wireless communication module testing device in an embodiment of the present invention;

[0035] Figure 2 It is the upper computer operation interface in the embodiment of the present invention;

[0036] Figure 3 It is a flow chart of the wireless communication module testing method in an embodiment of the present invention. DETAILED DESCRIPTION

[0037] The following is a clear and complete description of the technical solutions in the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0038] The technical solution of the present application is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.

[0039] Example 1

[0040] like Figure 1 As shown, a universal controller wireless communication module test device provided in an embodiment of the present invention includes a control module, a first interface, a second interface and a third interface connected to the control module, and a first resistor; a first end of the first resistor is connected to a DC power supply V dd The first terminal of the first resistor is connected to the ADC sampling terminal of the control module. During the test, the first interface is connected to the host computer, the second interface is connected to the instruction receiving terminal of the wireless communication module, and the third interface is connected to the enabling terminal of the wireless communication module; a second resistor is added to the wireless communication module, and the resistance value of the second resistor is different for different types of wireless communication modules; the first terminal of the second resistor on the wireless communication module is grounded, and the second terminal of the second resistor is connected to the second terminal of the first resistor.

[0041] The specific working process of the universal controller wireless communication module testing device of the present invention is as follows: when the test is started, the host computer sends a test start instruction to the control module through the first interface; under the test start instruction, the control enables the wireless communication module through the third interface, so that the wireless communication module is powered on and reset; the ADC sampling end of the control module collects the wireless communication module pressure, and identifies the type of the wireless communication module according to the collected wireless communication module pressure, and feeds back the type identification result of the wireless communication module to the host computer through the first interface; the host computer loads or configures the test item according to the type identification result of the wireless communication module, and generates a test instruction, and sends the test instruction to the control module through the first interface; under the test instruction, the control module sends a test response instruction to the wireless communication module through the second interface, so that the wireless communication module starts testing, and after the test is completed, the control module obtains the test result through the second interface, and feeds back the test result to the host computer through the first interface, so that the test result can be displayed on the host computer.

[0042] The resistance value of the first resistor and the DC power supply are fixed. When the type of wireless communication module is different, the resistance value of the second resistor is different. According to the voltage division principle, the voltage division theoretical value of different types of wireless communication modules can be calculated, and the voltage division theoretical value of each type of wireless communication module is compared with the collected wireless communication module voltage division to determine the type of wireless communication module to be tested. The types of wireless communication modules include WI-FI modules, 2G / 3G / 4G / 5G modules, LoRa modules, Bluetooth modules, NB-IOT modules, Zigbee modules, and wide connection modules, etc. In theory, the test device of the present invention can support the testing of 254 types of wireless communication modules.

[0043] In a specific implementation of the present invention, the first interface is a serial port to USB interface, the second interface is a serial port, and the third interface is a GPIO interface. The control module adopts a single chip microcomputer.

[0044] Example 2

[0045] An embodiment of the present invention provides a host computer, which is connected to the universal controller wireless communication module test device in embodiment 1, such as Figure 2 As shown, the host computer includes a test startup module, a test configuration module and a test result display module.

[0046] The test start module is used to generate a test start instruction according to a test start trigger command (for example, triggered by a start test button), and send the test start instruction to the control module of the universal controller wireless communication module test device.

[0047] The test configuration module is used to configure test items according to the type of wireless communication module, generate test instructions, and send the test instructions to the control module of the universal controller wireless communication module test device. Different types of wireless communication modules have different test items, and different types of wireless communication modules produced by different manufacturers have different product test instructions. For example, 4G, 5G, and NB-IOT all need to test SIM card recognition and signal strength CSQ, while LoRa and zigbee do not have SIM cards. Therefore, there is no need to test the SIM card, but the networking capability and communication capability need to be tested.

[0048] The test result display module is used to receive and display the test results fed back by the universal controller wireless communication module test device.

[0049] In a specific embodiment of the present invention, the type of the wireless communication module can be identified and obtained by a universal controller wireless communication module testing device, or can be obtained by input by a tester.

[0050] like Figure 2 As shown, the host computer also includes a test command receiving and sending display interface in the middle part and a test success rate display module for each type of wireless communication module on the right. Click Start Test to automatically generate a test start instruction; automatically change the module type, module model and test item in the lower left corner on the left side according to the type of wireless communication module, and generate test instructions based on this information; the middle part can display different serial port receiving and sending instructions according to different test items; when the test success or failure result is returned, update the test success rate display module on the right side, and add a success or failure record to the pie chart of the corresponding type of wireless communication module.

[0051] Example 3

[0052] like Figure 3As shown, an embodiment of the present invention provides a method for testing a wireless communication module using the universal controller wireless communication module testing device described in Example 1, comprising the following steps:

[0053] Step S1: The host computer sends a test start instruction to the control module through the first interface;

[0054] Step S2: under the test start instruction, the control module enables the wireless communication module through the third interface, so that the wireless communication module is powered on and enabled to reset;

[0055] Step S3: the ADC sampling end of the control module collects the pressure of the wireless communication module, identifies the type of the wireless communication module according to the pressure of the wireless communication module, and uploads the type identification result of the wireless communication module to the host computer through the first interface;

[0056] Step S4: the host computer loads the test items according to the type identification result of the wireless communication module, generates a test instruction, and sends the test instruction to the control module through the first interface;

[0057] Step S5: under the test instruction, the control module generates a test response instruction, and sends the test response instruction to the wireless communication module through the second interface;

[0058] Step S6: The wireless communication module performs a test according to the test items in the test response instruction to obtain a test result.

[0059] In a specific embodiment of the present invention, identifying the type of the wireless communication module according to the wireless communication module pressure distribution includes:

[0060] Step S3.1: subtract the collected wireless communication module pressure drop from the theoretical pressure drop of different types of wireless communication modules;

[0061] Step S3.2: Select the type of the wireless communication module corresponding to the smallest difference as the identification result.

[0062] In this embodiment, the calculation formula of the theoretical value of the voltage division of the wireless communication module is:

[0063] U w =V dd R2 / (R1+R2) (1)

[0064] Among them, U w Represents the theoretical value of the voltage division of the wireless communication module, V dd represents the DC power supply voltage, R1 represents the resistance value of the first resistor, and R2 represents the resistance value of the second resistor.

[0065] In step S4, different types of wireless communication modules have different test items loaded or configured, and different models of wireless communication modules produced by different manufacturers have different product test instructions. For example, 4G, 5G, and NB-IOT all need to test SIM card identification and signal strength CSQ, while LoRa and zigbee do not have SIM cards. Therefore, there is no need to test SIM cards, but networking capabilities and communication capabilities. Automatically load or configure test items according to the type identification results of the wireless communication module to apply the test of the corresponding type of wireless communication module.

[0066] What is disclosed above is only a specific implementation mode of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of changes or modifications within the technical scope disclosed in the present invention, which should be covered within the protection scope of the present invention.

Claims

1. A universal controller wireless communication module testing device, characterized in that: The test device comprises a control module, a first interface, a second interface and a third interface connected to the control module, and a first resistor; a first end of the first resistor is connected to a DC power supply, and a second end of the first resistor is connected to an ADC sampling end of the control module; The first interface is used to connect to the host computer during testing; the second interface is used to connect to the instruction receiving end of the wireless communication module during testing; the third interface is used to connect to the enabling end of the wireless communication module during testing; the second end of the first resistor is used to connect to the second end of the second resistor added to the wireless communication module during testing, and the type of the wireless communication module is different, the resistance value of the second resistor is different, and the first end of the second resistor is grounded; The control module is used to enable the wireless communication module through the third interface under the test start instruction issued by the host computer, so that the wireless communication module is powered on and reset; identify the type of the wireless communication module according to the pressure distribution of the wireless communication module collected by the ADC sampling end, and upload the type identification result of the wireless communication module to the host computer through the first interface; under the test instruction issued by the host computer, send a test response instruction to the wireless communication module through the second interface, so that the wireless communication module starts testing; wherein, the test instruction is generated by the host computer according to the type identification result of the wireless communication module.

2. The universal controller wireless communication module testing device according to claim 1, characterized in that: The first interface is a serial port to USB interface, the second interface is a serial port, and the third interface is a GPIO interface.

3. The universal controller wireless communication module testing device according to claim 1, characterized in that: The control module is a single chip microcomputer.

4. The universal controller wireless communication module testing device according to any one of claims 1 to 3, characterized in that: The types of wireless communication modules include WI-FI module, 2G / 3G / 4G / 5G module, LoRa module, Bluetooth module, NB-IOT module, Zigbee module and wide connection module.

5. A host computer, characterized in that: The host computer is connected to the universal controller wireless communication module test device according to any one of claims 1 to 4, and the host computer includes: A test start module, used to generate a test start instruction according to a test start trigger command, and send the test start instruction to the control module of the universal controller wireless communication module test device; A test configuration module, configured to configure test items according to the type of wireless communication module, generate test instructions, and send the test instructions to the control module of the universal controller wireless communication module test device; The test result display module is used to receive and display the test results fed back by the universal controller wireless communication module testing device.

6. The host computer according to claim 5, characterized in that: The type of the wireless communication module is obtained by identifying the universal controller wireless communication module testing device, or by inputting by a tester.

7. A method for testing a wireless communication module using the universal controller wireless communication module testing device according to any one of claims 1 to 4, characterized in that: The method comprises: The host computer sends a test start instruction to the control module through the first interface; Under the test start instruction, the control module enables the wireless communication module through the third interface, so that the wireless communication module is powered on and enabled to reset; The ADC sampling end of the control module collects the wireless communication module pressure, identifies the type of the wireless communication module according to the wireless communication module pressure, and uploads the type identification result of the wireless communication module to the host computer through the first interface; The host computer loads the test items according to the type identification result of the wireless communication module, generates a test instruction, and sends the test instruction to the control module through the first interface; Under the test instruction, the control module generates a test response instruction, and sends the test response instruction to the wireless communication module through the second interface; The wireless communication module performs tests according to the test items in the test response instruction to obtain test results.

8. The method according to claim 7, characterized in that Identifying the type of the wireless communication module according to the wireless communication module pressure, including: Subtracting the collected pressure drop of the wireless communication module from theoretical pressure drops of different types of wireless communication modules; The type of the wireless communication module corresponding to the smallest difference is selected as the recognition result.

9. The method according to claim 8, characterized in that The calculation formula of the theoretical value of the voltage division of the wireless communication module is: AT w =V dd R2 / (R1+R2); Among them, U w Represents the theoretical value of the voltage division of the wireless communication module, V dd represents the DC power supply voltage, R1 represents the resistance value of the first resistor, and R2 represents the resistance value of the second resistor.

Citation Information

Patent Citations

  • Interface expansion device, electronic equipment and interface expansion method

    CN112952933A

  • Communication module test system and test method thereof

    CN115543796A

  • Testing method and device based on wireless communication product, equipment and storage medium

    CN116347501A

  • Extension card identification system and power electronic equipment

    CN207650301U

  • Communication module, and wireless test system and test method for battery

    WO2024031450A1