Automatic test system and method thereof

The automated test system solves the problem of lack of radio frequency performance testing in PCBA semi-finished product testing, realizes automated assessment and evaluation of radio frequency performance, improves product stability and testing efficiency, and reduces costs and repair rates.

CN118795265AInactive Publication Date: 2024-10-18广州市品众电子科技有限公司
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411289100.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-14
Publication Date
2024-10-18
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing PCBA semi-finished product testing methods lack radio frequency performance testing methods, resulting in the inability to effectively evaluate radio frequency performance, low efficiency, and prone to manual misjudgment, which increases costs and repair rates.

Method used

Design an automated test system, including test fixtures, main control modules, communication modules, radio frequency test modules, etc., through the automated test module to conduct radio frequency performance tests, automatically determine whether the test parameters are within the preset range, and reduce manual operations and misjudgments. .

Benefits of technology

It realizes automated testing and evaluation of RF performance, improves product stability and qualification rate, reduces production costs and repair rates, and improves test efficiency and comprehensiveness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118795265A_ABST
    Figure CN118795265A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of gamepad testing, and particularly relates to an automatic testing system and method, and the system comprises a testing tool which is provided with a plurality of testing needles and a positioning device; the main control module is used for scheduling test tasks and processing test data; the communication module is respectively connected with the main control module and the test pin, and the communication module establishes communication between the main control module and the tested unit; the test module is respectively connected with the tested unit and the main control module, and tests of one or more test items are carried out on the tested unit through the test module; and the man-machine interaction module is used for visual man-machine interaction and is connected with the main control module. The test efficiency and the test comprehensiveness are improved by applying an automation technology, the production cost is reduced, and the product yield and the stability are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of game controller testing, and in particular relates to an automatic testing system and method thereof. Background Art

[0002] In the field of game controllers, PCBA semi-finished product testing mainly relies on manual testing. The testing method is generally to make a test fixture, which includes a voltage source, an ammeter and multiple buttons. The voltage source is used to provide the test voltage and contains multiple gears. The voltage gear needs to be changed manually during the test. The ammeter is used to test the working current and charging current, and it is necessary to manually determine whether the current meets the requirements. The buttons are used to simulate the buttons on the handle. It is necessary to manually press all the buttons in turn to determine whether there are problems with the patch and PCB circuit. When it comes to wireless products such as Bluetooth, the RF testing methods are often missing when testing PCBA semi-finished products.

[0003] The above-mentioned existing PCBA semi-finished product testing method mainly relies on manual testing. The existing semi-finished product testing method lacks testing of RF performance such as Bluetooth, and RF performance is a very important evaluation parameter for wireless products. Summary of the invention

[0004] The present invention aims to provide an automated testing system and method thereof in view of the technical problem that there is a lack of testing means for radio frequency when testing existing PCBA semi-finished products.

[0005] In order to solve the aforementioned technical problem, a first aspect of the present invention provides an automated testing system, the automated testing system comprising a test fixture, the test fixture being provided with a plurality of test needles and a positioning device for positioning a unit under test;

[0006] The automated testing system further comprises:

[0007] A main control module, which is used for test task scheduling and test data processing;

[0008] A communication module, the communication module is connected to the main control module and the test pins on the test fixture respectively, and the communication module establishes communication between the main control module and the unit under test;

[0009] A test module, wherein the test module is connected to the unit under test and the main control module respectively, and one or more test items are tested on the unit under test through the test module;

[0010] A human-computer interaction module, the human-computer interaction module is used for visualizing human-computer interaction, and the human-computer interaction module is connected to the main control module.

[0011] Optionally, in the aforementioned automated testing system, the human-computer interaction module is embedded in a host computer;

[0012] The automated testing system further comprises:

[0013] A USB module is used to connect to the host computer, the USB module is connected to the main control module, and the USB module establishes communication between the main control module and the host computer.

[0014] Optionally, in the automated testing system as described above, the automated testing system further includes:

[0015] A data storage module, wherein the data storage module is used to store test data and is connected to the main control module.

[0016] Optionally, in the automated testing system as described above, the automated testing system further includes:

[0017] A prompt module, the prompt module is used to remind the test item results, and the prompt module is connected to the main control module.

[0018] Optionally, in the automated testing system as described above, the automated testing system further includes:

[0019] A radio frequency test module, the radio frequency test module is used to establish a wireless connection with the unit under test, and the radio frequency test module is connected to the main control module.

[0020] Optionally, in the automated testing system as described above, the automated testing system further includes:

[0021] A power module, the power module is used to provide several power supplies for the unit under test, the power module is connected to the power input terminal of the unit under test through the test pin on the test fixture, and the control terminal of the power module is connected to the main control module;

[0022] A current testing module, the current testing module is used to measure the current of the unit under test, and the current testing module is connected to the main control module.

[0023] Optionally, in the aforementioned automated testing system, the current testing module includes:

