CN117650857A - Bluetooth module testing method and device - Google Patents

Bluetooth module testing method and device Download PDF

Info

Publication number
CN117650857A
CN117650857A CN202311606859.2A CN202311606859A CN117650857A CN 117650857 A CN117650857 A CN 117650857A CN 202311606859 A CN202311606859 A CN 202311606859A CN 117650857 A CN117650857 A CN 117650857A
Authority
CN
China
Prior art keywords
tested
test
bluetooth
module
bluetooth module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311606859.2A
Other languages
Chinese (zh)
Inventor
张雪婷
胡勇虎
贾铃锋
李友鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Chint Instrument and Meter Co Ltd
Original Assignee
Zhejiang Chint Instrument and Meter Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Chint Instrument and Meter Co Ltd filed Critical Zhejiang Chint Instrument and Meter Co Ltd
Priority to CN202311606859.2A priority Critical patent/CN117650857A/en
Publication of CN117650857A publication Critical patent/CN117650857A/en
Priority to CN202410651005.4A priority patent/CN118233024B/en
Pending legal-status Critical Current

Links

Classifications

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

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Monitoring And Testing Of Transmission In General (AREA)

Abstract

The invention relates to the technical field of Bluetooth module testing, and discloses a Bluetooth module testing method and device, wherein the device comprises the following steps: the Bluetooth module tray is provided with a standard Bluetooth module plug-in interface and a plurality of Bluetooth module plug-in interfaces to be tested, wherein the standard Bluetooth module plug-in interface is used for placing a standard Bluetooth module, and the plurality of Bluetooth module plug-in interfaces to be tested are used for placing a plurality of Bluetooth modules to be tested; the interface conversion module is used for converting the standard Bluetooth module interface into a first interface, and converting a plurality of interfaces of a plurality of Bluetooth modules to be tested into the first interface so as to be connected to the upper computer; the upper computer is connected with the interface conversion module and used for testing and controlling the standard Bluetooth module and the plurality of Bluetooth modules to be tested. According to the invention, the interface conversion module is used for realizing the test control of a plurality of Bluetooth modules to be tested at one time, so that the test efficiency of the Bluetooth modules is improved.

Description

