Movatterモバイル変換


[0]ホーム

URL:


CN112235708B - A test system and method for earphone production - Google Patents

A test system and method for earphone production
Download PDF

Info

Publication number
CN112235708B
CN112235708BCN202011183728.4ACN202011183728ACN112235708BCN 112235708 BCN112235708 BCN 112235708BCN 202011183728 ACN202011183728 ACN 202011183728ACN 112235708 BCN112235708 BCN 112235708B
Authority
CN
China
Prior art keywords
test
module
earphone
program
testing
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.)
Active
Application number
CN202011183728.4A
Other languages
Chinese (zh)
Other versions
CN112235708A (en
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.)
Guangdong Antexin Technology Co ltd
Original Assignee
Shenzhen Atx Technology 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 Shenzhen Atx Technology Co ltdfiledCriticalShenzhen Atx Technology Co ltd
Priority to CN202011183728.4ApriorityCriticalpatent/CN112235708B/en
Publication of CN112235708ApublicationCriticalpatent/CN112235708A/en
Application grantedgrantedCritical
Publication of CN112235708BpublicationCriticalpatent/CN112235708B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本发明公开了一种用于耳机生产的测试系统及方法通过为耳机的充电盒录入测试程序的方式提供耳机测试环境,提高了测试效率,包括通信模块、测试模块以及指示模块,其中:所述测试模块用于生成测试指令和测试程序,并根据所述测试指令和测试程序对所述耳机进行测试,获得测试结果;所述通信模块用于为所述耳机或充电盒发送所述测试指令和/或测试程序;所述充电盒用于根据所述测试指令、测试程序对所述耳机进行测试,获得测试结果;所述指示模块用于显示测试结果。

Figure 202011183728

The invention discloses a test system and method for earphone production by providing an earphone test environment by entering a test program for a charging box of the earphone, thereby improving the test efficiency, comprising a communication module, a test module and an indication module, wherein: the said The test module is used to generate test instructions and test programs, and to test the headset according to the test instructions and test programs to obtain test results; the communication module is used to send the test instructions and the test instructions to the headset or the charging box. /or a test program; the charging box is used to test the headset according to the test instruction and the test program to obtain a test result; the indication module is used to display the test result.

Figure 202011183728

Description

Translated fromChinese
一种用于耳机生产的测试系统及方法A test system and method for earphone production

技术领域technical field

本发明涉及通信、电子电路、测试或检测方法等技术领域,具体涉及一种用于耳机生产的测试系统及方法。The invention relates to the technical fields of communications, electronic circuits, testing or detection methods, etc., in particular to a testing system and method for earphone production.

背景技术Background technique

本着生产效率最大化的原则和产能逐日增加,生产中各个生产工站的效率问题要求越来越高,尤其是生产中的测试工站成为了瓶颈。在测试工站中,主要分为三大步骤:1.被测品进入相对应的测试模式;2.被测品与设备的连接;3.仪表对被测品进行测试。针对第1点被测品进入测试模式都是通过按键的操作来实现,这种方案需要人工的操作,并且为了不影响产品的正常使用和防止用户的误触发,常常会把进测试模式的按键手势设置成多键同时触发或者多击,超级长按;这就局限于产品有多按键,并且对生产作业带来难度和耗时。所以亟需提高对于被测品进入测试模式的效率、以及生产的效率。Based on the principle of maximizing production efficiency and increasing production capacity day by day, the efficiency requirements of each production station in production are getting higher and higher, especially the test station in production has become a bottleneck. In the test station, it is mainly divided into three steps: 1. The DUT enters the corresponding test mode; 2. The DUT is connected to the equipment; 3. The instrument tests the DUT. For the first point, the DUT enters the test mode through the operation of the button. This solution requires manual operation, and in order not to affect the normal use of the product and prevent the user from false triggering, the button that enters the test mode is often pressed. Gestures are set to be triggered by multiple keys at the same time or multiple clicks, and super long presses; this is limited to products with multiple keys, and brings difficulty and time-consuming to production operations. Therefore, it is urgent to improve the efficiency of entering the test mode for the DUT and the efficiency of production.

发明内容SUMMARY OF THE INVENTION

针对现有技术中的缺陷,本发明提供一种用于耳机生产的测试系统及方法,可以提高测试效率,提供更多的测试环境。In view of the defects in the prior art, the present invention provides a test system and method for earphone production, which can improve the test efficiency and provide more test environments.