[0024] A current sampling resistor, wherein the current sampling resistor is connected in series on a power supply path between the power module and the unit under test;

[0025] One or more operational amplifier units are connected in series, and the input end of the one or more operational amplifier units connected in series is connected to the current sampling resistor, and the output end is connected to the main control module.

[0026] Optionally, in the automated testing system as described above, the automated testing system further includes:

[0027] A digital quantity test module, which is used to measure the digital quantity parameters of the unit under test. The digital quantity test module has several analog switch chips, and the several analog switch chips are respectively connected to the unit under test through the test pins on the test fixture, and the control end of the analog switch chip is connected to the main control module.

[0028] Optionally, in the automated testing system as described above, the automated testing system further includes:

[0029] An analog quantity test module is used to measure the analog quantity parameters of the unit under test. The analog quantity test module has a plurality of digital-to-analog conversion chips, and the plurality of digital-to-analog conversion chips are respectively connected to the unit under test through the test pins on the test fixture, and the control end of the digital-to-analog conversion chip is connected to the main control module.

[0030] Optionally, in the automated testing system as described above, the automated testing system further includes:

[0031] A motor test module, which is used to measure the motor rotation parameters of the unit under test. The motor test module has several motors and a motor speed detection unit for detecting the speed of each motor. The driving ends of several of the motors are respectively connected to the unit under test through the test pins on the test fixture, and the several motor speed detection units are respectively connected to the main control module.

[0032] In order to solve the above technical problems, the second aspect of the present invention provides an automated testing method, the automated testing method comprising:

[0033] The main control module establishes communication with the unit under test through the communication module. The test module tests one or more test items on the unit under test. The test module or the unit under test sends the test data to the main control module, and the main control module determines whether the test data is within a preset range. If it is within the preset range, the test item result is passed, otherwise it is failed and displayed through the human-computer interaction module.

[0034] Optionally, in the aforementioned automated testing method, the automated testing method further comprises:

[0035] The main control module establishes communication with the unit under test through the communication module, obtains the physical address of the RF chip of the unit under test and transmits it to the RF test module, so that the RF test module and the RF chip are paired and a wireless connection is established, thereby realizing a wireless connection between the main control module and the unit under test;

[0036] The main control module sends a radio frequency test instruction to the unit under test through the communication module, so that the unit under test sends radio frequency test data wirelessly at the set strength and frequency. The main control module receives the radio frequency test data through the radio frequency test module and obtains the signal strength and signal frequency of the radio frequency test data.

[0037] The main control module compares the acquired signal strength with the preset signal strength range, and compares the acquired signal frequency with the preset signal frequency range. If both are within the preset range, the RF test item result is passed; otherwise, the RF test item result is failed. The main control module displays the RF test item result through the human-computer interaction module.

[0038] Optionally, in the aforementioned automated testing method, the automated testing method further comprises:

[0039] The main control module switches the power supply voltage of the unit under test to one of the power supply modes in sequence through the power supply module, and the main control module establishes communication with the unit under test through the communication module, so that the unit under test enters the corresponding current mode;

[0040] The main control module obtains the current of the unit under test through the current test module, and compares the current with the preset current range. If it is within the preset current range, the result of the current test item is passed, otherwise the result of the current test item is failed. The main control module displays the result of the current test item through the human-computer interaction module;

[0041] There are several power supply modes, and the current mode includes at least one or more of a charging mode, a sleep mode and a working mode.

[0042] Optionally, in the aforementioned automated testing method, the automated testing method further comprises:

[0043] The main control module sends a conduction instruction to the digital quantity test module, so that each channel of a number of analog switch chips is turned on one by one;

[0044] The unit under test detects whether the key is pressed and transmits the key value to the main control module through the communication module;

[0045] The main control module determines whether all buttons are pressed by key values. If all buttons are pressed, the button test item result is passed, otherwise the button test item result is failed. The main control module displays the button test item result and the failed buttons through the human-computer interaction module.

[0046] Optionally, in the aforementioned automated testing method, the automated testing method further comprises:

[0047] The main control module sends analog quantity instructions to the analog quantity test module, so that each digital-to-analog conversion chip outputs different voltages;

[0048] The unit under test detects the voltage output by the digital-to-analog conversion chip through its own analog-to-digital conversion unit, and transmits it to the main control module through the communication module;

[0049] The main control module compares the voltages of the analog quantity instruction with the voltages transmitted by the unit under test. If the voltage difference is within the preset voltage difference range, the result of the analog quantity test item is passed, otherwise the result of the analog quantity test item is failed. The main control module displays the result of the analog quantity test item and the failed analog quantity through the human-computer interaction module.

[0050] Optionally, in the aforementioned automated testing method, the automated testing method further comprises:

[0051] The main control module transmits the motor test instruction to the unit under test through the communication module;

[0052] The unit under test receives and sends motor test instructions to each motor to cause the motor to operate;