Bluetooth module testing method and device
Technical Field
The invention relates to the technical field of Bluetooth testing, in particular to a Bluetooth module testing method and device.
Background
The low-power consumption Bluetooth technology is a wireless communication technology proposed by SIG, has the characteristics of short transmission distance and high openness, and can enable connection between devices to be simple and efficient. The Bluetooth Mesh technology can provide many-to-many transmission among devices, improves the full-scene communication capability of constructing a large-range network coverage, enables tens of thousands of devices to transmit data in a reliable and safe environment, and is widely applied to various fields.
The bluetooth module has small size and low cost, but the low cost requires short test time and high test coverage, which is the primary problem faced in the current bluetooth production test. Because the RF performance of the Bluetooth module has great variation and more test items, it is necessary to select reasonable test items and test methods. However, the existing test fixture is complex in structure, the number of the Bluetooth modules tested at one time is small, the test efficiency is slow, and the production test efficiency is low.
Disclosure of Invention
In view of the above, the invention provides a bluetooth module testing method and device, which are used for solving the problems of complex structure, small number of bluetooth modules tested at one time, slow testing efficiency and low production testing efficiency of the existing testing tool.
In a first aspect, the present invention provides a bluetooth module testing apparatus, including:
the Bluetooth module tray is provided with a standard Bluetooth module plug-in interface and a plurality of Bluetooth module plug-in interfaces to be tested, wherein the standard Bluetooth module plug-in interface is used for placing a standard Bluetooth module, and the plurality of Bluetooth module plug-in interfaces to be tested are used for placing a plurality of Bluetooth modules to be tested;
the interface conversion module is used for converting the interfaces of the standard Bluetooth modules to a first interface, and converting the interfaces of the plurality of Bluetooth modules to be tested to the first interface so as to be connected to an upper computer;
the upper computer is connected with the interface conversion module and used for testing and controlling the standard Bluetooth module and the plurality of Bluetooth modules to be tested.
According to the embodiment, the connection between the upper computer and the plurality of Bluetooth modules to be tested is realized through the interface conversion module, so that the upper computer can test and control the plurality of Bluetooth modules to be tested, the plurality of Bluetooth modules can be tested at one time, and the testing efficiency of the Bluetooth modules is improved.
In an alternative embodiment, the interface conversion module includes:
the USB-to-HUB module is connected with the upper computer and used for converting a USB interface of the upper computer into a plurality of USB interfaces which can be communicated with the standard Bluetooth module and the Bluetooth module to be tested;
and the USB-to-TTL module is connected with the USB-to-HUB module and is used for converting the multipath USB interfaces into TTL serial port communication which can be used by the standard Bluetooth module and the Bluetooth module to be tested.
According to the embodiment, the communication between the upper computer and the plurality of Bluetooth modules to be tested is realized through the USB-to-HUB module and the USB-to-TTL module, so that the simultaneous testing of the plurality of Bluetooth modules to be tested is realized, and the testing efficiency is improved.
In an alternative embodiment, the apparatus further comprises:
the test control module is connected with the USB-to-TTL module and is used for receiving a test program downloading instruction issued by the upper computer, supplying power to a plurality of Bluetooth modules to be tested on the Bluetooth module tray based on the test program downloading instruction, and downloading test programs in the test program downloading instruction to the plurality of Bluetooth modules to be tested on the Bluetooth module tray;
the test control module is also used for receiving a power supply stopping instruction sent by the upper computer and stopping supplying power to a plurality of Bluetooth modules to be tested on the Bluetooth module tray based on the power supply stopping instruction;
the test control module is further configured to receive a test instruction sent by the upper computer, supply power to the standard bluetooth module and the bluetooth modules to be tested based on the test instruction, so that the standard bluetooth module is connected with the bluetooth modules to be tested, receive test data of the bluetooth modules to be tested based on the test program, and send the test data of the bluetooth modules to be tested to the upper computer through the test control module under the condition that the bluetooth modules to be tested complete the test.
In an optional implementation manner, the upper computer is configured to monitor the downloading progress of the test program in the multiple bluetooth modules to be tested in real time, and send a power supply stopping instruction to the test control module when the multiple bluetooth modules to be tested complete the downloading of the test program;
the upper computer is also used for sending a test instruction to the test control module after sending a power supply stopping instruction to the test control module for a preset time period.
In an optional implementation manner, the upper computer is configured to receive test data of the plurality of bluetooth modules to be tested, analyze the test data of the plurality of bluetooth modules to be tested, and obtain test results of the plurality of bluetooth modules to be tested.
In an alternative embodiment, the test control module includes a thimble and a shorting pin, wherein,
the thimble is arranged above each Bluetooth module to be tested, is connected with the USB-to-TTL module, and is used for receiving a test program downloading instruction sent by an upper computer, supplying power to a plurality of Bluetooth modules to be tested on the Bluetooth module tray based on the test program downloading instruction, and downloading test programs in the test program downloading instruction to the plurality of Bluetooth modules to be tested;
the thimble is also used for receiving a power supply stopping instruction sent by the upper computer and stopping supplying power to a plurality of Bluetooth modules to be tested on the Bluetooth module tray based on the power supply stopping instruction;
the thimble is further arranged above the standard Bluetooth module and used for receiving a test instruction sent by the upper computer, supplying power to the standard Bluetooth module and the plurality of Bluetooth modules to be tested based on the test instruction, so that the standard Bluetooth module is connected with the plurality of Bluetooth modules to be tested, receiving test data of the plurality of Bluetooth modules to be tested based on the test program, and sending the test data of the plurality of Bluetooth modules to be tested to the upper computer through the test control module under the condition that the plurality of Bluetooth modules to be tested are tested;
the short circuit connecting pin is arranged below each Bluetooth module to be tested and used for receiving the test program downloading instruction sent by the upper computer, and based on the test program downloading instruction, the corresponding pin of each Bluetooth module to be tested is short-circuited, so that the thimble downloads the test program in the test program downloading instruction to a plurality of Bluetooth modules to be tested on the Bluetooth module tray.
In a second aspect, the present invention provides a method for performing bluetooth module testing by using the bluetooth module testing device according to the first aspect or any implementation manner corresponding to the first aspect, where the method is applicable to an upper computer in the bluetooth module testing device, and the method includes:
transmitting a test program downloading instruction to a test control module through an interface conversion module, so that the test control module supplies power to a plurality of Bluetooth modules to be tested on a Bluetooth module tray based on the test program downloading instruction, and downloading the test program in the test program downloading instruction to the plurality of Bluetooth modules to be tested on the Bluetooth module tray;
under the condition that the plurality of Bluetooth modules to be tested finish downloading the test program, sending a power supply stopping instruction to the test control module so that the test control module stops supplying power to the plurality of Bluetooth modules to be tested on the Bluetooth module tray based on the power supply stopping instruction;
after sending the power supply stopping instruction to the test control module for a preset time period, sending a test instruction to the test control module, wherein the test instruction is used for controlling test programs in the plurality of Bluetooth modules to be tested to run so as to test the plurality of Bluetooth modules to be tested;
and receiving test data of the tested Bluetooth modules to determine test results of the tested Bluetooth modules.
In an optional implementation manner, before sending a power supply stopping instruction to the test control module, in a case that the plurality of bluetooth modules to be tested complete downloading of the test program, the method further includes:
monitoring the downloading progress of the test program in each Bluetooth module to be tested in real time;
if the Bluetooth module to be tested with the downloading failure is monitored, restarting the downloading flow of the test program to the Bluetooth module to be tested.
In an alternative embodiment, the receiving test data of the tested multiple bluetooth modules to determine test results of the tested multiple bluetooth modules includes:
receiving test data of a plurality of tested Bluetooth modules after the test is completed;
and comparing the test data of each Bluetooth module to be tested with preset test data to obtain a comparison result, wherein the comparison result is used for representing the test result of each Bluetooth module to be tested.
In an alternative embodiment, the method further comprises:
and under the condition that the test result of the Bluetooth module to be tested is qualified, sending a test program erasing instruction to the test control module so that the test control module receives the test program erasing instruction, and erasing the test program in the Bluetooth module to be tested, of which the test result is qualified, in response to the test program erasing instruction.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the present invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
Fig. 1 is a block diagram of a bluetooth module testing apparatus according to an embodiment of the present invention;
fig. 2 is a block diagram illustrating a structure of a further bluetooth module testing apparatus according to an embodiment of the present invention;
fig. 3 is a flowchart of a bluetooth module testing method according to an embodiment of the invention;
fig. 4 is a schematic diagram of testing a bluetooth module to be tested according to an embodiment of the present invention;
FIG. 5 is a flow chart of a method for testing a Bluetooth module according to an embodiment of the present invention;
fig. 6 is a schematic flow chart of testing a bluetooth module to be tested according to an embodiment of the invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The low-power consumption Bluetooth technology is a wireless communication technology proposed by SIG, has the characteristics of short transmission distance and high openness, and can enable connection between devices to be simple and efficient. The Bluetooth Mesh technology can provide many-to-many transmission among devices, improves the full-scene communication capability of constructing a large-range network coverage, enables tens of thousands of devices to transmit data in a reliable and safe environment, and is widely applied to various fields.
The bluetooth module has small size and low cost, but the low cost requires short test time and high test coverage, which is the primary problem faced in the current bluetooth production test. Because the RF performance of the Bluetooth module has great variation and more test items, it is necessary to select reasonable test items and test methods. However, the existing test fixture is complex in structure, the number of the Bluetooth modules tested at one time is small, the test efficiency is slow, and the production test efficiency is low.
In order to solve the problems of complex structure, small number of Bluetooth modules tested at one time, slow testing efficiency and low production testing efficiency of the existing testing tool, the embodiment of the invention provides a Bluetooth module testing device.
According to an embodiment of the present invention, there is provided a bluetooth module testing apparatus, and fig. 1 is a schematic diagram of the bluetooth module testing apparatus according to the embodiment of the present invention, as shown in fig. 1, the apparatus includes:
the bluetooth module tray 101 is provided with standard bluetooth module interface and a plurality of bluetooth module interfaces that await measuring, and wherein, standard bluetooth module interface is used for placing standard bluetooth module, and a plurality of bluetooth module interfaces that await measuring are used for placing a plurality of bluetooth modules that await measuring.
In fig. 1, 11 bluetooth interfaces are disposed in the bluetooth module tray, wherein 1 bluetooth interface is used for placing a standard bluetooth module, and the remaining 10 bluetooth interfaces are used for placing a bluetooth module to be tested as an example. Of course, the remaining 10 bluetooth interfaces may be used to place 10 or fewer bluetooth modules to be tested, so as to implement testing of multiple bluetooth modules to be tested at the same time.
The standard Bluetooth module is a calibrated Bluetooth module and accords with the production standard. It should be noted that, the test program has been downloaded in advance in the standard bluetooth module, and the test result of the standard bluetooth module is qualified.
It will be appreciated that the bluetooth module tray in fig. 1 is only an example, and the number of bluetooth interfaces may be set according to the actual situation.
The interface conversion module 102 is configured to convert an interface of the standard bluetooth module to a first interface, and convert a plurality of interfaces of the plurality of bluetooth modules to be tested to the first interface so as to connect to an upper computer.
The upper computer 103 is connected with the interface conversion module 102 and is used for testing and controlling the standard Bluetooth module and the plurality of Bluetooth modules to be tested.
According to the embodiment, the connection between the upper computer and the plurality of Bluetooth modules to be tested is realized through the interface conversion module, so that the upper computer can test and control the plurality of Bluetooth modules to be tested, the plurality of Bluetooth modules can be tested at one time, and the testing efficiency of the Bluetooth modules is improved.
In this embodiment, a bluetooth module testing apparatus is provided, and fig. 2 is a schematic diagram of a bluetooth module testing apparatus according to an embodiment of the invention, as shown in fig. 2, the apparatus includes:
the bluetooth module tray 201 is provided with standard bluetooth module interface and a plurality of bluetooth module interfaces that await measuring, and wherein, standard bluetooth module interface is used for placing standard bluetooth module, and a plurality of bluetooth module interfaces that await measuring are used for placing a plurality of bluetooth modules that await measuring.
In fig. 2, 11 bluetooth interfaces are disposed in the bluetooth module tray, where one bluetooth interface is used for placing a standard bluetooth module, and the remaining ten bluetooth interfaces are used for placing a bluetooth module to be tested as an example.
The interface conversion module 202 is configured to convert an interface of the standard bluetooth module to a first interface, and convert a plurality of interfaces of the plurality of bluetooth modules to be tested to the first interface to connect to an upper computer.
Specifically, the interface conversion module 202 includes:
the USB-to-HUB module 2021 is connected with the upper computer and is used for converting the USB interface of the upper computer into a plurality of USB interfaces which can be communicated with the standard Bluetooth module and the Bluetooth module to be tested.
One standard Bluetooth module corresponds to one path of USB interface, and each Bluetooth module to be tested corresponds to one path of USB interface.
The USB-to-TTL module 2022 is connected to the USB-to-HUB module, and is configured to convert multiple USB interfaces into TTL serial communications that can be used by the standard bluetooth module and the bluetooth module to be tested.
Each path of USB interface is converted into a path of TTL serial port so as to realize the communication between the Bluetooth module and the upper computer.
The upper computer 203 is connected with the interface conversion module 202 and is used for testing and controlling the standard Bluetooth module and the plurality of Bluetooth modules to be tested.
The upper computer 203 can implement test control on the standard bluetooth module and the bluetooth modules to be tested by issuing an instruction.
The test control module 204 is connected with the USB-to-TTL module and is used for receiving the test program downloading instruction sent by the upper computer, supplying power to the plurality of Bluetooth modules to be tested on the Bluetooth module tray based on the test program downloading instruction, and downloading the test program in the test program downloading instruction to the plurality of Bluetooth modules to be tested on the Bluetooth module tray.
The test control module is communicated with the upper computer through the USB-to-HUB module and the USB-to-TTL module, and receives a test program downloading instruction issued by the upper computer.
The test program downloading instruction comprises a test program, and the test program is downloaded to a plurality of Bluetooth modules to be tested on a Bluetooth module tray under the condition that the test program downloading instruction issued by the upper computer is received.
The test control module 204 is further configured to receive a power supply stopping instruction sent by the upper computer, and stop supplying power to the plurality of bluetooth modules to be tested on the bluetooth module tray based on the power supply stopping instruction.
The test control module 204 is further configured to receive a test instruction sent by the upper computer, supply power to the standard bluetooth module and the plurality of bluetooth modules to be tested based on the test instruction, so that the standard bluetooth module is connected with the plurality of bluetooth modules to be tested, receive test data of the plurality of bluetooth modules to be tested based on a test program, and send the test data of the plurality of bluetooth modules to be tested to the upper computer through the test control module under the condition that the plurality of bluetooth modules to be tested complete the test.
Specifically, the test control module 204 includes: thimble 2041 and shorting pin 2042, wherein,
the thimble 2041 is arranged above each Bluetooth module to be tested, is connected with the USB-to-TTL module, and is used for receiving a test program downloading instruction sent by the upper computer, supplying power to a plurality of Bluetooth modules to be tested on the Bluetooth module tray based on the test program downloading instruction, and downloading test programs in the test program downloading instruction to the plurality of Bluetooth modules to be tested.
It should be noted that, under the condition that the thimble receives the downloading instruction of the test program issued by the upper computer, four pins of the thimble are respectively connected with the VCC pin, the GND pin, the RX pin and the TX pin of each bluetooth module to be tested, and the test program is downloaded into each bluetooth module to be tested.
The thimble is also used for receiving a power supply stopping instruction sent by the upper computer, and stopping supplying power to a plurality of Bluetooth modules to be tested on the Bluetooth module tray based on the power supply stopping instruction.
The thimble 2041 is further arranged above the standard bluetooth module, and is used for supplying power to the standard bluetooth module and the plurality of bluetooth modules to be tested based on the test instruction under the condition that the test instruction sent by the upper computer is received, so that the standard bluetooth module is connected with the plurality of bluetooth modules to be tested, test data of the plurality of bluetooth modules to be tested based on the test program are received, and the test data of the plurality of bluetooth modules to be tested are sent to the upper computer through the test control module under the condition that the plurality of bluetooth modules to be tested are tested.
The shorting pin 2042 is disposed below each bluetooth module to be tested, and is configured to receive a test program downloading instruction sent by the host computer, and based on the test program downloading instruction, short-circuit a corresponding pin of each bluetooth module to be tested, so that the thimble downloads the test program in the test program downloading instruction to a plurality of bluetooth modules to be tested on the bluetooth module tray.
Wherein, shorting the corresponding pin of each bluetooth module that awaits measuring includes: and the two ends of the short circuit connecting pin are respectively connected with the VCC pin and the BOOT pin of each Bluetooth module to be tested.
In an alternative embodiment, the host computer 203 is configured to monitor the downloading progress of the test program in the plurality of bluetooth modules to be tested in real time, and send a power supply stopping instruction to the test control module when the plurality of bluetooth modules to be tested complete the downloading of the test program.
The test control module receives the power supply stopping instruction, controls the four pins of the thimble to be disconnected with the VCC pin, the GND pin, the RX pin and the TX pin of each Bluetooth module to be tested, and controls the short circuit connecting pin to be disconnected with the VCC pin and the BOOT pin of each Bluetooth module to be tested.
The upper computer is also used for sending a test instruction to the test control module after sending the power supply stopping instruction to the test control module for a preset period of time.
Wherein the preset time period may be 3s.
And under the condition that the thimble 2041 receives a test instruction issued by the upper computer, four pins of the thimble are connected with the standard Bluetooth module and VCC pins, GND pins, RX pins and TX pins of each Bluetooth module to be tested again to supply power for the standard module and the plurality of Bluetooth modules to be tested.
It should be noted that, under the condition of receiving the test instruction issued by the upper computer, the two ends of the shorting connection pin 2042 are kept in a disconnected state with the VCC pin and the BOOT pin of the standard bluetooth module and each bluetooth module to be tested.
In an alternative embodiment, the upper computer 203 is configured to receive test data of a plurality of bluetooth modules to be tested, analyze the test data of the plurality of bluetooth modules to be tested, and obtain test results of the plurality of bluetooth modules to be tested.
According to an embodiment of the present invention, there is provided an embodiment of a bluetooth module testing method, it should be noted that the steps shown in the flowchart of the drawings may be performed in the above bluetooth module testing apparatus, and although a logic sequence is shown in the flowchart, in some cases, the steps shown or described may be performed in a different sequence from that herein.
In this embodiment, a bluetooth module testing method is provided, which may be used in the upper computer in the bluetooth module testing device, and fig. 3 is a flowchart of the bluetooth module testing method according to an embodiment of the invention, as shown in fig. 3, where the flowchart includes the following steps:
step S301, a test program downloading instruction is sent to the test control module through the interface conversion module, so that the test control module supplies power to a plurality of Bluetooth modules to be tested on the Bluetooth module tray based on the test program downloading instruction, and the test program in the test program downloading instruction is downloaded to the plurality of Bluetooth modules to be tested on the Bluetooth module tray.
Taking 10 Bluetooth modules to be tested as an example, the upper computer sends a test program downloading instruction to the test control module through the interface conversion module, the test control module receives the test program downloading instruction and supplies power to a plurality of Bluetooth modules to be tested on the Bluetooth module tray, and the test program in the test program downloading instruction is downloaded to the plurality of Bluetooth modules to be tested on the Bluetooth module tray.
Wherein the test program is determined by a tester. In order to test the bluetooth module to be tested, the test program needs to be downloaded to the bluetooth module to be tested first, and in this embodiment, the test data of the bluetooth module to be tested is received through the standard bluetooth module, so the test program needs to be downloaded to the standard bluetooth module in advance.
Step S302, under the condition that the plurality of Bluetooth modules to be tested complete the downloading of the test program, sending a power supply stopping instruction to the test control module so that the test control module stops supplying power to the plurality of Bluetooth modules to be tested on the Bluetooth module tray based on the power supply stopping instruction.
Under the condition that all the Bluetooth modules to be tested finish downloading the test program, the upper computer test control module sends a power supply stopping instruction, and the fact that power-off processing is needed to be carried out on a plurality of Bluetooth modules to be tested before the test control module sends the test instruction is needed to be explained.
Step S303, after sending a power supply stopping instruction to the test control module for a preset period of time, sending a test instruction to the test control module.
The test instruction is used for controlling the test program in the plurality of Bluetooth modules to be tested to run so as to test the plurality of Bluetooth modules to be tested. Of course, the test command also controls the test program in the standard bluetooth module to run to receive the test data of the bluetooth module to be tested.
Specifically, as shown in fig. 4, the standard bluetooth module and the bluetooth modules to be tested receive the test instruction, and the test programs in the standard bluetooth module and the bluetooth modules to be tested start to operate, and the specific operation process is as follows:
the standard Bluetooth module scans Bluetooth broadcasting signals, filters broadcasting signals of the Bluetooth module which is not to be tested in a keyword filtering mode, and receives the broadcasting signals of the Bluetooth module which is to be tested;
acquiring an MAC address according to the received broadcast signal of the Bluetooth module to be tested, and establishing connection with the Bluetooth module to be tested based on the MAC address;
after the Bluetooth module to be tested is connected with the standard Bluetooth module, test data are sent to the standard Bluetooth module, wherein the test data comprise the version number of the Bluetooth module to be tested, GPIO high-low level, working voltage and current, signal intensity and frequency offset.
After the frequency offset is required to be connected with the standard Bluetooth module, the clock offset of the Bluetooth module to be tested and the standard Bluetooth module is measured through a Bluetooth channel. The Bluetooth clock is taken from a free-running local clock, and the local clock is never adjusted and turned off, is a reference of other clocks, and is generated by a crystal oscillator. The timing in the bluetooth channel and the frequency hopping of the channel are determined by the clock of the master node (i.e., standard bluetooth module).
When the Bluetooth module to be tested is connected with the standard Bluetooth module, the clock of the standard Bluetooth module is transmitted to the slave node (the Bluetooth module to be tested), and the Bluetooth module to be tested adds an offset on the local clock of the slave node to realize the synchronization with the standard Bluetooth module.
The access code in the Bluetooth data packet format comprises SYNC WORD, the Bluetooth address is hidden in the middle of the SYNC WORD, the Bluetooth module to be tested is connected with the standard Bluetooth module for data transmission, the standard Bluetooth module is used as a main device for sending a data packet to the Bluetooth module to be tested, the Bluetooth module to be tested receives the data packet, and the recording time t is completed according to the Bluetooth address receiving completion 1 Obtaining clock offset f 1 The method comprises the steps of carrying out a first treatment on the surface of the After 1s, the Bluetooth module to be tested receives another data packet, and completes recording the time t according to the Bluetooth address 2 Obtaining clock offset f 2 . The frequency deviation of the Bluetooth module to be tested can be obtained by combining the two clock offsets, namely the frequency deviation delta f of the Bluetooth module to be tested is obtained by combining the two clock offsets, wherein delta f=f 2 -f 1
In order to ensure the accuracy of the test data broadcast to the standard bluetooth module, the bluetooth module to be tested continuously transmits the test data to the standard bluetooth module a plurality of times, and illustratively, continuously transmits the test data 5 times.
And the standard Bluetooth module reports the test data sent by the Bluetooth module to be tested for multiple times to the upper computer through the TTL serial port.
It can be understood that the standard bluetooth module establishes connection with any bluetooth module to be tested, and after receiving the test data of the bluetooth module to be tested, the standard bluetooth module disconnects from the bluetooth module to be tested, continues to scan broadcast signals of the remaining bluetooth modules to be tested, and receives the test data of the remaining bluetooth modules to be tested until all the test data of all the bluetooth modules to be tested are received.
Step S304, receiving test data of the tested Bluetooth modules to determine test results of the tested Bluetooth modules.
And the standard Bluetooth module sends the test data of the tested Bluetooth modules to the upper computer, and the upper computer receives the test data of the tested Bluetooth modules to determine the test results of the tested Bluetooth modules.
According to the Bluetooth module testing method, the upper computer receives the testing data of the plurality of Bluetooth modules to be tested through testing control of the plurality of Bluetooth modules to be tested, and determines the testing results of the plurality of Bluetooth modules to be tested, so that the plurality of Bluetooth modules to be tested can be tested at one time, and the testing efficiency of the Bluetooth modules to be tested is improved.
In this embodiment, a bluetooth module testing method is provided, which may be used in the upper computer in the bluetooth module testing device, and fig. 5 is a flowchart of the bluetooth module testing method according to an embodiment of the invention, as shown in fig. 5, where the flowchart includes the following steps:
step S501, a test program downloading instruction is sent to the test control module through the interface conversion module, so that the test control module supplies power to a plurality of Bluetooth modules to be tested on the Bluetooth module tray based on the test program downloading instruction, and the test program in the test program downloading instruction is downloaded to the plurality of Bluetooth modules to be tested on the Bluetooth module tray.
Please refer to step S301 in the embodiment shown in fig. 3 in detail, which is not described herein.
Step S502, the downloading progress of the test program in each Bluetooth module to be tested is monitored in real time.
As shown in fig. 6, the upper computer monitors the downloading progress of the test program in each bluetooth module to be tested in real time.
Step S503, if it is detected that there is a Bluetooth module to be tested with failed download, restarting the download flow of the test program to the Bluetooth module to be tested.
As shown in fig. 6, the upper computer monitors the downloading progress of the test program of the bluetooth module to be tested in real time, and restarts the downloading flow of the test program when the bluetooth module to be tested with the downloading failure is monitored, and downloads the test program to the bluetooth module to be tested with the downloading failure again.
Under the condition that the downloading of the test program to the Bluetooth module to be tested with the downloading failure still fails, the Bluetooth module to be tested is marked so as to be overhauled manually, and the test of the Bluetooth modules to be tested with the successful downloading of the rest of the test programs is continued, and in fig. 6, the downloading is carried out again for two times.
Step S504, under the condition that the plurality of Bluetooth modules to be tested complete the downloading of the test program, sending a power supply stopping instruction to the test control module so that the test control module stops supplying power to the plurality of Bluetooth modules to be tested on the Bluetooth module tray based on the power supply stopping instruction.
Please refer to step S302 in the embodiment shown in fig. 3 in detail, which is not described herein.
Step S505, after sending a power supply stopping instruction to the test control module for a preset period of time, sending a test instruction to the test control module.
Please refer to step S303 in the embodiment shown in fig. 3 in detail, which is not described herein.
Step S506, receiving the test data of the tested Bluetooth module to determine the test result of the tested Bluetooth module.
Specifically, step S506 includes:
step S5061, receiving test data of the tested bluetooth modules.
And the standard Bluetooth module sends the tested test data of the tested Bluetooth modules to the upper computer so that the upper computer analyzes the test data of the tested Bluetooth modules to obtain a test result of each tested Bluetooth module.
In step S5062, the test data of each bluetooth module to be tested is compared with the preset test data to obtain a comparison result.
The comparison result is used for representing the test result of each Bluetooth module to be tested.
As shown in fig. 6, the version number of the bluetooth module to be tested is compared with a preset version number, and if the version number of the bluetooth module to be tested is the same as the preset version number, the version number of the bluetooth module to be tested is considered to be qualified.
And comparing the GPIO high-low level of the Bluetooth module to be tested with the range of the preset GPIO high-low level, and if the GPIO high-low level of the Bluetooth module to be tested is in the range of the preset GPIO high-low level, judging that the GPIO high-low level of the Bluetooth module to be tested is qualified.
And acquiring an average value of the working voltage and the working current of the Bluetooth module to be tested, and if the average value of the working voltage and the working current of the Bluetooth module to be tested is within a preset working voltage and current range, judging that the working voltage and the working current of the Bluetooth module to be tested are qualified.
It should be noted that, the upper computer receives the working voltage and current sent by the bluetooth module to be tested and sent by the standard bluetooth module for multiple times, in order to make the obtained test result more accurate, the upper computer receives the multiple working voltage and current data of the bluetooth module to be tested, calculates the average value of the multiple working voltage and current, determines whether the average value of the working voltage and current of the bluetooth module to be tested is within the preset working voltage and current range, and if the average value of the working voltage and current of the bluetooth module to be tested is within the preset working voltage and current range, considers the working voltage and current of the bluetooth module to be tested to be qualified.
And acquiring an average value of the signal intensity of the Bluetooth module to be tested, and if the average value of the signal intensity of the Bluetooth module to be tested is within a preset signal intensity range, judging that the signal intensity of the Bluetooth module to be tested is qualified.
Similarly, the upper computer receives a plurality of signal intensities of the Bluetooth module to be tested, calculates an average value of the plurality of signal intensities, judges whether the average value of the signal intensities of the Bluetooth module to be tested is within a preset signal intensity range, and if the average value of the signal intensities of the Bluetooth module to be tested is within the preset signal intensity range, considers that the signal intensity of the Bluetooth module to be tested is qualified.
And acquiring the average value of the frequency offset of the Bluetooth module to be tested, and if the average value of the frequency offset of the Bluetooth module to be tested is in the preset frequency offset range, judging that the frequency offset of the Bluetooth module to be tested is qualified.
And similarly, the upper computer receives a plurality of frequency offsets of the Bluetooth module to be tested, calculates the average value of the plurality of frequency offsets, judges whether the average value of the frequency offsets of the Bluetooth module to be tested is within a preset frequency offset range, and considers the frequency offset of the Bluetooth module to be tested to be qualified if the average value of the frequency offsets of the Bluetooth module to be tested is within the preset frequency offset range.
It should be noted that, when all the test data of the to-be-tested bluetooth module are qualified, the upper computer marks the to-be-tested bluetooth module for manual overhaul, and when at least one test data is unqualified, the test result of the to-be-tested bluetooth module is considered to be unqualified.
It should be further noted that, the flow shown in fig. 6 is only an example, the comparison may be performed according to other comparison sequences of test data, and in an exemplary manner, the signal strength of the bluetooth module to be tested is compared first, if the signal strength is not qualified, the upper computer determines that the test result of the bluetooth module to be tested is not qualified, and marks the bluetooth module to be tested for manual overhaul.
According to the Bluetooth module testing method, the upper computer receives the testing data of the plurality of Bluetooth modules to be tested through testing control of the plurality of Bluetooth modules to be tested, and determines the testing results of the plurality of Bluetooth modules to be tested, so that the plurality of Bluetooth modules to be tested can be tested at one time, and the testing efficiency of the Bluetooth modules to be tested is improved.
And the PC upper computer automatically monitors the downloading progress of the test program and the testing progress of the Bluetooth module to be tested, and the thimble and the short-circuit connecting pin are controlled by the test control circuit, so that the full-automatic production test is realized.
In an alternative embodiment, if the test result of the bluetooth module to be tested is qualified, a test program erasing instruction is sent to the test control module, so that the test control module receives the test program erasing instruction, and the test program in the bluetooth module to be tested with the qualified test result is erased in response to the test program erasing instruction.
Under the condition that the test result of the Bluetooth module to be tested is qualified, the test program in the Bluetooth module to be tested needs to be erased so as to execute the next procedure on the Bluetooth module to be tested, and packaging and shipment are carried out.
It should be noted that, the test program in the standard bluetooth module does not need to be erased, so as to perform connection test on the next batch of bluetooth modules to be tested and receive test data.
Although embodiments of the present invention have been described in connection with the accompanying drawings, various modifications and variations may be made by those skilled in the art without departing from the spirit and scope of the invention, and such modifications and variations fall within the scope of the invention as defined by the appended claims.

