Bluetooth module testing device and system
By designing a Bluetooth module testing device, the problems of low efficiency and high cost of Bluetooth module testing in the existing technology are solved, the functions of batch testing and result verification are realized, the testing efficiency is improved and the cost is reduced.
Patent Information
- Application Number
- CN202422450484.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-10
- Publication Date
- 2025-09-16
- Estimated Expiration
- 2034-10-10
AI Technical Summary
The existing Bluetooth module testing method cannot achieve batch testing, has low testing efficiency and high cost, cannot effectively save test data, and cannot achieve targeted testing of multiple functions.
A Bluetooth module testing device was designed, which included a communication interface, a Bluetooth RF transceiver unit, a CPLD unit and a module connection unit. The CPLD unit established a communication connection with the module connection unit, supported the simultaneous testing of multiple Bluetooth modules, and performed data analysis and storage through a host computer.
It has realized batch testing of Bluetooth modules, significantly improved testing efficiency, reduced testing costs, and supported the verification of test results.
Smart Images

Figure CN223348684U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of automated testing, in particular to a Bluetooth module testing device and system. Background Art
[0002] Prior art testing methods for Bluetooth modules in electric meters typically involve connecting a single Bluetooth module to a PC. This testing method fails to control test time and efficiency, and the test content is limited, making it impossible to conduct targeted testing or perform multiple functions simultaneously. Overcoming these issues is extremely costly, cumbersome, and uncontrollable. In particular, after batch testing of Bluetooth modules, if the test data cannot be effectively saved, subsequent verification becomes impossible, potentially rendering the testing process meaningless. Utility Model Content
[0003] The technical problem to be solved by the present invention is to provide a Bluetooth module testing device and system, which can realize batch testing of Bluetooth modules, significantly improve test efficiency, reduce test costs, and support test result verification.
[0004] In order to solve the above technical problems, the first technical solution adopted by the present invention is:
[0005] A Bluetooth module testing device includes: a communication interface, a Bluetooth radio frequency transceiver unit, a CPLD unit, and a module connection unit; the communication interface is connected to the Bluetooth radio frequency transceiver unit and the CPLD unit respectively; the Bluetooth radio frequency transceiver unit is connected to the module connection unit via the CPLD unit; the number of the module connection units is two or more;
[0006] The module connection unit is configured to establish a communication connection between the Bluetooth module under test and the CPLD unit;
[0007] The communication transfer interface is configured to establish communication connections between the host computer and the CPLD unit and the Bluetooth radio frequency transceiver unit respectively;
[0008] The CPLD unit is configured to convert the received test data frame into a serial port signal and then send it to the Bluetooth module under test;
[0009] The Bluetooth radio frequency transceiver unit is configured to be pre-installed with test firmware, and is capable of transmitting and receiving Bluetooth radio frequency signals according to the test firmware and / or under the control of the host computer.
[0010] Optionally, the communication conversion interface includes a first USB to UART interface and a second USB to UART interface; the second USB to UART interface has more than two UART interfaces;
[0011] The Bluetooth radio frequency transceiver unit is connected to the host computer via the first USB to UART interface; the CPLD unit is connected to the host computer via the second USB to UART interface.
[0012] Optionally, the number of the second USB-to-UART interfaces is more than two; each of the second USB-to-UART interfaces has four UART interfaces.
[0013] Optionally, it further includes a power supply unit; the power supply unit is connected to the Bluetooth radio frequency transceiver unit and the CPLD unit respectively.
[0014] Optionally, a PLT board is further included; the communication interface, Bluetooth radio frequency transceiver unit, CPLD unit and module connection unit are arranged on the PLT board.
[0015] The second technical solution adopted in this utility model is:
[0016] A Bluetooth module test system, comprising a host computer, two or more Bluetooth modules to be tested, and the above-mentioned Bluetooth module test device;
[0017] The host computer is connected to the communication interface in the Bluetooth module testing device; the two or more Bluetooth modules to be tested are connected to the module connection units in the Bluetooth module testing device in a one-to-one correspondence.
[0018] Optionally, the Bluetooth module under test is a Bluetooth module in a single-phase electricity meter, a three-phase electricity meter, a concentrator and / or an IoT meter.
[0019] The third technical solution provided by the utility model is:
[0020] The Bluetooth module testing method, based on the above-mentioned Bluetooth module testing system, includes the following test procedures:
[0021] Automatically initialize serial port and protocol parameters through the host computer;
[0022] The host computer sends the test data frame to the CPLD unit through the communication interface;
[0023] The CPLD unit converts the received test data frame into a serial port signal and sends it to the Bluetooth module under test via the module connection unit;
[0024] The tested Bluetooth module performs a functional test based on the received test data frame and replies with a confirmation frame, wherein the confirmation frame includes its own Bluetooth address and the Bluetooth signal strength value corresponding to the functional test;
[0025] The Bluetooth radio frequency transceiver unit captures the confirmation frame and uploads it to the host computer through the communication interface;
[0026] The host computer tests the radio frequency performance of the corresponding tested Bluetooth module based on the received confirmation frame, wherein the radio frequency performance includes transmission power, bit error rate, and carrier frequency offset and drift;
[0027] The host computer displays and stores the test results corresponding to each tested Bluetooth module.
[0028] Optionally, the testing process further includes:
[0029] After receiving the reset instruction, the CPLD unit controls to generate a reset signal, and sends the reset signal to each tested Bluetooth module through the module connection unit to perform a reset operation.
[0030] Optionally, the testing process further includes:
[0031] The CPLD unit generates a calibration pulse and sends it to each Bluetooth module under test through the module connection unit;
[0032] The module connection unit receives the return frames replied by each tested Bluetooth module according to the calibration pulse, and sends the return frames to the host computer to calibrate the internal parameters of each tested Bluetooth module.
[0033] The beneficial effect of the present invention is that: through the Bluetooth module testing device, the Bluetooth radio frequency performance of the tested Bluetooth modules can be automatically tested in batches, which significantly improves the test efficiency, reduces the test cost, and supports the verification of test results. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 A schematic diagram of the simplest structure of a Bluetooth module testing device provided by an embodiment of the present utility model;
[0035] Figure 2 A schematic diagram of the structure of a Bluetooth module testing device provided in an embodiment of the present utility model;
[0036] Figure 3 A schematic diagram of the tooling structure of a Bluetooth module test device provided in an embodiment of the present utility model;
[0037] Figure 4 Parameter description of the power supply used in the tooling structure of the Bluetooth module test device provided for the specific example of the present utility model;
[0038] Figure 5 A schematic diagram of the pin header connection between the module connection unit DUT and the PTL board in the tooling structure of the Bluetooth module test device provided in an embodiment of the present invention;
[0039] Figure 6 for Figure 5 Description of the purpose of each connection pin;
[0040] Figure 7 A schematic diagram of the UART connection between the module connection unit DUT and the CPLD unit in the tooling structure of the Bluetooth module test device provided in an embodiment of the present invention;
[0041] Figure 8 for Figure 7 Description of the purpose of each connection pin;
[0042] Figure 9 This is an example diagram of a transmission power test record displayed on the test software interface of the host computer in a specific embodiment of the present utility model;
[0043] Figure 10 This is an example diagram of a bit error rate test record displayed on the test software interface of the host computer in a specific embodiment of the present utility model;
[0044] Figure 11 This is an example diagram of a carrier frequency offset and drift test record displayed on the test software interface of the host computer in a specific embodiment of the present utility model;
[0045] Figure 12 This is an example diagram of other test records displayed on the test software interface of the host computer in the specific implementation mode of the present utility model;
[0046] Figure 13 A schematic diagram of a software testing process based on the tooling structure of the Bluetooth module testing device provided in an embodiment of the present utility model;
[0047] Figure 14 This is an example diagram of the test software interface of the host computer in a specific example of the present utility model;
[0048] Figure 15 A schematic diagram of the structure of a Bluetooth module testing system provided by an embodiment of the present utility model;
[0049] Figure 16 The present invention provides a flow chart of a Bluetooth module testing method implemented based on a Bluetooth module testing system. DETAILED DESCRIPTION
[0050] In order to explain the technical content, achieved objectives and effects of the present invention in detail, the following description is given in conjunction with the embodiments and the accompanying drawings.
[0051] In order to explain in detail the possible application scenarios, technical principles, specific solutions that can be implemented, and the purpose and effects of the present invention, the following is a detailed description of the specific embodiments listed in conjunction with the accompanying drawings. The embodiments described herein are only used to more clearly illustrate the technical solutions of the present invention and are therefore only examples and are not intended to limit the scope of protection of the present invention.
[0052] References to "embodiments" herein mean that the specific features, structures, or characteristics described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the word "embodiment" in various places in the specification does not necessarily refer to the same embodiment, nor does it particularly limit its independence or relevance to other embodiments. In principle, in this application, as long as there are no technical contradictions or conflicts, the various technical features mentioned in the embodiments can be combined in any manner to form a corresponding implementable technical solution.
[0053] Unless otherwise defined, the technical terms used herein have the same meanings as those generally understood by those skilled in the art to which the present invention belongs; the use of relevant terms herein is only for describing specific embodiments and is not intended to limit the present application.
[0054] In the description of this utility model, the term "and / or" is used to describe a logical relationship between objects, indicating that three relationships can exist. For example, A and / or B means: A exists, B exists, and both A and B exist. In addition, the character " / " in this document generally indicates that the objects before and after are in a logical "or" relationship.
[0055] In the present invention, terms such as "first" and "second" are merely used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship of quantity, priority or sequence between these entities or operations.
[0056] Without further restrictions, in the present invention, the words "include", "comprise", "have" or other similar expressions used in sentences are intended to cover non-exclusive inclusion. These expressions do not exclude the presence of additional elements in the process, method or product including the elements, so that the process, method or product including a series of elements may include not only those limited elements, but also other elements not explicitly listed, or also include elements inherent to such process, method or product.
[0057] Consistent with the understanding in the Examination Guidelines, in this utility model, expressions such as "greater than," "less than," and "exceed" are understood to exclude the number itself; expressions such as "above," "below," and "within" are understood to include the number itself. Furthermore, in the description of the embodiments of this utility model, "multiple" means two or more (including two), and similar expressions related to "multiple," such as "multiple groups" and "multiple times," are also understood in this manner, unless otherwise specifically defined.
[0058] In the description of the embodiments of the present invention, the space-related expressions used, such as "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "vertical", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential", etc., indicate the orientation or position relationship based on the orientation or position relationship shown in the specific embodiments or drawings, and are only for the convenience of describing the specific embodiments of the present invention or facilitating the reader's understanding, and do not indicate or imply that the device or component referred to must have a specific position, a specific orientation, or be constructed or operated in a specific orientation. Therefore, it should not be understood as a limitation on the embodiments of the present invention.
[0059] Unless otherwise expressly specified or limited, in the description of the embodiments of the present invention, the terms "installed", "connected", "connected", "fixed", "set", etc. used should be understood in a broad sense. For example, the "connection" can be a fixed connection, a detachable connection, or an integrated setting; it can be a mechanical connection, an electrical connection, or a communication connection; it can be a direct connection or an indirect connection through an intermediate medium; it can be the internal connection of two elements or the interaction relationship between two elements. For those skilled in the technical field of the present invention, the specific meanings of the above terms in the embodiments of the present invention can be understood according to specific circumstances.
[0060] Please refer to Figure 1 , Figure 1 This is a schematic diagram of the simplest structure of a Bluetooth module testing device provided by an embodiment of the utility model.
[0061] like Figure 1 As shown, the embodiment of the present invention provides a Bluetooth module test device, which at least includes: a communication interface, a Bluetooth radio frequency transceiver unit, a CPLD unit and a module connection unit DUT. The communication interface is connected to the Bluetooth radio frequency transceiver unit and the CPLD unit respectively; the Bluetooth radio frequency transceiver unit is connected to the module connection unit via the CPLD unit; the number of the module connection units DUT is more than two, so as to support the test device to test more than two Bluetooth modules under test (i.e., Figure 1The module connection units DUT 1 to module connection units DUT n) are shown for testing.
[0062] In this embodiment, the module connection units DUT 1 through DUT n are configured as interfaces for connecting the Bluetooth module under test to the test apparatus, thereby establishing a communication connection between the Bluetooth module under test and the CPLD unit in the test apparatus. The number of module connection units is multiple, and the specific number configured can be flexibly modified. Thus, the test apparatus provided in this embodiment can simultaneously connect multiple Bluetooth modules under test via multiple module connection units, thereby enabling large-scale module production testing.
[0063] The communication interface is configured to establish a communication connection between the host computer and the CPLD unit, and a communication connection between the host computer and the Bluetooth radio frequency transceiver unit. That is, the test device is connected to the host computer through the communication interface so as to be able to receive the test data frame sent by the host computer and upload the test signal sent by the Bluetooth radio frequency transceiver unit to the host computer. This embodiment is based on the problem that the host computer and the test device, specifically the CPLD unit and the Bluetooth radio frequency transceiver unit, cannot directly communicate and interact due to the different interface types. By configuring the communication interface on the test device, the docking between the host computer and the CPLD unit, and the docking between the host computer and the Bluetooth radio frequency transceiver unit are achieved, thereby building a communication link between the host computer and the test device, and providing support for data transmission in the subsequent test process. Usually, the communication interface is a USB to UART interface.
[0064] The CPLD unit is configured to convert received test data frames into serial port signals before sending them to the Bluetooth module under test. In other words, it switches UART signals between the host computer and the Bluetooth module under test to ensure that the Bluetooth module under test can normally receive and process the test data frames and perform automated testing.
[0065] The Bluetooth RF transceiver unit is configured to be pre-installed with test firmware and is capable of transmitting and receiving Bluetooth RF signals according to the test firmware and / or under the control of a host computer. Here, the pre-installed test firmware supports the use of a CPLD with custom commands to control test instructions, thereby enabling it to function as a transceiver for transmitting and receiving Bluetooth RF signals.
[0066] The working principle of the above-mentioned Bluetooth module test device is as follows:
[0067] Multiple Bluetooth modules under test are connected through the module connection unit of the test device; a communication connection between the test device and the host computer is established through the communication interface of the test device; the host computer sends a test data frame to the test device; the test device receives the test data frame through the communication interface and sends it to the CPLD unit; the CPLD unit converts the received test data frame into a serial port signal that can be recognized and processed by the Bluetooth module under test, and then sends it to the corresponding Bluetooth module under test through each module connection unit; each Bluetooth module under test performs relevant tests based on the test data frame and replies with a confirmation frame, which includes its own Bluetooth address and the Bluetooth signal strength value corresponding to the functional test; the Bluetooth RF transceiver unit of the test device captures the confirmation frame and uploads it to the host computer; the host computer analyzes and obtains the test result of the corresponding Bluetooth module under test, and stores it in an associated manner.
[0068] The Bluetooth module testing device provided in this embodiment can perform fully automatic and efficient Bluetooth radio frequency performance testing on multiple connected Bluetooth modules under test by interacting with the host computer, thereby achieving the purpose of large-scale Bluetooth module production testing in a lower-cost and more efficient manner.
[0069] In some specific embodiments, the Bluetooth module testing device further includes a power supply unit connected to the Bluetooth RF transceiver unit and the CPLD unit, respectively. The power supply unit is configured to provide the power required for normal operation of the testing device.
[0070] In some other specific embodiments, Figure 2 As shown, the communication interface specifically includes a first USB-to-UART interface and a second USB-to-UART interface; wherein the second USB-to-UART interface has two or more UART interfaces; the Bluetooth RF transceiver unit is connected to the host computer via the first USB-to-UART interface; and the CPLD unit is connected to the host computer via the second USB-to-UART interface. In other words, the first USB-to-UART interface is responsible for connecting the Bluetooth RF transceiver unit to the host computer, while the second USB-to-UART interface is responsible for connecting the CPLD unit to the host computer.
[0071] As a preferred example, each second USB to UART interface is equipped with a four-channel UART output (ie Figure 2 As shown in the figure, 4 x FT4232 are used. Each second USB-to-UART interface can therefore support up to four channels of USB-to-UART conversion, converting one USB channel into four UART channels for output to the CPLD unit, and then to four Bluetooth modules under test. Therefore, up to four Bluetooth modules under test can be connected to the host computer through one second USB-to-UART interface.
[0072] In particular, the number of the second USB-to-UART interfaces can be flexibly configured according to demand. Optionally, the number of the second USB-to-UART interfaces is two or more to support a greater number of Bluetooth modules under test to access the test device for testing.
[0073] It can be seen that by regulating the number N of the second USB to UART interfaces, where N is an integer greater than 1, it is possible to support up to 4N tested Bluetooth modules to access the test device and communicate with the host computer; thereby realizing large-scale Bluetooth RF testing of the tested Bluetooth modules.
[0074] In some further specific implementations, the Bluetooth module testing device is implemented by placing the above-mentioned communication interface, Bluetooth radio frequency transceiver unit, CPLD unit and module connection unit DUT on a PLT board.
[0075] The PLT board, a multifunctional test board, is widely used in the testing and development of various electronic products. It supports internal and external Flash programming, Bluetooth address programming, crystal oscillator calibration, and other functions. It also supports RSSI measurement card control and programming, with an adjustable I / O level range of 1.7 to 3.5V. Therefore, using the PLT board to achieve an integrated layout design for all components of the test device provides great convenience, flexibility, and efficiency for the device's structural implementation, facilitating functional expansion. Furthermore, the integrated structure facilitates miniaturization of the test device.
[0076] Please refer to Figure 2 , Figure 2 A schematic structural diagram of a Bluetooth module testing device provided in an embodiment of the present utility model.
[0077] This embodiment Figure 1 Further expansion is made on the basis of the embodiment to provide a Bluetooth module testing device that supports Bluetooth radio frequency function testing of 16 Bluetooth modules at the same time.
[0078] like Figure 2 As shown, the Bluetooth module test device of this embodiment has one first USB to UART interface, which can be FT232; four second USB to UART interfaces, which can be FT4232; and correspondingly, the number of module connection units DUT is 16 (i.e. Figure 2 The module connection units DUT 1 to module connection units DUT 16 are shown).
[0079] In this embodiment, through the configuration of 16 module connection units DUT and 4 second USB to UART interfaces, the Bluetooth module test device provides the communication function of converting 1 USB channel into 16 UART outputs, and 16 UART channels into 1 USB output, thereby enabling up to 16 tested Bluetooth modules to be connected to the Bluetooth module test device to interact with the host computer and simultaneously carry out Bluetooth RF function testing.
[0080] In this embodiment, the main function of the communication interface is to connect the test device to the host computer to transmit test signals during the test process. This includes transmitting test instructions issued by the host computer to the Bluetooth module under test, and sending test data returned by the Bluetooth module under test based on the test instructions to the host computer. Upon receiving the test instructions, the Bluetooth module under test will analyze and return the corresponding test data to the host computer. Upon receiving the test data, the host computer will automatically parse and analyze it, complete the test performance analysis of the corresponding Bluetooth module under test, and associate the test records with the corresponding Bluetooth module under test before saving them to a database.
[0081] The main function of the CPLD unit of the Bluetooth module testing device of this embodiment is to switch the UART signal between the communication interface connected to the host computer and the module connection unit DUT connected to the Bluetooth module to be tested, that is, after receiving the test data frame sent by the host computer test software through the communication interface, the CPLD unit switches it to a UART serial port signal, and then transmits it to the Bluetooth module to be tested via the module connection unit DUT for functional testing.
[0082] In some specific implementations, the CPLD unit can also function as a switch for the DUT VBAT signal and the DUT VPP signal (only when VBAT is enabled), thereby achieving a reset function. The main principle is that after the CPLD unit is connected to a host computer via a communication interface, the host computer can use the DUT VBAT signal switch function, which only takes effect when VBAT is enabled. This allows the CPLD unit to generate a reset signal, which is transmitted to the Bluetooth module under test through the module connection unit DUT to perform a reset operation.
[0083] In some other specific implementations, the CPLD unit can also generate a 500ms XTAL calibration pulse during the test process, so as to achieve the function of calibrating the internal parameters of the Bluetooth module under test. Specifically, after the CPLD unit generates a calibration pulse and sends it to the Bluetooth module under test; the Bluetooth module under test will send a return data frame to the host computer; the host computer judges the return data frame to calibrate the internal parameters of the Bluetooth module under test. The judgment logic is: the sixth, seventh, and eighth bits of the return data frame of the Bluetooth module under test represent the output power of the Bluetooth module, and the calculation logic is to subtract 30 from the return value and then flip from hexadecimal to decimal, with 2E as the decimal point, and thus parse to obtain the output power value. Therefore, after receiving the return data frame, the host computer will parse it, obtain its corresponding output power, and then judge whether the corresponding internal parameter function of the Bluetooth module under test meets the test requirements. As a specific example, the host computer receives a return data frame of "OD 0A28 52 45 43 2E 5630 31 2E 30 38 0D 0A." By calculating the sixth, seventh, and eighth bits of the return data frame, the host computer determines that the corresponding Bluetooth module power is 19.38dBm. Since the power level of the Bluetooth module under test is 1, the power should be greater than 0dBm and less than 20dBm. Therefore, the host computer determines that the internal parameters of the Bluetooth module under test meet the standard.
[0084] The main function of the Bluetooth module test device of this embodiment is to act as an RF transmitter in the RFRSSIDUT test. Specifically, the host computer sends the test frame to the first USB to UART interface, and the first USB to UART interface passes the test frame to the Bluetooth radio frequency transceiver unit; when the Bluetooth radio frequency transceiver unit receives the test frame, it will send the test frame to the Bluetooth module under test, and at the same time will capture the Bluetooth test return frame in real time; after the Bluetooth radio frequency transceiver unit captures the return frame, it will upload it to the host computer via the first USB to UART interface. If the Bluetooth radio frequency transceiver unit does not capture the return frame within a preset time (for example, within five seconds) after sending the test frame again, the Bluetooth radio frequency transceiver unit will send the test frame again. If the capture fails twice, the test is judged to have failed. If the return frame is successfully obtained once in the two times, the host computer will perform data analysis normally and display the test results.
[0085] In some specific implementations, the Bluetooth radio frequency transceiver unit may also be used to scan the device status of the Bluetooth module under test to detect whether there is a problem with the device.
[0086] In some further specific embodiments, the Bluetooth RF transceiver unit may also use PWM to generate audio tones, so as to serve as an audio generator to test the audio function of the Bluetooth module under test.
[0087] In some specific embodiments, the Bluetooth RF transceiver unit is implemented by mounting a CPLD (Computer Programmable Device) (CPLD) on a GoldenUnit (GU) board, which uses custom commands to control the DUT transceiver for transmitting and receiving Bluetooth RF signals. The GoldenUnit GU is a program running on the SPI Flash memory of the PLT board. It implements Bluetooth RF transceiver functionality by pre-programming specific test firmware in the SPI Flash memory. To update the GU program, you can run GU_fw_upgrade.exe through the GU JTAG connector or UART.
[0088] As a specific example, the Bluetooth radio frequency transceiver unit can be obtained by soldering a DA14580 chip on a gold unit in a QFN48 package.
[0089] The Bluetooth module testing device of this embodiment is as follows: Figure 2 As shown in the figure, the 16 module connection units DUT 1 to DUT 16 are used to connect 16 Bluetooth modules under test to the test device. The test data frames sent by the CPLD unit can be transmitted to the Bluetooth module under test through the module connection units DUT. This enables a single test device to connect to 16 Bluetooth modules under test through the 16 module connection units DUT, allowing batch Bluetooth RF function testing.
[0090] In some specific embodiments, the module connection unit DUT is configured with a Bluetooth system-on-chip (SoC) model DA14531. Since the DA14531 supports single-line UART, P05 or PO3 of the DA14531 can be used to establish a single-line UART connection, thereby establishing a UART connection between the module connection unit DUT and the CPLD unit.
[0091] See also Figures 3 to 14 The present invention is based on the above Figure 2 The embodiment is further expanded to provide a tooling structure implementation method for the above-mentioned Bluetooth module testing device.
[0092] The tooling frame of the Bluetooth module test device described in the above embodiment is realized by a PLT board, and the structure of the PLT board is as follows: Figure 3 The PLT board is integrated with various components of the Bluetooth module test device; in addition, it also includes a VPP jumper and a current jumper, which are used to adjust the voltage level and current path in the circuit respectively.
[0093] The gold unit on the PLT board is soldered with a DA14580 chip in a QFN48 package. Most of its 48 pins are used to connect to the CPLD unit. The black banana sockets are all connected to the same ground (GND) plane.
[0094] The PLT board adopts an external power supply configuration, which is specifically connected through the banana socket on the PLT board. As a specific example, the power supply parameters of the PLT board are as follows: Figure 4 shown.
[0095] Among them, the 16 module connection units DUT1 to DUT16 on the PTL board are connected to the pin headers of the PTL board and the description of the purpose of each pin is as follows: Figure 5 and Figure 6 As shown. Each module connection unit DUT is equipped with a Bluetooth system-level chip model DA14531. Since DA14531 supports single-line UART, P05 or PO3 of DA14531 can be used for single-line UART connection to establish a UART connection relationship between the module connection unit DUT and the CPLD unit. The specific connection is as follows Figure 7 As shown, the connection pin description is as follows Figure 8 As a specific example, Figure 7 The DA14531 in the DUT module's connection unit is connected to the CPLD unit via a resistor with selectable resistance. As a specific example, the DUT RX and DUT TX pins on the PLT board should be close to the edge of the PLT board and short-circuited. This short-circuit establishes a direct electrical connection between the two pins and the PLT board.
[0096] The test operation process carried out based on the tooling structure of the Bluetooth module test device provided in this embodiment is as follows:
[0097] (1) Connect the tooling to the host computer (such as a PC) to generate a serial port, configure the test software on the host computer, and perform test operations;
[0098] (2) Place 16 Bluetooth modules under test on the tooling and establish connections with the tooling;
[0099] (3) Click the test software on the host computer to perform batch testing;
[0100] (4) After the test is completed, the test software of the host computer will automatically display the test results and save the test records.
[0101] In some specific implementations, the test record displayed on the test software interface of the host computer after the test is completed includes:
[0102] (1) The transmission power is mainly used to test the maximum power, minimum power, and peak to average power of the Bluetooth module under test. The test is performed by sending a fixed number of test packets. The test records are as follows: Figure 9 shown.
[0103] (2) The receiving error is mainly tested by receiving a large number of data packets. The Bluetooth module under test must meet the test standards to pass. The test record is as follows: Figure 10 shown.
[0104] (3) Carrier frequency offset and drift test mainly tests the average frequency offset, maximum +ve frequency offset, maximum frequency offset, drift rate, maximum drift, and average drift. The test is performed by sending fixed test data packets and recording the following information: Figure 11 shown.
[0105] (4) Other test items such as Figure 12 shown.
[0106] like Figure 13 As shown, the software testing process carried out based on the tooling structure of the Bluetooth module testing device provided in this embodiment is as follows:
[0107] (1) Log in to the test software through the host computer;
[0108] (2) Automatically initialize serial port and protocol parameters;
[0109] (3) The test software calls the FT232 communication serial port generated by the tooling to connect to the host computer;
[0110] (4) After the test is triggered by the test software, a fixed test data frame is sent to the tooling through the FT232 serial port. The tooling is connected to the module through the serial port and sends data frames to the Bluetooth module under test connected to the tooling for testing;
[0111] (5) The host computer compares the data frames returned by the tested Bluetooth module and analyzes whether the tested Bluetooth module meets the test requirements.
[0112] As a specific example, the test software interface in the host computer is as follows: Figure 14 As shown in the figure, this software is developed by Delphi and can send data frames to multiple serial ports at the same time for batch testing.
[0113] See also Figure 15 Based on any of the above embodiments, this embodiment further provides a Bluetooth module testing system, which includes a host computer, two or more Bluetooth modules to be tested (such as Figure 15 The tested Bluetooth modules 1 to n) and the Bluetooth module testing device described in any of the above embodiments;
[0114] The host computer is connected to the communication interface in the Bluetooth module testing device (such as Figure 15 The first USB to UART interface and the second USB to UART interface shown); the two or more tested Bluetooth modules are connected one-to-one with the module connection units in the Bluetooth module testing device.
[0115] Here, the specific structure of the Bluetooth testing device will not be repeated here. For details, please refer to the description of the above embodiment.
[0116] In this embodiment, the host computer can be a PC, a mobile smart device (such as a mobile phone, a tablet, etc.), a touch screen, etc.
[0117] In this embodiment, the Bluetooth module under test is a Bluetooth module in a single-phase electricity meter, a three-phase electricity meter, a concentrator, and / or an IoT meter.
[0118] See also Figure 16 The present invention also provides a Bluetooth module testing method based on the Bluetooth module testing system described in the above embodiment. The specific structure of the Bluetooth module testing system will not be repeated here. For details, please refer to the description of the previous embodiment.
[0119] Combine Figure 2 、 Figure 15 and Figure 16 The Bluetooth module testing method provided in this embodiment includes the following test procedures:
[0120] S1: Automatically initialize the serial port and protocol parameters through the host computer;
[0121] S2: The host computer sends the test data frame to the CPLD unit through the communication interface, specifically the second USB to UART interface;
[0122] S3: The CPLD unit converts the received test data frame into a UART serial port signal and sends it to each Bluetooth module under test via the module connection unit;
[0123] S4: Each tested Bluetooth module performs a functional test based on the received test data frame and responds with a confirmation frame, wherein the confirmation frame includes its own Bluetooth address and the Bluetooth signal strength value corresponding to the functional test;
[0124] S5: The Bluetooth radio frequency transceiver unit captures the confirmation frame sent by the tested Bluetooth module and uploads it to the host computer through the communication interface, specifically the first USB to UART interface;
[0125] S6: The host computer tests the radio frequency performance of the corresponding tested Bluetooth module based on the received confirmation frame, wherein the radio frequency performance includes transmission power, bit error rate, and carrier frequency offset and drift;
[0126] S7: The host computer displays and stores the test results corresponding to each tested Bluetooth module.
[0127] In some specific implementations, the host computer will distinguish and prompt the tested Bluetooth modules that have passed the test and those that have failed the test based on the test results of each Bluetooth module.
[0128] The Bluetooth module testing device, system and testing method provided by the utility model have the following advantages:
[0129] 1. Comprehensiveness and accuracy: This utility model can comprehensively detect the various functions and performance of the tested Bluetooth device, ensuring the stability and reliability of the device in various scenarios; through precise data analysis and test reports, it can accurately evaluate the performance of the device.
[0130] 2. High degree of automation: This utility model uses automated testing tools and methods, which can greatly improve testing efficiency and reduce manual intervention and errors. Automated testing tools can automatically execute test cases, collect test results, and generate detailed test reports.
[0131] 3. Compatibility testing: This utility model can perform compatibility testing on different versions and models of Bluetooth devices to ensure interoperability between devices. This helps reduce connection problems between devices and improve user experience.
[0132] 4. Fault diagnosis and repair: This utility model can help developers quickly locate and repair faults and problems in Bluetooth devices. By simulating various abnormal situations, the test tool can trigger device failures and provide detailed diagnostic information to help developers quickly find the problem and fix it.
[0133] Based on the above advantages, the utility model will bring the following technical effects:
[0134] 1. Improve product quality: This utility model can ensure the stability and reliability of Bluetooth devices in various scenarios, reduce device failures and connection problems, and improve the overall quality of the product.
[0135] 2. Improve user experience: This utility model can ensure interoperability and compatibility between devices, reduce user troubles and inconveniences during use, and improve user experience.
[0136] 3. Reduce development costs: The Bluetooth testing technology carried out through the automated testing tools and methods provided by this utility model can reduce testing costs and time costs and improve development efficiency; at the same time, by promptly discovering and fixing problems, it can reduce subsequent maintenance costs and risks.
[0137] 4. Enhance product competitiveness: Products that have been rigorously tested and verified by this utility model have greater advantages in performance, stability and safety, which can enhance product competitiveness and attract more users to choose and use them.
[0138] To sum up, the Bluetooth module testing device, system and testing method provided by the utility model have the advantages of high comprehensiveness and accuracy, high degree of automation, compatibility detection, fault diagnosis and repair, and safety detection. They can improve product quality, enhance user experience, reduce development costs and enhance product competitiveness.
[0139] The above description is merely an embodiment of the present invention and does not limit the patent scope of the present invention. Any equivalent transformations made using the contents of the description and drawings of the present invention, or directly or indirectly applied in the relevant technical field, are also included in the patent protection scope of the present invention.
Claims
1. A Bluetooth module testing device, characterized in that: include: A communication transfer interface, a Bluetooth radio frequency transceiver unit, a CPLD unit, and a module connection unit; the communication transfer interface is connected to the Bluetooth radio frequency transceiver unit and the CPLD unit respectively; The Bluetooth radio frequency transceiver unit is connected to the module connection unit via the CPLD unit; the number of the module connection units is more than two; The module connection unit is configured to establish a communication connection between the Bluetooth module under test and the CPLD unit; The communication transfer interface is configured to establish communication connections between the host computer and the CPLD unit and the Bluetooth radio frequency transceiver unit respectively; The CPLD unit is configured to convert the received test data frame into a serial port signal and then send it to the Bluetooth module under test; The Bluetooth radio frequency transceiver unit is configured to be pre-installed with test firmware, and is capable of transmitting and receiving Bluetooth radio frequency signals according to the test firmware and / or under the control of the host computer.
2. The Bluetooth module testing device according to claim 1, wherein: The communication transfer interface includes a first USB to UART interface and a second USB to UART interface; the second USB to UART interface has more than two UART interfaces; The Bluetooth radio frequency transceiver unit is connected to the host computer via the first USB to UART interface; the CPLD unit is connected to the host computer via the second USB to UART interface.
3. The Bluetooth module testing device according to claim 2, wherein: The number of the second USB-to-UART interfaces is more than two; each of the second USB-to-UART interfaces has four UART interfaces.
4. The Bluetooth module testing device according to claim 1, wherein: It also includes a power supply unit; the power supply unit is connected to the Bluetooth radio frequency transceiver unit and the CPLD unit respectively.
5. The Bluetooth module testing device according to claim 1, wherein: It also includes a PLT board; the communication interface, Bluetooth radio frequency transceiver unit, CPLD unit and module connection unit are arranged on the PLT board.
6. Bluetooth module testing system, characterized in that, It comprises a host computer, two or more Bluetooth modules to be tested, and the Bluetooth module testing device according to any one of claims 1 to 5; The host computer is connected to the communication interface in the Bluetooth module testing device; the two or more Bluetooth modules to be tested are connected to the module connection units in the Bluetooth module testing device in a one-to-one correspondence.
7. The Bluetooth module testing system according to claim 6, wherein: The Bluetooth module under test is a Bluetooth module in a single-phase electricity meter, a three-phase electricity meter, a concentrator and / or an IoT meter.