[0053] The main control module detects the speed of each motor through each motor speed detection unit, and compares the speed with the preset speed range. If it is within the preset speed range, the motor test item result is passed, otherwise the motor test item result is failed. The main control module displays the motor test item result and the failed motor position through the human-computer interaction module.

[0054] Optionally, in the aforementioned automated testing method, the automated testing method further comprises:

[0055] After all test items are completed, if all test item results are passed, the test result of the unit under test is considered to be passed, otherwise the test result of the unit under test is considered to be failed, and the main control module displays the test result of the unit under test through the human-computer interaction module.

[0056] Optionally, in the aforementioned automated test system, when the test result of the unit under test is failed, the main control module prominently displays the failed test items through the human-computer interaction module, and the main control module also reminds through the prompt module.

[0057] Optionally, in the aforementioned automated testing method, the automated testing method further comprises:

[0058] The user sets the test parameters of each test item, configures the test item, saves the template and calls the template through the human-computer interaction module;

[0059] The save template is used to save the currently configured test items and corresponding test parameters as a template for subsequent calls.

[0060] The positive and progressive effects of the present invention are:

[0061] 1. The existing semi-finished product testing method lacks the test of Bluetooth and other RF performance, which is a very important evaluation parameter of wireless products. The present invention can test and evaluate the RF performance of the product from two important dimensions: power and frequency deviation, which can improve the stability of the product.

[0062] 2. The existing PCBA semi-finished product testing method requires workers to constantly press and toggle various switches, which is inefficient and easily fatigued, and the cost is increased accordingly. The present invention uses an automated testing system and method for testing, which can reduce manual operations and reduce costs.

[0063] 3. The existing PCBA semi-finished product testing method requires manual work to determine whether some parameters meet the requirements during the testing process, which is prone to errors and subjective consciousness, resulting in misjudgment. The present invention uses an automated testing system to automatically determine whether the test parameters pass, which can reduce manual misjudgment, improve product qualification rate, and reduce the return rate.

[0064] 4. The present invention uses automation technology to improve test efficiency and comprehensiveness, reduce production costs, and improve product yield and stability. BRIEF DESCRIPTION OF THE DRAWINGS

[0065] The disclosure of the present invention will become more apparent with reference to the accompanying drawings. It should be understood that these drawings are only for illustrative purposes and are not intended to limit the scope of protection of the present invention. In the drawings:

[0066] Figure 1 A connection diagram of each module in the automated test system of the present invention;

[0067] Figure 2 A method flow chart of the automated testing method of the present invention;

[0068] Figure 3 The figure is a schematic diagram of a human-computer interaction interface of the present invention. DETAILED DESCRIPTION

[0069] The following describes the embodiments of the present invention through specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention.

[0070] It should be noted that the following embodiments and features therein may be combined with each other if there is no conflict.

[0071] In the description of the present invention, it should be noted that directional words such as the terms "outside", "middle", "inside", "outside", etc., which indicate directions and positional relationships, are based on the directions or positional relationships shown in the drawings. They are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and cannot be understood as limiting the specific protection scope of the present invention.

[0072] In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features. Therefore, the definition of "first" and "second" features can explicitly or implicitly include one or more of the features. In the description of the present invention, "several" and "a number" mean two or more, unless otherwise clearly and specifically defined.

[0073] Reference Figure 1 An embodiment of the present invention provides an automated testing system, which includes a test fixture 10, a main control module 20, a communication module 30, a plurality of test modules and a human-computer interaction module 40, wherein the test module includes a combination of one or more of a radio frequency test module 51, a current test module 52, a digital quantity test module 53, an analog quantity test module 54 and a motor test module 55.

[0074] The test fixture 10 is a connection device between the unit under test 90 and other modules in the automated test system that need to be connected to the unit under test 90. The test fixture 10 is provided with a plurality of test pins and a positioning device for positioning the unit under test 90. The test pins are preferably spring pins.

[0075] Each functional module on the unit under test 90 has some test points. The unit under test 90 is fixed on the test fixture 10 by a positioning device on the test fixture 10, so that the test needles and the test points of the unit under test 90 are aligned and contacted one by one to form an electrical connection.

[0076] Other modules can be electrically connected to the test pins on the test fixture 10 through wires, so that each module in the automated test system that needs to be connected to the unit under test 90 and each functional module on the unit under test 90 are electrically connected one-to-one.

[0077] The main control module 20 is used for test task scheduling and test data processing.

[0078] The communication module 30 is electrically connected to the test pins on the test fixture 10 through wires, and is used to communicate with the unit under test 90 to transmit test data and test instructions, etc. The communication module 30 preferably uses serial port communication.

[0079] The communication module 30 is also connected to the main control module 20 , and the communication module 30 establishes communication between the main control module 20 and the unit under test 90 .

[0080] The human-computer interaction module 40 is used for visual human-computer interaction. The user can configure test parameters and test items, display test results, and save and call templates through the human-computer interaction module 40 . The human-computer interaction module 40 is connected to the main control module 20 .