一种用于耳机生产的测试系统,包括具有通信功能的耳机以及该耳机的充电盒,还包括通信模块、测试模块以及指示模块,其中:所述测试模块用于生成测试指令和测试程序,并根据所述测试指令和测试程序对所述耳机进行测试,获得测试结果;所述通信模块用于为所述耳机或充电盒发送所述测试指令和/或测试程序;所述充电盒用于根据所述测试指令、测试程序对所述耳机进行测试,获得测试结果;所述指示模块用于显示测试结果。A test system for earphone production, comprising an earphone with a communication function and a charging box of the earphone, and a communication module, a test module and an indication module, wherein: the test module is used to generate a test instruction and a test program, and Test the headset according to the test instruction and test program to obtain a test result; the communication module is used to send the test instruction and/or test program to the headset or the charging box; the charging box is used to send the test instruction and/or test program to the headset or the charging box; The test instruction and the test program test the earphone to obtain the test result; the instruction module is used for displaying the test result.

一种用于耳机生产的测试方法,基于所述的一种用于耳机生产的测试系统,包括以下步骤:所述测试模块生成测试程序、测试指令;向若干所述充电盒录入所述测试程序、测试指令;将所述耳机放置在录入了所述测试程序的充电盒中或所述测试模块上,根据测试指令对所述耳机进行测试,得到测试结果;将测试完成的耳机进行复位和关机;所述指示模块显示所述测试结果。A test method for earphone production, based on the described test system for earphone production, comprising the following steps: generating a test program and a test instruction by the test module; inputting the test program into a plurality of the charging boxes , test instruction; place the earphone in the charging box or the test module that has entered the test program, test the earphone according to the test instruction, and obtain the test result; reset and shut down the earphone after the test is completed ; The indicating module displays the test result.

本发明一种用于耳机生产的测试系统及方法通过为耳机的充电盒录入测试程序的方式提供耳机测试环境,提高了测试效率,并且解决了被测品进入测试模式的问题,通过底座发送不同的指令码给到耳机执行不同的测试模式。这样屏弃了传统进模式的繁琐步骤,也杜绝误操作导致无法正确进入所需测试模式的问题。通过测试底座快速的使耳机快速的进入固定的测试模式,优化了生产流程,并且大大提高了生产的效率;相较于现有的生产测试设备,匹配度更高,操作步骤更少,耗时短。The present invention provides a test system and method for earphone production by entering a test program into a charging box of the earphone to provide an earphone test environment, thereby improving the test efficiency, and solving the problem of the tested product entering the test mode, sending different The script is given to the headset to perform different test modes. In this way, the tedious steps of the traditional entry mode are discarded, and the problem of incorrectly entering the required test mode due to misoperation is also eliminated. Through the test base, the headset can quickly enter the fixed test mode, which optimizes the production process and greatly improves the production efficiency; compared with the existing production test equipment, the matching degree is higher, the operation steps are less, and the time-consuming short.

进一步的,为了丰富测试项目,所述测试模块包括RF通信模块、ENC/ANC测试模块、IR底噪校准模块、配色模块、配语音模块、核对模块、复位模块以及关机模块,其中:Further, in order to enrich the test items, the test module includes an RF communication module, an ENC/ANC test module, an IR noise floor calibration module, a color matching module, a voice matching module, a check module, a reset module and a shutdown module, wherein:

所述RF通信模块用于与所述耳机或充电盒建立通信连接,通过RF通信模块即可使耳机进入DUT模式,所述DUT为工厂测试模式(Device Under Test),以便工厂对PCBA软件进行测试。The RF communication module is used to establish a communication connection with the earphone or the charging box, and the earphone can enter the DUT mode through the RF communication module, and the DUT is the factory test mode (Device Under Test), so that the factory can test the PCBA software .

所述ENC/ANC测试模块用于生成ENC/ANC测试程序,其中所述ANC为Active NoiseCancellation(主动降噪),利用声波相消干涉的现象,其工作原理为耳机根据采集到的噪声生成一个与之频率和幅度相等,当相位相反的声波,并由扬声器在耳道内播放,从而降低噪声,所述ENC为Environmental Noise Cancellation(环境降噪技术),ENC包括单麦环境降噪和双麦环境降噪。单麦环境降噪通常以环境噪声为随机平稳加性噪声、且与语音信号不相关为前提估计噪声,然后进行滤波;The ENC/ANC test module is used to generate an ENC/ANC test program, wherein the ANC is Active Noise Cancellation (active noise reduction), which utilizes the phenomenon of destructive interference of sound waves. The frequency and amplitude are equal. When the sound waves with opposite phases are played in the ear canal by the speaker, the noise is reduced. The ENC is Environmental Noise Cancellation (Environmental Noise Cancellation). ENC includes single-mic environmental noise reduction and dual-mic environmental noise reduction. noise. Single-mic environmental noise reduction usually estimates the noise on the premise that the environmental noise is random and stationary additive noise, and is not related to the speech signal, and then performs filtering;