Claims (10)

1. A bluetooth module testing device, comprising:
the Bluetooth module tray is provided with a standard Bluetooth module plug-in interface and a plurality of Bluetooth module plug-in interfaces to be tested, wherein the standard Bluetooth module plug-in interface is used for placing a standard Bluetooth module, and the plurality of Bluetooth module plug-in interfaces to be tested are used for placing a plurality of Bluetooth modules to be tested;
the interface conversion module is used for converting the interfaces of the standard Bluetooth modules to a first interface, and converting the interfaces of the plurality of Bluetooth modules to be tested to the first interface so as to be connected to an upper computer;
the upper computer is connected with the interface conversion module and used for testing and controlling the standard Bluetooth module and the plurality of Bluetooth modules to be tested.
2. The apparatus of claim 1, wherein the interface conversion module comprises:
the USB-to-HUB module is connected with the upper computer and used for converting a USB interface of the upper computer into a plurality of USB interfaces which can be communicated with the standard Bluetooth module and the Bluetooth module to be tested;
and the USB-to-TTL module is connected with the USB-to-HUB module and is used for converting the multipath USB interfaces into TTL serial port communication which can be used by the standard Bluetooth module and the Bluetooth module to be tested.
3. The apparatus of claim 2, wherein the apparatus further comprises:
the test control module is connected with the USB-to-TTL module and is used for receiving a test program downloading instruction sent by the upper computer, supplying power to a plurality of Bluetooth modules to be tested on the Bluetooth module tray based on the test program downloading instruction, and downloading test programs in the test program downloading instruction to the plurality of Bluetooth modules to be tested on the Bluetooth module tray;
the test control module is also used for receiving a power supply stopping instruction sent by the upper computer and stopping supplying power to a plurality of Bluetooth modules to be tested on the Bluetooth module tray based on the power supply stopping instruction;
the test control module is further configured to receive a test instruction sent by the upper computer, supply power to the standard bluetooth module and the bluetooth modules to be tested based on the test instruction, so that the standard bluetooth module is connected with the bluetooth modules to be tested, receive test data of the bluetooth modules to be tested based on the test program, and send the test data of the bluetooth modules to be tested to the upper computer through the test control module under the condition that the bluetooth modules to be tested complete the test.
4. The device of claim 3, wherein the upper computer is configured to monitor downloading progress of the test program in the plurality of bluetooth modules to be tested in real time, and send a power supply stopping instruction to the test control module when the plurality of bluetooth modules to be tested complete downloading of the test program;
the upper computer is also used for sending a test instruction to the test control module after sending a power supply stopping instruction to the test control module for a preset time period.
5. The apparatus of claim 3, wherein the upper computer is configured to receive test data of the plurality of bluetooth modules to be tested, analyze the test data of the plurality of bluetooth modules to be tested, and obtain test results of the plurality of bluetooth modules to be tested.
6. The apparatus of claim 3, wherein the test control module comprises a pin and shorting pin, wherein,
the thimble is arranged above each Bluetooth module to be tested, is connected with the USB-to-TTL module, and is used for receiving a test program downloading instruction sent by an upper computer, supplying power to a plurality of Bluetooth modules to be tested on the Bluetooth module tray based on the test program downloading instruction, and downloading test programs in the test program downloading instruction to the plurality of Bluetooth modules to be tested;
the thimble is also used for receiving a power supply stopping instruction sent by the upper computer and stopping supplying power to a plurality of Bluetooth modules to be tested on the Bluetooth module tray based on the power supply stopping instruction;
the thimble is further arranged above the standard Bluetooth module and used for receiving a test instruction sent by the upper computer, supplying power to the standard Bluetooth module and the plurality of Bluetooth modules to be tested based on the test instruction, so that the standard Bluetooth module is connected with the plurality of Bluetooth modules to be tested, receiving test data of the plurality of Bluetooth modules to be tested based on the test program, and sending the test data of the plurality of Bluetooth modules to be tested to the upper computer through the test control module under the condition that the plurality of Bluetooth modules to be tested are tested;
the short circuit connecting pin is arranged below each Bluetooth module to be tested and used for receiving the test program downloading instruction sent by the upper computer, and based on the test program downloading instruction, the corresponding pin of each Bluetooth module to be tested is short-circuited, so that the thimble downloads the test program in the test program downloading instruction to a plurality of Bluetooth modules to be tested on the Bluetooth module tray.
7. A method for testing a bluetooth module by using the bluetooth module testing apparatus according to any one of claims 1 to 6, wherein the method is applicable to a host computer in the bluetooth module testing apparatus, and the method comprises:
transmitting a test program downloading instruction to a test control module through an interface conversion module, so that the test control module supplies power to a plurality of Bluetooth modules to be tested on a Bluetooth module tray based on the test program downloading instruction, and downloading the test program in the test program downloading instruction to the plurality of Bluetooth modules to be tested on the Bluetooth module tray;
under the condition that the plurality of Bluetooth modules to be tested finish downloading the test program, sending a power supply stopping instruction to the test control module so that the test control module stops supplying power to the plurality of Bluetooth modules to be tested on the Bluetooth module tray based on the power supply stopping instruction;
after sending the power supply stopping instruction to the test control module for a preset time period, sending a test instruction to the test control module, wherein the test instruction is used for controlling test programs in the plurality of Bluetooth modules to be tested to run so as to test the plurality of Bluetooth modules to be tested;
and receiving test data of the tested Bluetooth modules to determine test results of the tested Bluetooth modules.
8. The method according to claim 7, wherein, in the case where the plurality of bluetooth modules under test complete the downloading of the test program, before sending the power supply stopping instruction to the test control module, the method further comprises:
monitoring the downloading progress of the test program in each Bluetooth module to be tested in real time;
if the Bluetooth module to be tested with the downloading failure is monitored, restarting the downloading flow of the test program to the Bluetooth module to be tested.
9. The method of claim 7, wherein receiving test data of the plurality of bluetooth modules under test after the test is completed to determine test results of the plurality of bluetooth modules under test after the test is completed, comprises:
receiving test data of a plurality of tested Bluetooth modules after the test is completed;
and comparing the test data of each Bluetooth module to be tested with preset test data to obtain a comparison result, wherein the comparison result is used for representing the test result of each Bluetooth module to be tested.
10. The method of claim 7, wherein the method further comprises:
and under the condition that the test result of the Bluetooth module to be tested is qualified, sending a test program erasing instruction to the test control module so that the test control module receives the test program erasing instruction, and erasing the test program in the Bluetooth module to be tested, of which the test result is qualified, in response to the test program erasing instruction.
CN202311606859.2A 2023-11-28 2023-11-28 Bluetooth module testing method and device Pending CN117650857A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202311606859.2A CN117650857A (en) 2023-11-28 2023-11-28 Bluetooth module testing method and device
CN202410651005.4A CN118233024B (en) 2023-11-28 2024-05-24 Bluetooth module testing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311606859.2A CN117650857A (en) 2023-11-28 2023-11-28 Bluetooth module testing method and device