[0081] The test module is connected to the unit under test and the main control module respectively, and one or more test items are tested on the unit under test through the test module.

[0082] In some embodiments, the human-computer interaction module 40 is embedded in the host computer 42 .

[0083] At this time, the human-computer interaction module 40 can be considered as an application program installed on the host computer.

[0084] The automated testing system further includes a USB module 41 , which is used to communicate with a host computer and perform data transmission. The USB module 41 is connected to the main control module 20 , and the USB module 41 establishes communication between the main control module 20 and the host computer.

[0085] In some embodiments, the automated testing system further includes a data storage module 60 , which is used to store test data. The data storage module 60 is connected to the main control module 20 .

[0086] In some embodiments, the automated testing system further includes a prompt module 70 , which is used to remind test item results, and the prompt module 70 is connected to the main control module 20 .

[0087] The prompt module 70 may be a sound prompt module, a sound and light prompt module, or the like.

[0088] The prompt module 70 is preferably a buzzer module. When the test fails, the buzzer module can be used to remind the user that the test item result is failed.

[0089] In some embodiments, the automated testing system also includes a RF testing module 51, which is used to establish a wireless connection with the unit under test 90. The RF testing module 51 is used to test the RF performance of at least one wireless communication such as Bluetooth, 2.4G and 5G of the unit under test 90. The RF testing module 51 is connected to the main control module 20.

[0090] In some embodiments, the automated testing system further includes a power supply module 80 and a current testing module 52 .

[0091] The power module 80 is used to provide several power supplies for the unit under test 90. The power module 80 includes a power supply corresponding to the sleep mode, a power supply corresponding to the charging mode, and a power supply corresponding to the working mode. For example, at least two power supplies of 3.7V and 5V are provided, and can be freely switched by the main control module 20. The power module 80 is connected to the power input terminal of the unit under test 90 through the test pin on the test fixture 10, and the control terminal of the power module 80 is connected to the main control module 20.

[0092] The current testing module 52 is used to measure the current of the unit under test 90 , such as the working current, the charging current and the sleep current, etc. The current testing module 52 is connected to the main control module 20 .

[0093] In some embodiments, the current testing module 52 includes a current sampling resistor and one or more operational amplifier units connected in series.

[0094] The current sampling resistor is connected in series on the power supply path between the power module 80 and the unit under test 90. The input end of one or more serially connected operational amplifier units is connected to the current sampling resistor, and the output end is connected to the main control module 20.

[0095] The voltage signal is obtained by sampling the current sampling resistor, and the voltage signal is amplified by one or more serially connected operational amplifier units and then transmitted to the main control module 20. The main control module 20 obtains the corresponding current after calculating the voltage signal.

[0096] In some embodiments, the automated testing system also includes a digital quantity testing module 53, which is used to measure digital quantity parameters of the unit under test 90, such as buttons, etc. The digital quantity testing module 53 has a number of analog switch chips, and the several analog switch chips are respectively connected to the unit under test 90 through the test pins on the test fixture 10, and the control end of the analog switch chip is connected to the main control module 20.

[0097] With the above design, the main control module 20 drives the analog switch chip to be turned on or off, which is equivalent to the digital quantity parameter on the unit under test 90, such as the key being turned on or off.

[0098] In some embodiments, the automated testing system also includes an analog quantity testing module 54, which is used to measure analog quantity parameters of the unit under test 90, such as a joystick and a trigger, etc. The analog quantity testing module 54 has a plurality of digital-to-analog conversion chips, and the plurality of digital-to-analog conversion chips are respectively connected to the unit under test 90 through the test pins on the test fixture 10, and the control end of the digital-to-analog conversion chip is connected to the main control module 20.

[0099] With the above design, the main control module 20 drives the digital-to-analog conversion chip to output different voltages, which is equivalent to the analog parameters on the unit under test 90, such as the joystick and trigger, being moved to different positions.

[0100] In some embodiments, the automated testing system also includes a motor testing module 55, which is used to measure the motor rotation parameters of the unit under test 90. The motor testing module 55 has several motors and a motor speed detection unit for detecting the speed of each motor. The driving ends of the several motors are respectively connected to the unit under test 90 through the test pins on the test fixture 10, and the several motor speed detection units are respectively connected to the main control module 20.

[0101] With the above design, the unit under test 90 can drive each motor to rotate to a target speed.

[0102] An embodiment of the present invention provides an automated testing method. The automated testing method uses the automated testing system provided by the above embodiments of the present invention to test one or more test items.

[0103] The automated testing method includes a main control module establishing communication with a unit under test through a communication module, a test module performing one or more test items on the unit under test, the test module or the unit under test sending test data to the main control module, and the main control module determining whether the test data is within a preset range. If so, the test item result is passed, otherwise, it is failed and displayed through a human-computer interaction module.