所述IR底噪校准模块用于生成IR底噪校准测试程序,耳机透镜对空即可校准底噪并写入到耳机;The IR noise floor calibration module is used to generate the IR noise floor calibration test program, and the headphone lens can calibrate the noise floor and write it to the headphone;

所述配色模块、配语音模块用于生成设置配色、配语音的测试程序;The color matching module and the voice matching module are used to generate a test program for setting color matching and matching voice;

所述核对模块用于生成核对程序,所述核对程序用于核对所述耳机当前版本、当前电量、当前地址码、当前颜色、当前语言;The verification module is used to generate a verification program, and the verification program is used to verify the current version of the headset, the current power, the current address code, the current color, and the current language;

所述复位模块用于生成复位程序,所述复位程序用于复位所述耳机;The reset module is used to generate a reset program, and the reset program is used to reset the headset;

所述关机模块用于生成关机程序,所述关机程序用于关闭所述耳机。The shutdown module is used to generate a shutdown program, and the shutdown program is used to turn off the headset.

进一步的,所述通信模块包括底部输出电路,所述底部输出电路包括充电电路和UART通信电路,其中:Further, the communication module includes a bottom output circuit, and the bottom output circuit includes a charging circuit and a UART communication circuit, wherein:

所述充电电路用于为耳机或充电盒充电;The charging circuit is used for charging the earphone or the charging box;

所述UART通信电路用于与所述耳机或充电盒建立通信连接。The UART communication circuit is used to establish a communication connection with the earphone or the charging box.

进一步的,所述的一种用于耳机生产的测试系统,还包括控制模块,所述控制模块与所述通信模块、测试模块以及指示模块电性连接,所述控制模块用于控制所述通信模块的充电电路通断、UART通信电路的通断,所述控制模块还用于生成并发送测试状态指令至所述测试模块。Further, the test system for earphone production further includes a control module, the control module is electrically connected with the communication module, the test module and the indication module, and the control module is used to control the communication The charging circuit of the module is turned on and off, and the UART communication circuit is turned on and off, and the control module is also used to generate and send a test state command to the test module.

进一步的,所述指示模块包括充电盒本身的LED灯、外部显示器以及外部LED灯。Further, the indication module includes an LED light of the charging box itself, an external display and an external LED light.

进一步的,所述通信模块发送的通讯数据格式为依次发送的头码、命令码、应答码、数据长度码、数据码、校验值。Further, the communication data format sent by the communication module is a header code, a command code, a response code, a data length code, a data code, and a check value sent in sequence.

进一步的,所述头码字节长度为4byte、命令码字节长度为2byte、应答码字节长度为1byte、数据长度码字节长度为2byte、校验值字节长度为1byte,所述数据码的节长度任意。Further, the length of the header code byte is 4 bytes, the length of the command code byte is 2 bytes, the length of the response code byte is 1 byte, the length of the data length code byte is 2 bytes, and the length of the check value byte is 1 byte. The length of the section of the code is arbitrary.

进一步的,录入所述测试程序、测试指令的所述充电盒包括至少3个,分别为录入有DUT模式的充电盒、录入有复位程序的充电盒、录入有关机程序的充电盒。Further, the charging box into which the test program and the test instruction are entered includes at least three, which are respectively a charging box with a DUT mode entered, a charging box with a reset program entered, and a charging box with a shutdown program entered.

进一步的,所述根据测试指令对所述耳机进行测试具体步骤为:Further, the specific steps of testing the headset according to the test instruction are:

步骤a、选择测试程序;Step a, select the test program;

步骤b、充电复位;Step b, charging reset;

步骤c、等待测试;Step c, wait for the test;

步骤d、检测是否连接耳机;Step d, detect whether the headset is connected;

步骤e、发送测试指令;Step e, send test instruction;

步骤f、进入测试成功则生成测试结果,进入测试失败则返回步骤c;Step f. If the test is successful, the test result is generated, and if the test fails, return to step c;

步骤g、重新开始步骤a直至所有测试程序完成测试。Step g, restart step a until all test programs are tested.

本发明的有益效果体现在:The beneficial effects of the present invention are embodied in:

本发明一种用于耳机生产的测试系统及方法,可以提高测试效率,提供更多的测试环境;通过为耳机的充电盒录入测试程序的方式提供耳机测试环境,提高了测试效率,并且解决了被测品进入测试模式的问题,通过底座发送不同的指令码给到耳机执行不同的测试模式。这样屏弃了传统进模式的繁琐步骤,也杜绝误操作导致无法正确进入所需测试模式的问题。通过测试底座快速的使耳机快速的进入固定的测试模式,优化了生产流程,并且大大提高了生产的效率;相较于现有的生产测试设备,匹配度更高,操作步骤更少,耗时短。The invention provides a test system and method for earphone production, which can improve the test efficiency and provide more test environments; the earphone test environment is provided by entering the test program for the charging box of the earphone, the test efficiency is improved, and the solution to the problem is solved. When the DUT enters the test mode, different command codes are sent to the headset through the base to execute different test modes. In this way, the tedious steps of the traditional entry mode are discarded, and the problem of incorrectly entering the required test mode due to misoperation is also eliminated. Through the test base, the headset can quickly enter the fixed test mode, which optimizes the production process and greatly improves the production efficiency; compared with the existing production test equipment, the matching degree is higher, the operation steps are less, and the time-consuming short.

附图说明Description of drawings

为了更清楚地说明本发明具体实施方式或现有技术中的技术方案,下面将对具体实施方式或现有技术描述中所需要使用的附图作简单地介绍。在所有附图中,类似的元件或部分一般由类似的附图标记标识。附图中,各元件或部分并不一定按照实际的比例绘制。In order to illustrate the specific embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that are required to be used in the description of the specific embodiments or the prior art. Similar elements or parts are generally identified by similar reference numerals throughout the drawings. In the drawings, each element or section is not necessarily drawn to actual scale.

图1为本发明的原理流程图;Fig. 1 is the principle flow chart of the present invention;

图2为底座输出电路部分原理图;Figure 2 is a schematic diagram of part of the base output circuit;

图3为本发明实施例中软件执行流程示意图。FIG. 3 is a schematic diagram of a software execution flow in an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合附图对本发明技术方案的实施例进行详细的描述。以下实施例仅用于更加清楚地说明本发明的技术方案,因此只作为示例,而不能以此来限制本发明的保护范围。Embodiments of the technical solutions of the present invention will be described in detail below with reference to the accompanying drawings. The following examples are only used to more clearly illustrate the technical solutions of the present invention, and are therefore only used as examples, and cannot be used to limit the protection scope of the present invention.

需要注意的是,除非另有说明,本申请使用的技术术语或者科学术语应当为本发明所属领域技术人员所理解的通常意义。It should be noted that, unless otherwise specified, the technical or scientific terms used in this application should have the usual meanings understood by those skilled in the art to which the present invention belongs.

实施例1Example 1

如图1所示:As shown in Figure 1:

一种用于耳机生产的测试系统,包括具有通信功能的耳机以及该耳机的充电盒,还包括通信模块、测试模块以及指示模块,其中:所述测试模块用于生成测试指令和测试程序,并根据所述测试指令和测试程序对所述耳机进行测试,获得测试结果;所述通信模块用于为所述耳机或充电盒发送所述测试指令和/或测试程序;所述充电盒用于根据所述测试指令、测试程序对所述耳机进行测试,获得测试结果;所述指示模块用于显示测试结果。A test system for earphone production, comprising an earphone with a communication function and a charging box of the earphone, and a communication module, a test module and an indication module, wherein: the test module is used to generate a test instruction and a test program, and Test the headset according to the test instruction and test program to obtain a test result; the communication module is used to send the test instruction and/or test program to the headset or the charging box; the charging box is used to send the test instruction and/or test program to the headset or the charging box; The test instruction and the test program test the earphone to obtain the test result; the instruction module is used for displaying the test result.

一种用于耳机生产的测试方法,基于所述的一种用于耳机生产的测试系统,包括以下步骤:所述测试模块生成测试程序、测试指令;向若干所述充电盒录入所述测试程序、测试指令;将所述耳机放置在录入了所述测试程序的充电盒中或所述测试模块上,根据测试指令对所述耳机进行测试,得到测试结果;将测试完成的耳机进行复位和关机;所述指示模块显示所述测试结果。A test method for earphone production, based on the described test system for earphone production, comprising the following steps: generating a test program and a test instruction by the test module; inputting the test program into a plurality of the charging boxes , test instruction; place the earphone in the charging box or the test module that has entered the test program, test the earphone according to the test instruction, and obtain the test result; reset and shut down the earphone after the test is completed ; The indicating module displays the test result.

本发明一种用于耳机生产的测试系统及方法通过为耳机的充电盒录入测试程序的方式提供耳机测试环境,提高了测试效率,并且解决了被测品进入测试模式的问题,通过底座发送不同的指令码给到耳机执行不同的测试模式。这样屏弃了传统进模式的繁琐步骤,也杜绝误操作导致无法正确进入所需测试模式的问题。通过测试底座快速的使耳机快速的进入固定的测试模式,优化了生产流程,并且大大提高了生产的效率;相较于现有的生产测试设备,匹配度更高,操作步骤更少,耗时短。The present invention provides a test system and method for earphone production by entering a test program into a charging box of the earphone to provide an earphone test environment, thereby improving the test efficiency, and solving the problem of the tested product entering the test mode, sending different The script is given to the headset to perform different test modes. In this way, the tedious steps of the traditional entry mode are discarded, and the problem of incorrectly entering the required test mode due to misoperation is also eliminated. Through the test base, the headset can quickly enter the fixed test mode, which optimizes the production process and greatly improves the production efficiency; compared with the existing production test equipment, the matching degree is higher, the operation steps are less, and the time-consuming short.