Publications (1)

Publication Number Publication Date
CN117650857A true CN117650857A (en) 2024-03-05

Family

ID=90042741

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202311606859.2A Pending CN117650857A (en) 2023-11-28 2023-11-28 Bluetooth module testing method and device
CN202410651005.4A Active CN118233024B (en) 2023-11-28 2024-05-24 Bluetooth module testing method and device

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202410651005.4A Active CN118233024B (en) 2023-11-28 2024-05-24 Bluetooth module testing method and device

Country Status (1)

Country Link
CN (2) CN117650857A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118233024A (en) * 2023-11-28 2024-06-21 浙江正泰仪器仪表有限责任公司 Bluetooth module testing method and device

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI452315B (en) * 2013-01-17 2014-09-11 Test Research Inc Fixture, system and method for performing functional test
US9772919B2 (en) * 2013-03-14 2017-09-26 Accenture Global Services Limited Automation of D-bus communication testing for bluetooth profiles
CN203466975U (en) * 2013-09-05 2014-03-05 河北烽联信息技术有限公司 Mobile communication network test data recorder
CN105848196A (en) * 2016-05-04 2016-08-10 青岛歌尔声学科技有限公司 NFC bluetooth adapter and bluetooth product test system and test method
CN112882939B (en) * 2021-02-26 2022-09-02 北京百度网讯科技有限公司 Automatic testing method and device, electronic equipment and storage medium
CN214474957U (en) * 2021-03-23 2021-10-22 全芯科微电子科技(深圳)有限公司 Production test burning system for one-to-eight Bluetooth product
CN217846469U (en) * 2021-12-28 2022-11-18 苏州物明科技有限公司 Automatic interface detection equipment for mobile terminal
CN115002941B (en) * 2022-08-08 2022-11-08 浙江正泰仪器仪表有限责任公司 Communication method of Bluetooth electric energy meter
CN115327345A (en) * 2022-08-17 2022-11-11 青岛铁骑网络科技有限公司 Circuit board test management system
CN116405968B (en) * 2023-06-07 2023-08-29 深圳市百泰实业股份有限公司 Bluetooth test system with programmable user
CN117650857A (en) * 2023-11-28 2024-03-05 浙江正泰仪器仪表有限责任公司 Bluetooth module testing method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118233024A (en) * 2023-11-28 2024-06-21 浙江正泰仪器仪表有限责任公司 Bluetooth module testing method and device