[0104] In some embodiments, the automated testing method includes performing a test of a radio frequency test item:

[0105] S11, the main control module 20 establishes communication with the unit under test 90 through the communication module 30, obtains the physical address of the RF chip of the unit under test 90 and transmits it to the RF test module 51, so that the RF test module 51 is paired with the RF chip and establishes a wireless connection, thereby realizing the establishment of a wireless connection between the main control module 20 and the unit under test 90.

[0106] S12, the main control module 20 sends a radio frequency test instruction to the unit under test 90 through the communication module 30, so that the unit under test 90 sends radio frequency test data wirelessly at the set strength and frequency. The main control module 20 receives the radio frequency test data through the radio frequency test module 51 and obtains the signal strength and signal frequency of the radio frequency test data.

[0107] S13, the main control module 20 compares the acquired signal strength with the preset signal strength range, and compares the acquired signal frequency with the preset signal frequency range. If both are within the preset range, the RF test item result is passed; otherwise, the RF test item result is failed. The main control module 20 displays the RF test item result through the human-computer interaction module 40.

[0108] In some embodiments, the automated testing method includes performing a test of a current test item:

[0109] S21, the main control module 20 switches the power supply voltage of the unit under test 90 to one of the power modes in sequence through the power module 80, and the main control module 20 establishes communication with the unit under test 90 through the communication module 30, so that the unit under test 90 enters the corresponding current mode.

[0110] There are several power supply modes, and the current mode includes at least one or more of a charging mode, a sleep mode and a working mode.

[0111] S22, the main control module 20 obtains the current of the unit under test 90 through the current test module 52, and compares the current with the preset current range. If it is within the preset current range, the current test item result is passed, otherwise the current test item result is failed, and the main control module 20 displays the current test item result through the human-computer interaction module 40.

[0112] In some embodiments, the automated testing method includes performing a test on a key test item:

[0113] S31, the main control module 20 sends a conduction instruction to the digital quantity test module 53, so that the channels of the plurality of analog switch chips are successively turned on.

[0114] S32 , the tested unit 90 detects whether the key is pressed, and transmits the key value to the main control module 20 through the communication module 30 .

[0115] S33, the main control module 20 determines whether all the keys are pressed through the key values. If all the keys are pressed, the key test item result is passed, otherwise the key test item result is failed. The main control module 20 displays the key test item result and the failed keys through the human-computer interaction module 40.

[0116] In some embodiments, the automated testing method includes performing a test of a simulated quantity test item:

[0117] S41, the main control module 20 sends an analog quantity instruction to the analog quantity test module 54, so that each digital-to-analog conversion chip outputs a different voltage.

[0118] S42 , the unit under test 90 detects the voltage output by the digital-to-analog conversion chip through its own analog-to-digital conversion unit, and transmits it to the main control module 20 through the communication module 30 .

[0119] S43, the main control module 20 compares the voltages of the analog quantity instruction with the voltages transmitted by the unit under test 90. If the voltage difference is within the preset voltage difference range, the result of the analog quantity test item is passed; otherwise, the result of the analog quantity test item is failed. The main control module 20 displays the result of the analog quantity test item and the failed analog quantity through the human-computer interaction module 40.

[0120] In some embodiments, the automated testing method includes performing a test of a motor test item:

[0121] S51 , the main control module 20 transmits the motor test instruction to the unit under test 90 through the communication module 30 .

[0122] S52, the unit under test 90 receives and sends a motor test instruction to each motor to activate the motor.

[0123] S53, the main control module 20 detects the speed of each motor through each motor speed detection unit, and compares the speed with the preset speed range. If it is within the preset speed range, the motor test item result is passed, otherwise the motor test item result is failed. The main control module 20 displays the motor test item result and the failed motor position through the human-computer interaction module 40.

[0124] In some embodiments, the automated testing method further comprises:

[0125] S6, after all the test items are completed, if the results of all the test items are passed, the test result of the unit under test 90 is considered to be passed, otherwise the test result of the unit under test 90 is considered to be failed, and the main control module 20 displays the test result of the unit under test 90 through the human-computer interaction module 40.

[0126] In some embodiments, in step S6 , when the test result of the unit under test 90 is failed, the main control module 20 prominently displays the failed test items through the human-computer interaction module 40 , and the main control module 20 also reminds through the prompt module 70 .

[0127] In some embodiments, the automated testing method further comprises:

[0128] S0, the user sets the test parameters of each test item, configures the test item, saves the template and calls the template through the human-computer interaction module 40. The template saving is used to save the currently configured test items and the corresponding test parameters as a template for subsequent calling.

[0129] During specific use, the user can save a template corresponding to a model of handle, and can save multiple different templates, so that when testing the same model of handle, the corresponding saved template can be directly called, eliminating the steps of configuring test items and corresponding test parameters one by one.

[0130] Embodiment 1:

[0131] Reference Figure 3 In this embodiment, each test item that needs to be tested is displayed through the human-computer interaction module 40, and the user is provided with operations such as configuration and parameter modification of each test item.

[0132] The test process of each test item in this embodiment is a current test item, a button test item, a joystick trigger test item, a motor test item, and a radio frequency test item. Of course, the user can test some of the above test items according to actual needs, and can change the order of the front and back tests of each test item according to needs.

[0133] For the current test item, the power supply mode of this embodiment includes three modes: charging mode, sleep mode and working mode. Among them, the power supply corresponding to the charging mode is 5V, the power supply corresponding to the sleep mode is 3.7V, and the power supply corresponding to the working mode is 3.7V. The main control module 20 controls the power supply module 80 to switch in sequence. In this embodiment, since the power supply voltage corresponding to the working mode is the same as the power supply voltage corresponding to the sleep mode, when switching from the sleep current test to the working current test, there is no need to switch the power supply module 80 through the main control module 20 to provide it to the unit under test. The preset value, test value and test result of each mode are displayed in sequence in the human-computer interaction module 40, and the test result of the current test item is also displayed.

[0134] For the key test items, this embodiment displays each key, so that when a key test fails, the user is reminded in a highlighted manner. At the same time, the test results of the key test items are also displayed, and a configuration entry for the key test items is provided.

[0135] For the joystick trigger test item, this embodiment displays the left and right joysticks and the left and right triggers, so as to remind the user in a prominent manner when one of the joysticks or triggers fails the test. At the same time, the test results of the joystick trigger test item are also displayed.

[0136] For the motor test items, this embodiment displays the left and right grip motors and the left and right trigger motors, so that when one of the motors fails the test, it can remind the user in a prominent and highlighted manner. At the same time, the test results of the motor test items are also displayed, and the configuration entry of the motor test items is provided.

[0137] For the RF test items, this embodiment includes Bluetooth test and 2.4G test, so the corresponding parameters of the two are displayed, and the preset values, test values ​​and test results of the two are displayed at the same time. The test results of the RF test items are also displayed, and the configuration entry of the RF test items is provided.

[0138] This embodiment also displays the total test results after the test of each project is completed, and provides a save template button and a template call entry.

[0139] Reference Figure 2 When testing each test item, the automated testing method of the present invention is used to test each test item in turn. Specifically:

[0140] 1. Conduct current test items:

[0141] The main control module 20 switches the power module 80 to 5V to supply power to the unit under test (DUT). The main control module 20 sends a command to the DUT through the communication module 30, so that the DUT enters the charging mode.

[0142] The main control module 20 obtains the charging current of the unit under test 90 through the current testing module 52, and determines whether the charging current is within the preset charging current range. If it is within the preset charging current range, the result of the charging current test item is passed, and the next test is performed. If it is not within the preset charging current range, the result of the charging current test item is failed, and it is displayed through the human-computer interaction module 40, and the next test is performed.

[0143] The main control module 20 switches the power module 80 to 3.7V to supply power to the unit under test. The main control module 20 sends a command to the unit under test through the communication module 30, so that the unit under test enters the sleep mode.

[0144] The main control module 20 obtains the sleep current of the unit under test 90 through the current testing module 52, and determines whether the sleep current is within the preset sleep current range. If it is within the preset sleep current range, the sleep current test item result is passed, and the next test is performed. If it is not within the preset sleep current range, the sleep current test item result is failed, and it is displayed through the human-computer interaction module 40, and the next test is performed.

[0145] The main control module 20 sends instructions to the unit under test through the communication module 30, so that the unit under test enters the working mode.

[0146] The main control module 20 obtains the working current of the unit under test 90 through the current testing module 52, and determines whether the working current is within the preset working current range. If it is within the preset working current range, the result of the working current test item is passed, and the next test is performed. If it is not within the preset working current range, the result of the working current test item is failed, and it is displayed through the human-computer interaction module 40, and the next test is performed.

[0147] 2. Test the key test items:

[0148] The main control module 20 sends a conduction instruction to the digital quantity test module 53 to turn on the channels of the plurality of analog switch chips one by one.

[0149] The tested unit 90 detects whether the key is pressed, and transmits the key value to the main control module 20 through the communication module 30 .

[0150] The main control module 20 determines whether all the keys are pressed by the key value. If all the keys are pressed, the key test item result is passed and the next test is performed. Otherwise, the key test item result is failed and displayed through the human-computer interaction module 40 and the next test is performed.

[0151] 3. Test the joystick trigger test items:

[0152] The main control module 20 sends an analog quantity instruction to the analog quantity test module 54, so that each digital-to-analog conversion chip outputs a different voltage.

[0153] The unit under test 90 detects the voltage output by the digital-to-analog conversion chip through its own analog-to-digital conversion unit, and transmits the voltage to the main control module 20 through the communication module 30 .