在本实施例中,为了丰富测试项目,所述测试模块包括RF通信模块、ENC/ANC测试模块、IR底噪校准模块、配色模块、配语音模块、核对模块、复位模块以及关机模块,其中:In this embodiment, in order to enrich the test items, the test module includes an RF communication module, an ENC/ANC test module, an IR noise floor calibration module, a color matching module, a voice matching module, a check module, a reset module and a shutdown module, wherein:

所述RF通信模块用于与所述耳机或充电盒建立通信连接,通过RF通信模块即可使耳机进入DUT模式,所述DUT为工厂测试模式(Device Under Test),以便工厂对PCBA软件进行测试。The RF communication module is used to establish a communication connection with the earphone or the charging box, and the earphone can enter the DUT mode through the RF communication module, and the DUT is the factory test mode (Device Under Test), so that the factory can test the PCBA software .

所述ENC/ANC测试模块用于生成ENC/ANC测试程序,其中所述ANC为Active NoiseCancellation(主动降噪),利用声波相消干涉的现象,其工作原理为耳机根据采集到的噪声生成一个与之频率和幅度相等,当相位相反的声波,并由扬声器在耳道内播放,从而降低噪声,所述ENC为Environmental Noise Cancellation(环境降噪技术),ENC包括单麦环境降噪和双麦环境降噪。单麦环境降噪通常以环境噪声为随机平稳加性噪声、且与语音信号不相关为前提估计噪声,然后进行滤波;The ENC/ANC test module is used to generate an ENC/ANC test program, wherein the ANC is Active Noise Cancellation (active noise reduction), which utilizes the phenomenon of destructive interference of sound waves. The frequency and amplitude are equal. When the sound waves with opposite phases are played in the ear canal by the speaker, the noise is reduced. The ENC is Environmental Noise Cancellation (Environmental Noise Cancellation). ENC includes single-mic environmental noise reduction and dual-mic environmental noise reduction. noise. Single-mic environmental noise reduction usually estimates the noise on the premise that the environmental noise is random and stationary additive noise, and is not related to the speech signal, and then performs filtering;

所述IR底噪校准模块用于生成IR底噪校准测试程序,耳机透镜对空即可校准底噪并写入到耳机;The IR noise floor calibration module is used to generate the IR noise floor calibration test program, and the headphone lens can calibrate the noise floor and write it to the headphone;

所述配色模块、配语音模块用于生成设置配色、配语音的测试程序;The color matching module and the voice matching module are used to generate a test program for setting color matching and matching voice;

所述核对模块用于生成核对程序,所述核对程序用于核对所述耳机当前版本、当前电量、当前地址码、当前颜色、当前语言;The verification module is used to generate a verification program, and the verification program is used to verify the current version of the headset, the current power, the current address code, the current color, and the current language;

所述复位模块用于生成复位程序,所述复位程序用于复位所述耳机;The reset module is used to generate a reset program, and the reset program is used to reset the headset;

所述关机模块用于生成关机程序,所述关机程序用于关闭所述耳机。The shutdown module is used to generate a shutdown program, and the shutdown program is used to turn off the headset.

在本实施例中,如图2所示,所述通信模块包括底部输出电路,所述底部输出电路包括充电电路和UART通信电路,其中:In this embodiment, as shown in FIG. 2 , the communication module includes a bottom output circuit, and the bottom output circuit includes a charging circuit and a UART communication circuit, wherein:

所述充电电路用于为耳机或充电盒充电;The charging circuit is used for charging the earphone or the charging box;

所述UART通信电路用于与所述耳机或充电盒建立通信连接。The UART communication circuit is used to establish a communication connection with the earphone or the charging box.

底座输出电路部分原理图中,可控制进行给耳机充电和UART通信操作:In the schematic diagram of the output circuit of the base, the charging of the headset and the UART communication can be controlled:

1.VUOT为升压IC的输出电压,通过CTRL_OUT_L控制Q6以及Q1导通或截止,从而控制是否给到耳机充电;1. VUOT is the output voltage of the boost IC, and Q6 and Q1 are controlled to be turned on or off through CTRL_OUT_L, thereby controlling whether to charge the earphones;