Also Published As

Publication number Publication date
CN118233024A (en) 2024-06-21
CN118233024B (en) 2024-08-20

Similar Documents

Publication Publication Date Title
CN118233024B (en) Bluetooth module testing method and device
CN115932540B (en) Multi-channel multifunctional chip testing machine and testing method
US20040207422A1 (en) Aligning and testing system for communication device manufacturing
CN112995657B (en) Camera module testing method, device and system
CN212258965U (en) Automatic test system of radio frequency module
CN109803248A (en) A kind of rapid automatized test method of Intelligent bracelet based on BLE4.0
CN112363000A (en) Automatic testing device and method for airborne electronic countermeasure equipment
CN112816851B (en) Chip reliability testing device and method
CN109413684B (en) Test instrument, antenna measurement system and test method
WO2021109049A1 (en) Pcba intelligent automatic test method and system
CN113035730A (en) Light source adjusting system and light source adjusting method for wafer test system
CN203942531U (en) The commissioning electricity testing device of many optical transceiver modules
CN102457305A (en) Test and pairing system and method applied to production flow of wireless peripheral device
CN113281591B (en) Test system for realizing multi-channel electromagnetic interference equipment batch full-automatic test
CN214253205U (en) Modular jig based on multi-module functional test
CN211669545U (en) Test device and system for TBOX
CN111693754B (en) Device, equipment and method for detecting PIN voltage of communication module
CN108828388A (en) A kind of multi-core cable switching detection device and method based on Radio Transmission Technology
CN111935686A (en) Intelligent electric energy meter system and wireless meter calibration method thereof
CN113037368B (en) Optical module testing system and method
CN215376292U (en) Ad-hoc network extensible chip burner and system thereof
CN221614997U (en) Factory testing system of V2X equipment
CN221263812U (en) Calibration circuit, device and system of radio frequency tester
CN221380947U (en) Millimeter wave testing device and system
CN215005735U (en) Distributed integrated circuit test system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20240305