[0154] The main control module 20 compares the voltages of the analog quantity instruction with the voltages transmitted by the unit under test 90. If the voltage difference is within the preset voltage difference range, the result of the analog quantity test item is passed and the next test is performed. Otherwise, the result of the analog quantity test item is failed and displayed through the human-computer interaction module 40 and the next test is performed.

[0155] 4. Carry out the motor test items:

[0156] The main control module 20 transmits the motor test instruction to the unit under test 90 through the communication module 30 .

[0157] The unit under test 90 receives and sends motor test instructions to each motor to activate the motor.

[0158] The main control module 20 detects the speed of each motor through each motor speed detection unit, and compares the speed with the preset speed range. If it is within the preset speed range, the result of the motor test item is passed and the next test is carried out. Otherwise, the result of the motor test item is failed and it is displayed through the human-computer interaction module 40 and the next test is carried out.

[0159] 5. Conduct RF test items:

[0160] The main control module 20 establishes communication with the unit under test 90 through the communication module 30, obtains the physical address of the RF chip of the unit under test 90 and transmits it to the RF test module 51, so that the RF test module 51 is paired with the RF chip and establishes a wireless connection, thereby realizing the establishment of a wireless connection between the main control module 20 and the unit under test 90.

[0161] The main control module 20 sends a radio frequency test instruction to the unit under test 90 through the communication module 30, so that the unit under test 90 sends radio frequency test data wirelessly at a set strength and frequency. The main control module 20 receives the radio frequency test data through the radio frequency test module 51 and obtains the signal strength and signal frequency of the radio frequency test data.

[0162] The main control module 20 compares the acquired signal strength with the preset signal strength range, and compares the acquired signal frequency with the preset signal frequency range. If both are within the preset range, the result of the RF test item is passed and the next step is performed. Otherwise, the result of the RF test item is failed and displayed through the human-computer interaction module 40 and the next step is performed.

[0163] 6. Determine whether the test results of all test items are passed. If so, the test result of the unit under test 90 is considered to be passed, and the human-computer interaction module 40 displays the test passed. Otherwise, the human-computer interaction module 40 displays the test failed and reminds through the buzzer.

[0164] Finally, save all the test data and the test ends.

[0165] The present invention is described in detail above in conjunction with the embodiments of the accompanying drawings. A person skilled in the art can make various variations of the present invention according to the above description. Therefore, some details in the embodiments should not be construed as limiting the present invention, and the present invention shall be protected by the scope defined by the attached claims.

Claims

1. An automated testing system, comprising a test fixture, characterized in that: The test fixture is provided with a plurality of test needles and a positioning device for positioning the unit under test; The automated testing system further comprises: A main control module, which is used for test task scheduling and test data processing; A communication module, the communication module is connected to the main control module and the test pins on the test fixture respectively, and the communication module establishes communication between the main control module and the unit under test; A test module, wherein the test module is connected to the unit under test and the main control module respectively, and one or more test items are tested on the unit under test through the test module; A human-computer interaction module, the human-computer interaction module is used for visualizing human-computer interaction, and the human-computer interaction module is connected to the main control module; The test module includes: An analog quantity test module is used to measure the analog quantity parameters of the unit under test. The analog quantity test module has a plurality of digital-to-analog conversion chips, and the plurality of digital-to-analog conversion chips are respectively connected to the unit under test through the test pins on the test fixture, and the control end of the digital-to-analog conversion chip is connected to the main control module.

2. The automated testing system according to claim 1, wherein: The human-computer interaction module is embedded in the host computer; The automated testing system further comprises: A USB module is used to connect to the host computer, the USB module is connected to the main control module, and the USB module establishes communication between the main control module and the host computer.

3. The automated testing system according to claim 1, wherein: The automated testing system further comprises: A data storage module, wherein the data storage module is used to store test data and is connected to the main control module.

4. The automated testing system according to claim 1, wherein: The automated testing system further comprises: A prompt module, the prompt module is used to remind the test item results, and the prompt module is connected to the main control module.

5. The automated testing system according to any one of claims 1 to 4, characterized in that: The automated testing system further comprises: A radio frequency test module, the radio frequency test module is used to establish a wireless connection with the unit under test, and the radio frequency test module is connected to the main control module; And / or, the automated testing system further comprises: A power module, the power module is used to provide several power supplies for the unit under test, the power module is connected to the power input terminal of the unit under test through the test pin on the test fixture, and the control terminal of the power module is connected to the main control module; A current testing module, the current testing module is used to measure the current of the unit under test, and the current testing module is connected to the main control module; And / or, the automated testing system further comprises: A digital quantity test module, the digital quantity test module is used to measure the digital quantity parameters of the unit under test, the digital quantity test module has a plurality of analog switch chips, the plurality of analog switch chips are respectively connected to the unit under test through the test pins on the test fixture, and the control end of the analog switch chip is connected to the main control module; And / or, the automated testing system further comprises: A motor test module, which is used to measure the motor rotation parameters of the unit under test. The motor test module has several motors and a motor speed detection unit for detecting the speed of each motor. The driving ends of several of the motors are respectively connected to the unit under test through the test pins on the test fixture, and the several motor speed detection units are respectively connected to the main control module.