2.BASE_RX_L和BASR_TX_L为MCU的UART通讯脚,在跟耳机通讯交互时;要求Q1PMOS管截止状态使通讯正常;2. BASE_RX_L and BASR_TX_L are the UART communication pins of the MCU. When interacting with the headset, the Q1PMOS tube is required to be off to make the communication normal;

3.DET_OUT_L为负载检查的输出;这个口主要负责检测耳机放到测试底座时,MCU能及时知道并发出指定的测试状态指令。3. DET_OUT_L is the output of the load check; this port is mainly responsible for detecting that when the earphone is placed on the test base, the MCU can know in time and issue the specified test status command.

在本实施例中,所述的一种用于耳机生产的测试系统,还包括控制模块,所述控制模块与所述通信模块、测试模块以及指示模块电性连接,所述控制模块用于控制所述通信模块的充电电路通断、UART通信电路的通断,所述控制模块还用于生成并发送测试状态指令至所述测试模块。In this embodiment, the test system for earphone production further includes a control module, the control module is electrically connected with the communication module, the test module and the indication module, and the control module is used to control The charging circuit of the communication module is turned on and off, and the UART communication circuit is turned on and off, and the control module is also used to generate and send a test state command to the test module.

在本实施例中,所述指示模块包括充电盒本身的LED灯、外部显示器以及外部LED灯。In this embodiment, the indication module includes an LED light of the charging box itself, an external display, and an external LED light.

在本实施例中,所述通信模块发送的通讯数据格式为依次发送的头码、命令码、应答码、数据长度码、数据码、校验值。In this embodiment, the communication data format sent by the communication module is a header code, a command code, a response code, a data length code, a data code, and a check value that are sent in sequence.

在本实施例中,所述头码字节长度为4byte、命令码字节长度为2byte、应答码字节长度为1byte、数据长度码字节长度为2byte、校验值字节长度为1byte,所述数据码的节长度任意。In this embodiment, the length of the byte of the header code is 4 bytes, the length of the byte of the command code is 2 bytes, the length of the byte of the response code is 1 byte, the length of the byte of the data length code is 2 bytes, and the length of the check value byte is 1 byte, The length of the section of the data code is arbitrary.

主要基于有通讯功能的耳机,硬件平台可以直接利用耳机产品的充电盒来实现对于研发生产测试底座大大的减低了成本,也提高了研发速度;而软件通过生产测试底座和耳机互相收发对应指令达到所需的测试模式。通讯的数据格式如下:Mainly based on the headset with communication function, the hardware platform can directly use the charging box of the headset product to realize the development and production of the test base, which greatly reduces the cost and improves the research and development speed; and the software sends and receives corresponding commands through the production test base and the headset. desired test mode. The data format of the communication is as follows:

头码(4byte)+命令码(2byte)+应答码(1byte)+数据长度(2byte)+数据码(可变)+校验值(1byte)Header code (4byte) + command code (2byte) + response code (1byte) + data length (2byte) + data code (variable) + check value (1byte)

1.耳机发送数据时,命令码后会有1个byte的应答码;1. When the headset sends data, there will be a 1-byte response code after the command code;

2.单次通信数据最大数据量50byte,接收到的数据长度过长则数据异常;2. The maximum amount of data for a single communication is 50 bytes, if the length of the received data is too long, the data is abnormal;

3.头码:底座发送{0x0A,0x01,0x0A,0x01},耳机发送{0x0a,0x80,0x0a,0x80};3. Head code: The base sends {0x0A, 0x01, 0x0A, 0x01}, and the headset sends {0x0a, 0x80, 0x0a, 0x80};

4.接收超时,单次串口数据发送时间(第一个byte到整个数据接收完成)时间不超过10ms,超过则数据异常。4. Receiving timeout, the time for a single serial port data transmission (the first byte to the completion of the entire data reception) does not exceed 10ms, if it exceeds, the data is abnormal.

在本实施例中,如图3所示软件执行流程:测试程序包括DUT模式软件、配对软件、写颜色软件、写语言软件、写IR软件、复位软件以及关机软件。In this embodiment, as shown in FIG. 3 , the software execution flow: the test program includes DUT mode software, pairing software, color writing software, language writing software, IR writing software, reset software and shutdown software.

所述根据测试指令对所述耳机进行测试具体步骤为:The specific steps of testing the headset according to the test instruction are:

步骤a、选择测试程序;Step a, select the test program;

步骤b、充电复位;Step b, charging reset;

步骤c、等待测试;Step c, wait for the test;

步骤d、检测是否连接耳机;Step d, detect whether the headset is connected;

步骤e、发送测试指令;Step e, send test instruction;

步骤f、进入测试成功则生成测试结果,进入测试失败则返回步骤c;Step f. If the test is successful, the test result is generated, and if the test fails, return to step c;

步骤g、重新开始步骤a直至所有测试程序完成测试。Step g, restart step a until all test programs are tested.

实施例2Example 2

在本实施例中,录入所述测试程序、测试指令的所述充电盒包括至少3个,分别为录入有DUT模式的充电盒、录入有复位程序的充电盒、录入有关机程序的充电盒。取3个被测耳机的充电盒分别录入DUT、复位以及关机的测试程序,并将被测耳机置于录入有DUT测试程序的充电盒,并使被测耳机自动进入测试模式,再将被测耳机置于测试模块进行检测、测试获得检测测试结果,取出被测耳机依次放入录入有复位程序的充电盒、录入有关机程序的充电盒,并自动实现复位、关机,最后取出被测耳机完成测试,其中获得检测测试结果后自动打上二维码标签,二维码标签贴在被测耳机的右耳机耳柄处,最后根据测试结果对被测耳机分类。其中所述二维码标签:二维码为行业标准的QR code类型;内容为自动拾取,并通过打印机自动打印;粘贴的步骤为人工撕下打印好的二维码贴于被测耳机。In this embodiment, the charging box into which the test program and the test instruction are entered includes at least three, which are respectively a charging box with a DUT mode entered, a charging box with a reset program entered, and a charging box with a computer-related program entered. Take the charging boxes of the three tested earphones and enter the test procedures of DUT, reset and shutdown respectively, and place the tested earphones in the charging box with the DUT test program recorded, and make the tested earphones automatically enter the test mode, and then put the tested earphones into the test mode. The earphones are placed in the test module for testing, and the test results are obtained. Take out the earphones under test and put them in the charging box with the reset program and the charging box with the shutdown program in turn, and automatically reset and shut down. Finally, the earphones under test are taken out to complete The test, in which the two-dimensional code label is automatically marked after the test result is obtained, and the two-dimensional code label is attached to the right ear handle of the tested earphone, and finally the tested earphone is classified according to the test result. The two-dimensional code label: the two-dimensional code is an industry standard QR code type; the content is automatically picked up and automatically printed by a printer; the step of pasting is to manually tear off the printed two-dimensional code and paste it on the headset under test.

最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围,其均应涵盖在本发明的权利要求和说明书的范围当中。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: The technical solutions described in the foregoing embodiments can still be modified, or some or all of the technical features thereof can be equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the embodiments of the present invention. The scope of the invention should be included in the scope of the claims and description of the present invention.

Claims (9)

CN202011183728.4A2020-10-292020-10-29 A test system and method for earphone productionActiveCN112235708B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202011183728.4ACN112235708B (en)2020-10-292020-10-29 A test system and method for earphone production

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202011183728.4ACN112235708B (en)2020-10-292020-10-29 A test system and method for earphone production

Publications (2)

Publication NumberPublication Date
CN112235708A CN112235708A (en)2021-01-15
CN112235708Btrue CN112235708B (en)2022-07-15

Family

ID=74121457

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202011183728.4AActiveCN112235708B (en)2020-10-292020-10-29 A test system and method for earphone production

Country Status (1)