6. The automated testing system according to claim 5, wherein: The current testing module comprises: A current sampling resistor, wherein the current sampling resistor is connected in series on a power supply path between the power module and the unit under test; One or more operational amplifier units are connected in series, and the input end of the one or more operational amplifier units connected in series is connected to the current sampling resistor, and the output end is connected to the main control module.

7. An automated testing method using the automated testing system according to any one of claims 1 to 6, characterized in that: The automated testing method comprises: The main control module establishes communication with the unit under test through the communication module. The test module tests one or more test items on the unit under test. The test module or the unit under test sends the test data to the main control module, which determines whether the test data is within a preset range. If it is within the preset range, the test item result is passed, otherwise it is failed and displayed through the human-computer interaction module. The automated testing method further comprises: The main control module sends analog quantity instructions to the analog quantity test module, so that each digital-to-analog conversion chip outputs different voltages; The unit under test detects the voltage output by the digital-to-analog conversion chip through its own analog-to-digital conversion unit, and transmits it to the main control module through the communication module; The main control module compares the voltages of the analog quantity instruction with the voltages transmitted by the unit under test. If the voltage difference is within the preset voltage difference range, the result of the analog quantity test item is passed, otherwise the result of the analog quantity test item is failed. The main control module displays the result of the analog quantity test item and the failed analog quantity through the human-computer interaction module.

8. The automated testing method according to claim 7, wherein: The automated testing method further comprises: The main control module establishes communication with the unit under test through the communication module, obtains the physical address of the RF chip of the unit under test and transmits it to the RF test module, so that the RF test module and the RF chip are paired and a wireless connection is established, thereby realizing a wireless connection between the main control module and the unit under test; The main control module sends a radio frequency test instruction to the unit under test through the communication module, so that the unit under test sends radio frequency test data wirelessly at a preset strength and frequency. The main control module receives the radio frequency test data through the radio frequency test module and obtains the signal strength and signal frequency of the radio frequency test data. The main control module compares the acquired signal strength with the preset signal strength range, and compares the acquired signal frequency with the preset signal frequency range. If both are within the preset range, the result of the RF test item is passed, otherwise the result of the RF test item is failed. The main control module displays the result of the RF test item through the human-computer interaction module; And / or, the automated testing method further comprises: The main control module switches the power supply voltage of the unit under test to one of the power supply modes in sequence through the power supply module, and the main control module establishes communication with the unit under test through the communication module, so that the unit under test enters the corresponding current mode; The main control module obtains the current of the unit under test through the current test module, and compares the current with the preset current range. If it is within the preset current range, the result of the current test item is passed, otherwise the result of the current test item is failed. The main control module displays the result of the current test item through the human-computer interaction module; There are several power supply modes, and the current mode includes at least one or more of a charging mode, a sleep mode and a working mode; And / or, the automated testing method further comprises: The main control module sends a conduction instruction to the digital quantity test module, so that each channel of a number of analog switch chips is turned on one by one; The unit under test detects whether the key is pressed and transmits the key value to the main control module through the communication module; The main control module determines whether all the buttons are pressed by the key value. If all the buttons are pressed, the button test item result is passed, otherwise the button test item result is failed. The main control module displays the button test item result and the failed buttons through the human-computer interaction module; And / or, the automated testing method further comprises: The main control module transmits the motor test instruction to the unit under test through the communication module; The unit under test receives and sends motor test instructions to each motor to cause the motor to operate; The main control module detects the speed of each motor through each motor speed detection unit, and compares the speed with the preset speed range. If it is within the preset speed range, the motor test item result is passed, otherwise the motor test item result is failed. The main control module displays the motor test item result and the failed motor position through the human-computer interaction module.

9. The automated testing method according to claim 8, wherein: The automated testing method further comprises: After all the test items are completed, if all the test item results are passed, the test result of the unit under test is considered to be passed, otherwise the test result of the unit under test is considered to be failed, and the main control module displays the test result of the unit under test through the human-computer interaction module; When the test result of the unit under test is not passed, the main control module will prominently display the failed test items through the human-computer interaction module, and the main control module will also remind through the prompt module.

10. The automated testing method according to any one of claims 7 to 9, characterized in that: The automated testing method further comprises: The user sets the test parameters of each test item, configures the test item, saves the template and calls the template through the human-computer interaction module; The save template is used to save the currently configured test items and corresponding test parameters as a template for subsequent calls.

Citation Information

Patent Citations

  • Full-automatic test system for MCU chip

    CN110275805A

  • Automatic hardware measuring tool

    CN114428208A

  • PCBA test method, system and device based on Bluetooth interaction

    CN117250482A

  • Production test method of intelligent door lock, electronic equipment and storage medium

    CN117389613A