CountryLink
CN (1)CN112235708B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN114866940B (en)*2021-02-042025-07-01万魔声学股份有限公司 A test method, a test device, a terminal device and a readable storage medium
CN115002637B (en)*2021-03-012025-07-01万魔声学股份有限公司 Headphone testing method, device, electronic device and computer-readable storage medium
CN113347549A (en)*2021-06-042021-09-03惠州市新力德实业有限公司Device and method for rapidly carrying out Dut measurement mode during production
CN113923578B (en)*2021-10-112024-02-23惠州市伯格智能科技有限公司Wireless earphone assembly test equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105319455A (en)*2014-07-252016-02-10天彩电子(深圳)有限公司Automatic test system and method
CN108777825A (en)*2018-05-312018-11-09出门问问信息科技有限公司Earphone fixture
CN109547884A (en)*2018-09-292019-03-29恒玄科技(上海)有限公司Charging bluetooth earphone box system and bluetooth headset test macro
CN110166922A (en)*2019-05-302019-08-23深圳市安特信技术有限公司Testing communication system and method based on bluetooth headset
CN110519672A (en)*2019-08-292019-11-29深圳市安特信技术有限公司Communication system and method based on bluetooth headset and pedestal
CN111343563A (en)*2020-04-132020-06-26歌尔科技有限公司Communication testing device and communication testing method of wireless earphone

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
DE102006015497B4 (en)*2006-04-032008-01-10Nebel, Wolfgang, Dr. Audio system and method and computer program and data carrier containing the computer program for adapting the transfer function of an audio system by means of voice control
US20090243553A1 (en)*2008-03-252009-10-01John WalleyMethod and system for power and charging control in a bluetooth headset
KR101768588B1 (en)*2011-05-192017-08-17엘지전자 주식회사Cotrol of audio output state dependent on wireless power charge
DK3151582T3 (en)*2015-09-302020-10-12Apple Inc HEADPHONE WITH CHARGING SYSTEM CASE
US20190141462A1 (en)*2017-11-092019-05-09Andrea VELATISystem and method for performing an audiometric test and calibrating a hearing aid
KR101927245B1 (en)*2018-01-122018-12-10(주)금오전자Stands combined charger for headphones
CN110854945B (en)*2019-09-302023-11-24歌尔股份有限公司Wireless earphone charging control method and charging device
CN111225320B (en)*2019-12-312021-07-13歌尔股份有限公司Earphone wearing state detection method, earphone and readable storage medium
CN111804620B (en)*2020-06-222022-10-28歌尔科技有限公司Automatic earphone testing device and automatic earphone testing method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105319455A (en)*2014-07-252016-02-10天彩电子(深圳)有限公司Automatic test system and method
CN108777825A (en)*2018-05-312018-11-09出门问问信息科技有限公司Earphone fixture
CN109547884A (en)*2018-09-292019-03-29恒玄科技(上海)有限公司Charging bluetooth earphone box system and bluetooth headset test macro
CN110166922A (en)*2019-05-302019-08-23深圳市安特信技术有限公司Testing communication system and method based on bluetooth headset
CN110519672A (en)*2019-08-292019-11-29深圳市安特信技术有限公司Communication system and method based on bluetooth headset and pedestal
CN111343563A (en)*2020-04-132020-06-26歌尔科技有限公司Communication testing device and communication testing method of wireless earphone

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
无线耳机充电盒检测设备的设计与研究;常瑞鹏;《中国优秀硕士学位论文全文数据库 信息科技辑》;20181015;全文*

Also Published As

Publication numberPublication date
CN112235708A (en)2021-01-15

Similar Documents

PublicationPublication DateTitle
CN112235708B (en) A test system and method for earphone production
US8879744B2 (en)Audio testing system and audio testing method for device under test
CN103167391B (en) Audio test system and audio test method of device under test
CN106105101B (en)For the system and method by testing RF transceiver via interruption control testing process is caused
CN113281639A (en)Board card testing device, system and method
CN103686464A (en)Method and device for controlling equipment and electronic equipment
CN107005762B (en) Audio connector identification method and portable electronic device
CN112566003A (en)Earphone testing method, system, testing terminal and storage medium
CN113078962B (en) Radio frequency calibration method, radio frequency calibration device, test equipment and storage medium
CN112910575B (en) A radio frequency performance testing method, device and user terminal
CN107197069A (en)The detection means of ultrasonic transmitter and receiver
CN203327235U (en)Receiver automatic test system in mobile phone production line
CN110784790A (en)Noise reduction calibration system of noise reduction earphone
CN103813162B (en) TV motherboard self-test method and system
CN114740151A (en) Method and device for intelligent calibration and detection of carbon dioxide sensor
CN111651310B (en)Radio frequency debugging method and device, storage medium and electronic equipment
CN209707616U (en)Control equipment for working state of board card and board card test system
CN110446026A (en)A kind of method and system of electric performance test equipment integrated test
KR20190088216A (en)Electronic device for determining a failure of signal path or component and method for the same
CN106776171A (en)A kind of automatization test system and method
CN105893203A (en)CEC verification method and device
CN113573227B (en)Microphone fault detection system, detection method thereof, electronic device and storage medium
US20140049649A1 (en)Portable device and signal converting method thereof
CN114487914B (en)Electronic equipment and leakage current testing method
CN111031464A (en)Microphone testing method, system, electronic device and storage medium

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant
TR01Transfer of patent right
TR01Transfer of patent right

Effective date of registration:20241112

Address after:516000, 4th to 9th floors, Unit 2, Building 1, Zone D, Qunyi Intelligent Manufacturing Industrial Park, South of Sanhe Avenue, Tonghu Town, Zhongkai High tech Zone, Huizhou City, Guangdong Province

Patentee after:Guangdong Antexin Technology Co.,Ltd.

Country or region after:China

Address before:518000 workshop 401, fuxingda Industrial Park, 2 Lanjing North Road, Zhukeng community, Longtian street, Pingshan District, Shenzhen City, Guangdong Province

Patentee before:SHENZHEN ATX TECHNOLOGY Co.,Ltd.

Country or region before:China


[8]ページ先頭

©2009-2025 Movatter.jp