WO2019104480A1 - Audio pin testing method and testing device for communication module - Google Patents

Audio pin testing method and testing device for communication module Download PDF

Info

Publication number
WO2019104480A1
WO2019104480A1 PCT/CN2017/113380 CN2017113380W WO2019104480A1 WO 2019104480 A1 WO2019104480 A1 WO 2019104480A1 CN 2017113380 W CN2017113380 W CN 2017113380W WO 2019104480 A1 WO2019104480 A1 WO 2019104480A1
Authority
WO
WIPO (PCT)
Prior art keywords
audio
pin
communication module
waveform
audio output
Prior art date
Application number
PCT/CN2017/113380
Other languages
French (fr)
Chinese (zh)
Inventor
黄国福
Original Assignee
福建联迪商用设备有限公司
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 福建联迪商用设备有限公司 filed Critical 福建联迪商用设备有限公司
Priority to CN201780001966.9A priority Critical patent/CN108064347A/en
Priority to PCT/CN2017/113380 priority patent/WO2019104480A1/en
Publication of WO2019104480A1 publication Critical patent/WO2019104480A1/en

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/282Testing of electronic circuits specially adapted for particular applications not provided for elsewhere
    • G01R31/2825Testing of electronic circuits specially adapted for particular applications not provided for elsewhere in household appliances or professional audio/video equipment

Definitions

  • the present invention relates to the field of testing technologies for communication modules, and in particular, to an audio pin testing method and a testing device for a communication module.
  • the production test of the communication module needs to test each pin of the module to determine whether the pin is working properly.
  • the pin test includes testing of the module's audio pins, including the speaker pins, the headphone pins, and the earpiece pins.
  • the original solution is to connect the audio pin of the module to the speaker, earphone or earpiece through the production test tool, and check whether the audio pin of the module is functioning properly by letting the sound of the speaker, earphone or earpiece.
  • this kind of scheme requires the human ear to judge, the test efficiency is low, and the manual judgment is prone to misjudgment.
  • the technical problem to be solved by the present invention is to provide an audio pin test method and a test device for a communication module, which can automatically determine whether the audio pin of the module is normal.
  • a method for testing an audio pin of a communication module comprising:
  • An audio pin testing device for a communication module includes a signal input module, a signal transmission module, and a processor, wherein the signal input module is connected to an audio output pin of the communication module, and the signal transmission module is ⁇ 0 2019/104480 ⁇ (:17 ⁇ 2017/113380
  • the input terminal of the signal transmission module is connected to the MIC pin of the communication module, and the signal input module is configured to transmit a preset audio signal to the audio output pin, the processing
  • the program stores a program, and the processor is configured to run the program to perform the following steps:
  • the beneficial effects of the present invention are: determining the audio signal by outputting the audio signal from the audio output pin of the communication module to the MIC pin of the communication module, and then comparing the signal received by the audio signal with the MIC pin. Is the output pin normal?
  • the invention detects the audio output pin through the MIC pin, and automatically determines whether the function of the audio output pin is normal, the test efficiency is high, and there is no problem of manual misjudgment.
  • FIG. 1 is a flowchart of a method for testing an audio pin of a communication module according to an embodiment of the present invention
  • FIG. 2 is a flowchart of an audio pin testing device of a communication module according to Embodiment 1 of the present invention
  • FIG. 3 is a flowchart of a method for testing an audio pin of a communication module according to Embodiment 1 of the present invention.
  • the most critical idea of the present invention is: outputting an audio signal from an audio output pin of an audio module to a MIC pin, and automatically determining the function of the audio output pin by comparing the audio signal with a signal received by the MIC pin. Is it normal?
  • the present invention provides: ⁇ 0 2019/104480 ⁇ (:17 ⁇ 2017/113380
  • a method for testing an audio pin of a communication module comprising:
  • the audio pin test method of the communication module of the present invention has the beneficial effects of: feeding back the output signal of the audio output pin of the communication module to the MIC pin of the audio module, through the MIC pin.
  • feeding back the output signal of the audio output pin of the communication module to the MIC pin of the audio module, through the MIC pin.
  • the “comparing the preset audio signal and the audio signal received by the MIC pin” includes: [0030] parsing the preset audio signal to obtain a first audio waveform;
  • the corresponding waveform is obtained by parsing the preset audio signal and the audio signal received by the MIC pin, and comparing the amplitude and frequency of the two waveforms to detect the function of the audio output pin. .
  • the determining whether the audio output pin is normal according to the result of the comparison includes:
  • the “transmitting the preset audio signal from the audio output pin of the communication module to be tested to the MIC pin of the communication module” includes:
  • the signal after gain amplification or gain attenuation is input to the MIC pin.
  • the power or voltage characteristic value may not meet the working range of the MIC pin. Therefore, the signal output from the audio output pin is first adjusted and then input. The value of the MIC pin ensures that the MIC pin works properly, which improves the accuracy of the test.
  • the gain amplification or gain attenuation is specifically voltage gain amplification or voltage gain attenuation.
  • the present invention preferably performs voltage gain adjustment on the signal output from the audio output pin.
  • voltage gain adjustment in addition to the voltage gain adjustment, other gain adjustment modes may be employed.
  • the determining whether the audio output pin is normal according to the result of the comparison includes:
  • the communication module includes two or more audio output pins, and the “preceding the preset audio signal from the audio output pin of the communication module to be tested to the MIC pin of the communication module. "Before also included:
  • An audio output pin is selected from two or more of the audio output pins of the communication module as an audio output pin to be tested.
  • a general communication module includes a plurality of audio output pins such as a speaker pin, an earpiece pin, and a headphone pin. Therefore, when testing an audio output pin, select the audio output pin.
  • the audio output pin will preset the audio signal to the MIC pin.
  • An audio pin testing device of a communication module comprising a signal input module 2, a signal transmission module 3 and a processor 4, the signal input module 2 is connected to an audio output pin of the communication module 1, the signal transmission module The input end of the 3 is connected to the audio output pin, and the output end of the signal transmission module 3 is connected to the MI of the communication module 1 (the pin 14 is used to transmit the preset audio signal to the audio) Output pin ⁇ 0 2019/104480 ⁇ (:17 ⁇ 2017/113380
  • the processor 4 stores a program, and the processor 4 is configured to run the program to perform the following steps: [0053] acquiring an audio signal received by the MIC pin;
  • the audio pin test device of the communication module of the present invention has the beneficial effects that: the signal outputted by the audio output pin of the module is fed back to the MIC pin through the audio output module, and then automatically determined by the processor. Whether the function of the audio output pin is normal, the test efficiency is high, and there is no problem of manual misjudgment.
  • the “comparing the preset audio signal and the audio signal received by the MIC pin” includes: parsing the preset audio signal to obtain a first audio waveform
  • the determining whether the audio output pin is normal according to the result of the comparison includes:
  • the signal transmission module 3 includes a gain adjustment circuit 31.
  • the input end of the gain adjustment circuit 31 is connected to the audio output pin, and the output end of the gain adjustment circuit 31 is connected to the MIC pin 14.
  • the gain adjustment circuit is configured to perform gain adjustment on the signal output from the audio output pin, and then input the value MIC pin to ensure normal operation of the MIC pin, thereby improving the accuracy of the test.
  • the gain adjustment circuit 31 is a voltage gain adjustment circuit.
  • the determining whether the audio output pin is normal according to the result of the comparison includes:
  • the number of the audio output pins is two or more
  • the signal transmission module 3 includes two or more gain adjustment circuits 31 and a switch 32, and two or more of the audio output pins are respectively Corresponding to the input terminals of two or more gain adjustment circuits 31, the transmission of two or more gain adjustment circuits 31 ⁇ 0 2019/104480 ⁇ (:17 ⁇ 2017/113380
  • the output terminals of the switch 32 are respectively connected to the output terminals of the switch 32, and the output terminals of the switch 32 are connected to the MIC pins.
  • the number of the audio output pins is two or more
  • the signal transmission module 3 includes a switch 32 and a gain adjustment circuit 31, and the two or more audio output pins are connected to the switch 32.
  • the output end of the changeover switch 32 is connected to the gain adjustment circuit 31, and the output end of the gain adjustment circuit 31 is connected to the MIC pin 14.
  • the switching test of the audio output pin is realized by setting the switch.
  • Embodiment 1 of the present invention is:
  • An audio pin testing device of a communication module includes a signal input module 2, a signal transmission module 3, and a processor 4.
  • the signal input module 2 is connected to an audio output pin of the communication module 1, and the signal transmission module 3 includes a gain adjustment circuit 31 and a switch 32.
  • the gain adjustment circuit 31 is a voltage gain adjustment circuit.
  • the number of the gain adjustment circuits 31 is three.
  • the audio output pin includes a speaker pin 11 and an earpiece pin. 12 and the earphone pin 13, three input terminals of the gain adjustment circuit 31 are respectively connected with the speaker pin 11, the earphone pin 12 and the earphone pin 13, three of the gain adjustment circuits 31
  • the outputs are connected to the outputs of the processor 4, respectively.
  • the signal input module 2 is configured to transmit a preset audio signal to the audio output pin
  • the switch switch 32 is configured to switch the output pin to be tested to communicate with the MIC pin 14. For example, when testing the speaker pin 11, the MIC pin 14 is switched to the channel output from the speaker pin 11, and when the earpiece pin 12 is tested, the MIC pin 14 is switched to the channel output from the earpiece pin 12. When the headphone pin 13 is tested, the MIC pin 14 is switched to the channel output from the headphone pin 13. The preset audio signal is output from the audio output pin to be tested to the MIC pin 14.
  • the processor 4 stores a program, and the processor is configured to run the program to perform the following steps:
  • the product obtained by multiplying 7 degrees by the amplification factor of the gain adjustment circuit is the same as the amplitude of the second audio waveform, and it is determined that the audio output pin is normal.
  • the switch of the embodiment adopts a chip integrated with a switch & switch 1 , as shown in FIG. 2 .
  • the channel connected by the OM, such that the signal output from the speaker pin 11 is input to the MIC pin 14 via the gain adjustment circuit 31, the switch & switch 15;
  • the audio input module 2 outputs the positive cyclone sweep signal (such as the sweep of 11 ⁇ 810 ⁇ ) recorded by the audio file ⁇ 1& ⁇ through the speaker pin 11, the earphone pin 12 or the earphone pin 13.
  • the MIC pin 14 receives the signal, and saves the received audio signal to generate an in.wav audio file.
  • the processor 4 performs the ⁇ 1& file stored in the audio input module and the audio waveform recorded in the in.wav file.
  • Embodiment 2 of the present invention is:
  • the audio pin test methods include:
  • [0090] 82 output a preset audio signal from the audio output pin to be tested; ⁇ 0 2019/104480 ⁇ (:17 ⁇ 2017/113380
  • [0091] 83 performing gain amplification or gain attenuation on a signal output from the audio output pin to be tested to a rated input range of the MIC pin of the communication module;
  • [0092] 84 input a gain amplified or gain attenuated signal to the MIC pin;
  • [0096] 88 comparing a frequency of the first audio waveform with a frequency of the second audio waveform
  • the audio pin test method and test device of the communication module provided by the present invention automatically test the function of the audio output pin by feeding back the signal output from the audio output pin to the MIC pin. , has the advantages of high test efficiency and high test accuracy.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Monitoring And Testing Of Transmission In General (AREA)
  • Telephone Function (AREA)

Abstract

An audio pin testing method and testing device for a communication module. The method comprises: transmitting a pre-set audio signal from an audio output pin to be tested of a communication module to an MIC pin of the communication module; acquiring an audio signal received by the MIC pin; comparing the pre-set audio signal with the audio signal received by the MIC pin; and determining whether the audio output pin to be tested is normal according to the result of the comparison. By means of outputting the audio signal from the audio output pin of the communication module to the MIC pin of the communication module, and comparing the audio signal with the signal received by the MIC pin, it is determined whether the audio output pin is normal. An audio output pin is detected by means of an MIC pin, and whether a function of the audio output pin is normal is automatically determined, so that the test efficiency is high, and the problem of manual misjudgment does not occur.

Description

\¥0 2019/104480 卩(:17 \2017/113380  \¥0 2019/104480 卩(:17 \2017/113380
1  1
发明名称:通讯模块的音频管脚测试方法及测试装置 技术领域 Title of Invention: Audio Pin Test Method and Test Device for Communication Module
[0001] 本发明涉及通讯模块的测试技术领域, 尤其涉及一种通讯模块的音频管脚测试 方法及测试装置。  [0001] The present invention relates to the field of testing technologies for communication modules, and in particular, to an audio pin testing method and a testing device for a communication module.
背景技术  Background technique
[0002] 通讯模块的生产测试需要对模块的各个管脚进行测试, 判定管脚是否工作正常 。 管脚测试包括对模块的音频管脚 (包括扬声器管脚、 耳机管脚和听筒管脚) 的测试。 原有的方案是将模块的音频管脚通过生产测试工装连接到扬声器、 耳 机或听筒上, 通过让扬声器、 耳机或听筒的声音来检测模块的音频管脚的功能 是否正常。 然而这种方案需要人耳进行判断, 测试效率低, 同时人工判断容易 出现误判的问题。  [0002] The production test of the communication module needs to test each pin of the module to determine whether the pin is working properly. The pin test includes testing of the module's audio pins, including the speaker pins, the headphone pins, and the earpiece pins. The original solution is to connect the audio pin of the module to the speaker, earphone or earpiece through the production test tool, and check whether the audio pin of the module is functioning properly by letting the sound of the speaker, earphone or earpiece. However, this kind of scheme requires the human ear to judge, the test efficiency is low, and the manual judgment is prone to misjudgment.
技术问题  technical problem
[0003] 本发明所要解决的技术问题是: 提供一种通讯模块的音频管脚测试方法及测试 装置, 能够自动判断模块的音频管脚是否正常。  The technical problem to be solved by the present invention is to provide an audio pin test method and a test device for a communication module, which can automatically determine whether the audio pin of the module is normal.
问题的解决方案  Problem solution
技术解决方案  Technical solution
[0004] 为了解决上述技术问题, 本发明采用的技术方案为:  [0004] In order to solve the above technical problem, the technical solution adopted by the present invention is:
[0005] 一种通讯模块的音频管脚测试方法, 包括:  [0005] A method for testing an audio pin of a communication module, comprising:
[0006] 将预设的音频信号从通讯模块的待测试的音频输出管脚传输至所述通讯模块的 [0006] transmitting a preset audio signal from the audio output pin of the communication module to be tested to the communication module
MIC管脚; MIC pin;
[0007] 获取 MI( :管脚接收的音频信号;  [0007] Acquiring MI ( : audio signal received by the pin;
[0008] 比较所述预设的音频信号和 MIC管脚接收的音频信号;  Comparing the preset audio signal and the audio signal received by the MIC pin;
[0009] 依据比较的结果判断所述待测试的音频输出管脚是否正常。  [0009] determining, according to the result of the comparison, whether the audio output pin to be tested is normal.
[0010] 本发明提供的另一个技术方案为:  [0010] Another technical solution provided by the present invention is:
[0011] 一种通讯模块的音频管脚测试装置, 包括信号输入模块、 信号传输模块和处理 器, 所述信号输入模块连接通讯模块的音频输出管脚, 所述信号传输模块的输 \¥0 2019/104480 卩(:17 \2017/113380 [0011] An audio pin testing device for a communication module includes a signal input module, a signal transmission module, and a processor, wherein the signal input module is connected to an audio output pin of the communication module, and the signal transmission module is \¥0 2019/104480 卩(:17 \2017/113380
2 入端连接音频输出管脚, 所述信号传输模块的输出端连接通讯模块的MIC管脚, 所述信号输入模块用于将预设的音频信号传输至所述音频输出管脚, 所述处理 器存储有程序, 所述处理器用于运行所述程序以执行以下步骤:  The input terminal of the signal transmission module is connected to the MIC pin of the communication module, and the signal input module is configured to transmit a preset audio signal to the audio output pin, the processing The program stores a program, and the processor is configured to run the program to perform the following steps:
[0012] 获取 MIC管脚接收的音频信号;  [0012] acquiring an audio signal received by the MIC pin;
[0013] 比较所述预设的音频信号和 MIC管脚接收的音频信号;  [0013] comparing the preset audio signal with an audio signal received by the MIC pin;
[0014] 依据比较的结果判断所述音频输出管脚是否正常。  [0014] determining whether the audio output pin is normal according to the result of the comparison.
发明的有益效果  Advantageous effects of the invention
有益效果  Beneficial effect
[0015] 本发明的有益效果在于: 通过将音频信号从通讯模块的音频输出管脚输出至通 讯模块的MIC管脚, 再比较该音频信号与 MIC管脚接收到的信号, 从而判断出该 音频输出管脚是否正常。 本发明通过 MIC管脚来检测音频输出管脚, 并自动判断 音频输出管脚的功能是否正常, 测试效率高, 且不会存在人工误判的问题。 对附图的简要说明  [0015] The beneficial effects of the present invention are: determining the audio signal by outputting the audio signal from the audio output pin of the communication module to the MIC pin of the communication module, and then comparing the signal received by the audio signal with the MIC pin. Is the output pin normal? The invention detects the audio output pin through the MIC pin, and automatically determines whether the function of the audio output pin is normal, the test efficiency is high, and there is no problem of manual misjudgment. Brief description of the drawing
附图说明  DRAWINGS
[0016] 图 1为本发明实施例的通讯模块的音频管脚测试方法的流程图;  1 is a flowchart of a method for testing an audio pin of a communication module according to an embodiment of the present invention;
[0017] 图 2为本发明实施例一的通讯模块的音频管脚测试装置的流程图;  2 is a flowchart of an audio pin testing device of a communication module according to Embodiment 1 of the present invention;
[0018] 图 3为本发明实施例一的通讯模块的音频管脚测试方法的流程图。  3 is a flowchart of a method for testing an audio pin of a communication module according to Embodiment 1 of the present invention.
[0019] 标号说明:  [0019] Description of the label:
[0020] 1、 通讯模块; 11、 扬声器管脚; 12、 听筒管脚; 13、 耳机管脚; 14、 MIC管 脚; 2、 信号输入模块; 3、 信号传输模块; 31、 增益调节电路; 32、 切换开关 ; 4、 处理器。  [0020] 1, the communication module; 11, the speaker pin; 12, the earpiece pin; 13, the earphone pin; 14, MIC pin; 2, the signal input module; 3, the signal transmission module; 31, the gain adjustment circuit; 32. Switching switch; 4. Processor.
发明实施例  Invention embodiment
具体实施方式  Detailed ways
[0021] 本发明最关键的构思在于: 将音频信号从音频模块的音频输出管脚输出至 MIC 管脚, 通过比较该音频信号与MIC管脚接收到的信号自动判断该音频输出管脚的 功能是否正常。  [0021] The most critical idea of the present invention is: outputting an audio signal from an audio output pin of an audio module to a MIC pin, and automatically determining the function of the audio output pin by comparing the audio signal with a signal received by the MIC pin. Is it normal?
[0022] 请参照图 1, 本发明提供: \¥0 2019/104480 卩(:17 \2017/113380 [0022] Referring to FIG. 1, the present invention provides: \¥0 2019/104480 卩(:17 \2017/113380
3  3
[0023] 一种通讯模块的音频管脚测试方法, 包括: [0023] A method for testing an audio pin of a communication module, comprising:
[0024] 将预设的音频信号从通讯模块的待测试的音频输出管脚传输至所述通讯模块的 [0024] transmitting a preset audio signal from the audio output pin of the communication module to be tested to the communication module
MIC管脚; MIC pin;
[0025] 获取 MI( :管脚接收的音频信号;  [0025] Acquiring MI ( : audio signal received by the pin;
[0026] 比较所述预设的音频信号和 MIC管脚接收的音频信号;  Comparing the preset audio signal and the audio signal received by the MIC pin;
[0027] 依据比较的结果判断所述待测试的音频输出管脚是否正常。  [0027] determining, according to the result of the comparison, whether the audio output pin to be tested is normal.
[0028] 从上述描述可知, 本发明的通讯模块的音频管脚测试方法的有益效果在于: 将 通讯模块的音频输出管脚的输出的信号反馈到音频模块的MIC管脚上, 通过 MIC 管脚来检测音频输出管脚的功能是否正常, 整个测试过程自动化, 测试效率高 , 且不会有人工误判的问题。  [0028] As can be seen from the above description, the audio pin test method of the communication module of the present invention has the beneficial effects of: feeding back the output signal of the audio output pin of the communication module to the MIC pin of the audio module, through the MIC pin. To detect whether the function of the audio output pin is normal, the whole test process is automated, the test efficiency is high, and there is no problem of manual misjudgment.
[0029] 进一步的, 所述“比较所述预设的音频信号和 MIC管脚接收的音频信号”包括: [0030] 解析所述预设的音频信号得到第一音频波形;  [0029] Further, the “comparing the preset audio signal and the audio signal received by the MIC pin” includes: [0030] parsing the preset audio signal to obtain a first audio waveform;
[0031] 解析所述MIC管脚接收的音频信号得到第二音频波形;  [0031] parsing the audio signal received by the MIC pin to obtain a second audio waveform;
[0032] 比较第一音频波形的幅度和第二音频波形的幅度;  Comparing the amplitude of the first audio waveform with the amplitude of the second audio waveform;
[0033] 比较第一音频波形的频率和第二音频波形的频率。  [0033] comparing the frequency of the first audio waveform with the frequency of the second audio waveform.
[0034] 从上述描述可知, 通过对预设的音频信号和 MIC管脚接收到的音频信号进行解 析得到相应的波形, 并比较两个波形的幅度和频率实现对音频输出管脚的功能 的检测。  [0034] It can be seen from the above description that the corresponding waveform is obtained by parsing the preset audio signal and the audio signal received by the MIC pin, and comparing the amplitude and frequency of the two waveforms to detect the function of the audio output pin. .
[0035] 进一步的, 所述“依据比较的结果判断音频输出管脚是否正常”包括:  [0035] Further, the determining whether the audio output pin is normal according to the result of the comparison includes:
[0036] 若第一音频波形的频率和第二音频波形的频率变化一致, 且第一音频波形的幅 度和第二音频波形的幅度相同, 则判定所述待测试的音频输出管脚正常。  [0036] If the frequency of the first audio waveform and the frequency variation of the second audio waveform are identical, and the amplitude of the first audio waveform and the amplitude of the second audio waveform are the same, it is determined that the audio output pin to be tested is normal.
[0037] 从上述描述可知, 一般情况下, 如果音频输出管脚的功能正常, 则音频输出管 脚输入和输出的信号幅度和频率都基本相同, 因此通过上述判断方式可获知音 频输出管脚是否正常。  [0037] As can be seen from the above description, in general, if the function of the audio output pin is normal, the amplitude and frequency of the input and output of the audio output pin are substantially the same, so whether the audio output pin is known by the above judgment manner normal.
[0038] 进一步的, 所述“将预设的音频信号从通讯模块的待测试的音频输出管脚传输 至所述通讯模块的 MIC管脚”包括:  [0038] Further, the “transmitting the preset audio signal from the audio output pin of the communication module to be tested to the MIC pin of the communication module” includes:
[0039] 将预设的音频信号从通讯模块的待测试的音频输出管脚输出;  [0039] outputting a preset audio signal from an audio output pin of the communication module to be tested;
[0040] 将待测试的音频输出管脚输出的信号进行增益放大或增益衰减至所述通讯模块 \¥0 2019/104480 卩(:17 \2017/113380 [0040] performing gain amplification or gain attenuation on the signal output from the audio output pin to be tested to the communication module \¥0 2019/104480 卩(:17 \2017/113380
4 的MIC管脚的额定输入范围内;  4 within the rated input range of the MIC pin;
[0041] 将经过增益放大或增益衰减后的信号输入至MIC管脚。  [0041] The signal after gain amplification or gain attenuation is input to the MIC pin.
[0042] 从上述描述可知, 由于音频输出管脚输出的信号, 其功率或电压等特性值可能 无法满足MIC管脚的工作范围, 因此先对音频输出管脚输出的信号进行增益调节 , 再输入值MIC管脚, 确保 MIC管脚正常工作, 进而提高测试的准确性。  [0042] As can be seen from the above description, due to the signal output by the audio output pin, the power or voltage characteristic value may not meet the working range of the MIC pin. Therefore, the signal output from the audio output pin is first adjusted and then input. The value of the MIC pin ensures that the MIC pin works properly, which improves the accuracy of the test.
[0043] 进一步的, 所述增益放大或增益衰减具体为电压增益放大或电压增益衰减。  [0043] Further, the gain amplification or gain attenuation is specifically voltage gain amplification or voltage gain attenuation.
[0044] 从上述描述可知, 本发明优选对音频输出管脚输出的信号进行电压增益调节, 当然, 除了电压增益调节, 还可采用其他增益调节方式。  [0044] As can be seen from the above description, the present invention preferably performs voltage gain adjustment on the signal output from the audio output pin. Of course, in addition to the voltage gain adjustment, other gain adjustment modes may be employed.
[0045] 进一步的, 所述“依据比较的结果判断音频输出管脚是否正常”包括:  [0045] Further, the determining whether the audio output pin is normal according to the result of the comparison includes:
[0046] 若第一音频波形的频率和第二音频波形的频率变化一致, 且第一音频波形的幅 度乘以所述增益放大或增益衰减的倍数得到的乘积与第二音频波形的幅度相同 , 则判定所述待测试的音频输出管脚正常。  [0046] if the frequency of the first audio waveform and the frequency variation of the second audio waveform are consistent, and the product of the amplitude of the first audio waveform multiplied by the multiple of the gain amplification or gain attenuation is the same as the amplitude of the second audio waveform, Then, it is determined that the audio output pin to be tested is normal.
[0047] 从上述描述可知, 对音频输出管脚输出的音频波形进行增益调节后, 若MIC管 脚接收到的信号的波形幅度与相应的增益倍数相乘得到的值与预设的音频波形 的波形幅度相同, 则说明该音频输出管脚的功能正常。  [0047] As can be seen from the above description, after the gain adjustment of the audio waveform outputted by the audio output pin, if the waveform amplitude of the signal received by the MIC pin is multiplied by the corresponding gain multiple, the value of the preset audio waveform is If the waveform amplitude is the same, the function of the audio output pin is normal.
[0048] 进一步的, 所述通讯模块包括两个以上的音频输出管脚, 所述“将预设的音频 信号从通讯模块的待测试的音频输出管脚传输至所述通讯模块的MIC管脚”之前 还包括:  [0048] Further, the communication module includes two or more audio output pins, and the “preceding the preset audio signal from the audio output pin of the communication module to be tested to the MIC pin of the communication module. "Before also included:
[0049] 从通讯模块的两个以上的所述音频输出管脚中选取一音频输出管脚作为待测试 的音频输出管脚。  [0049] An audio output pin is selected from two or more of the audio output pins of the communication module as an audio output pin to be tested.
[0050] 从上述描述可知, 一般的通讯模块都包括扬声器管脚、 听筒管脚、 耳机管脚等 多个音频输出管脚, 因此, 需要对某一个音频输出管脚进行测试时, 则选取该 音频输出管脚将预设的音频信号至 MIC管脚。  [0050] As can be seen from the above description, a general communication module includes a plurality of audio output pins such as a speaker pin, an earpiece pin, and a headphone pin. Therefore, when testing an audio output pin, select the audio output pin. The audio output pin will preset the audio signal to the MIC pin.
[0051] 本发明的另一个技术方案为:  [0051] Another technical solution of the present invention is:
[0052] 一种通讯模块的音频管脚测试装置, 包括信号输入模块 2、 信号传输模块 3和处 理器 4, 所述信号输入模块 2连接通讯模块 1的音频输出管脚, 所述信号传输模块 3的输入端连接音频输出管脚, 所述信号传输模块 3的输出端连接通讯模块 1的MI (:管脚 14, 所述信号输入模块 3用于将预设的音频信号传输至所述音频输出管脚 \¥0 2019/104480 卩(:17 \2017/113380 [0052] An audio pin testing device of a communication module, comprising a signal input module 2, a signal transmission module 3 and a processor 4, the signal input module 2 is connected to an audio output pin of the communication module 1, the signal transmission module The input end of the 3 is connected to the audio output pin, and the output end of the signal transmission module 3 is connected to the MI of the communication module 1 (the pin 14 is used to transmit the preset audio signal to the audio) Output pin \¥0 2019/104480 卩(:17 \2017/113380
5  5
, 所述处理器 4存储有程序, 所述处理器 4用于运行所述程序以执行以下步骤: [0053] 获取 MIC管脚接收的音频信号; The processor 4 stores a program, and the processor 4 is configured to run the program to perform the following steps: [0053] acquiring an audio signal received by the MIC pin;
[0054] 比较所述预设的音频信号和 MIC管脚接收的音频信号;  Comparing the preset audio signal and the audio signal received by the MIC pin;
[0055] 依据比较的结果判断所述音频输出管脚是否正常。  [0055] determining whether the audio output pin is normal according to the result of the comparison.
[0056] 从上述描述可知, 本发明的通讯模块的音频管脚测试装置的有益效果在于: 模 块的音频输出管脚输出的信号通过音频输出模块反馈到 MIC管脚上, 再通过处理 器自动判断音频输出管脚的功能是否正常, 测试效率高, 且不会有人工误判的 问题。  [0056] It can be seen from the above description that the audio pin test device of the communication module of the present invention has the beneficial effects that: the signal outputted by the audio output pin of the module is fed back to the MIC pin through the audio output module, and then automatically determined by the processor. Whether the function of the audio output pin is normal, the test efficiency is high, and there is no problem of manual misjudgment.
[0057] 进一步的, 所述“比较所述预设的音频信号和 MIC管脚接收的音频信号”包括: [0058] 解析所述预设的音频信号得到第一音频波形;  [0057] Further, the “comparing the preset audio signal and the audio signal received by the MIC pin” includes: parsing the preset audio signal to obtain a first audio waveform;
[0059] 解析所述MIC管脚接收的音频信号得到第二音频波形;  [0059] parsing the audio signal received by the MIC pin to obtain a second audio waveform;
[0060] 比较第一音频波形的幅度和第二音频波形的幅度;  Comparing the amplitude of the first audio waveform with the amplitude of the second audio waveform;
[0061] 比较第一音频波形的频率和第二音频波形的频率。  [0061] Comparing the frequency of the first audio waveform with the frequency of the second audio waveform.
[0062] 进一步的, 所述“依据比较的结果判断音频输出管脚是否正常”包括:  [0062] Further, the determining whether the audio output pin is normal according to the result of the comparison includes:
[0063] 若第一音频波形的频率和第二音频波形的频率变化一致, 且第一音频波形的幅 度和第二音频波形的幅度相同, 则判定所述音频输出管脚正常。  [0063] If the frequency of the first audio waveform and the frequency variation of the second audio waveform are identical, and the amplitude of the first audio waveform and the amplitude of the second audio waveform are the same, it is determined that the audio output pin is normal.
[0064] 进一步的, 所述信号传输模块 3包括增益调节电路 31, 所述增益调节电路 31的 输入端连接所述音频输出管脚, 所述增益调节电路 31的输出端连接 MIC管脚 14。  [0064] Further, the signal transmission module 3 includes a gain adjustment circuit 31. The input end of the gain adjustment circuit 31 is connected to the audio output pin, and the output end of the gain adjustment circuit 31 is connected to the MIC pin 14.
[0065] 从上述描述可知, 通过设置增益调节电路对音频输出管脚输出的信号进行增益 调节, 再输入值MIC管脚, 确保 MIC管脚正常工作, 进而提高测试的准确性。 [0065] As can be seen from the above description, the gain adjustment circuit is configured to perform gain adjustment on the signal output from the audio output pin, and then input the value MIC pin to ensure normal operation of the MIC pin, thereby improving the accuracy of the test.
[0066] 进一步的, 所述增益调节电路 31为电压增益调节电路。 [0066] Further, the gain adjustment circuit 31 is a voltage gain adjustment circuit.
[0067] 进一步的, 所述“依据比较的结果判断音频输出管脚是否正常”包括:  [0067] Further, the determining whether the audio output pin is normal according to the result of the comparison includes:
[0068] 若第一音频波形的频率和第二音频波形的频率变化一致, 且第一音频波形的幅 度乘以所述增益调节电路的放大倍数得到的乘积与第二音频波形的幅度相同, 则判定所述音频输出管脚正常。  [0068] if the frequency of the first audio waveform and the frequency variation of the second audio waveform are identical, and the product of the amplitude of the first audio waveform multiplied by the amplification factor of the gain adjustment circuit is the same as the amplitude of the second audio waveform, It is determined that the audio output pin is normal.
[0069] 进一步的, 所述音频输出管脚的数量为两个以上, 所述信号传输模块 3包括两 个以上的增益调节电路 31和切换开关 32, 两个以上的所述音频输出管脚分别对 应连接两个以上的增益调节电路 31的输入端, 两个以上的增益调节电路 31的输 \¥0 2019/104480 卩(:17 \2017/113380 [0069] Further, the number of the audio output pins is two or more, and the signal transmission module 3 includes two or more gain adjustment circuits 31 and a switch 32, and two or more of the audio output pins are respectively Corresponding to the input terminals of two or more gain adjustment circuits 31, the transmission of two or more gain adjustment circuits 31 \¥0 2019/104480 卩(:17 \2017/113380
6 出端分别连接所述切换开关 32的输入端, 切换开关 32的输出端连接所述 MIC管脚 The output terminals of the switch 32 are respectively connected to the output terminals of the switch 32, and the output terminals of the switch 32 are connected to the MIC pins.
14。 14.
[0070] 进一步的, 所述音频输出管脚的数量为两个以上, 所述信号传输模块 3包括切 换开关 32和增益调节电路 31, 所述两个以上音频输出管脚连接所述切换开关 32 的输入端, 所述切换开关 32的输出端连接所述增益调节电路 31, 所述增益调节 电路 31的输出端连接所述 MIC管脚 14。  [0070] Further, the number of the audio output pins is two or more, the signal transmission module 3 includes a switch 32 and a gain adjustment circuit 31, and the two or more audio output pins are connected to the switch 32. The output end of the changeover switch 32 is connected to the gain adjustment circuit 31, and the output end of the gain adjustment circuit 31 is connected to the MIC pin 14.
[0071] 从上述描述可知, 通过设置切换开关实现对音频输出管脚的切换测试。  [0071] As can be seen from the above description, the switching test of the audio output pin is realized by setting the switch.
[0072] 请参照图 2, 本发明的实施例一为:  Referring to FIG. 2, Embodiment 1 of the present invention is:
[0073] 一种通讯模块的音频管脚测试装置, 包括信号输入模块 2、 信号传输模块 3和处 理器 4, 所述信号输入模块 2连接通讯模块 1的音频输出管脚, 所述信号传输模块 3包括增益调节电路 31和切换开关 32, 所述增益调节电路 31为电压增益调节电路 , 所述增益调节电路 31的数量为三个, 所述音频输出管脚包括扬声器管脚 11、 听筒管脚 12和耳机管脚 13 , 三个的所述增益调节电路 31的输入端分别与所述扬 声器管脚 11、 听筒管脚 12和耳机管脚 13对应连接, 三个的所述增益调节电路 31 的输出端分别连接处理器 4的输出端。  [0073] An audio pin testing device of a communication module includes a signal input module 2, a signal transmission module 3, and a processor 4. The signal input module 2 is connected to an audio output pin of the communication module 1, and the signal transmission module 3 includes a gain adjustment circuit 31 and a switch 32. The gain adjustment circuit 31 is a voltage gain adjustment circuit. The number of the gain adjustment circuits 31 is three. The audio output pin includes a speaker pin 11 and an earpiece pin. 12 and the earphone pin 13, three input terminals of the gain adjustment circuit 31 are respectively connected with the speaker pin 11, the earphone pin 12 and the earphone pin 13, three of the gain adjustment circuits 31 The outputs are connected to the outputs of the processor 4, respectively.
[0074] 所述信号输入模块 2用于将预设的音频信号传输至所述音频输出管脚, 所述切 换开关 32用于将待测试的输出管脚切换至与 MIC管脚 14连通。 例如, 对扬声器管 脚 11进行测试时, 将MIC管脚 14切换到扬声器管脚 11输出的通道上, 进行听筒管 脚 12测试时, 将MIC管脚 14切换到听筒管脚 12输出的通道上, 进行耳机管脚 13测 试时, 将MIC管脚 14切换到耳机管脚 13输出的通道上。 所述预设的音频信号从待 测试的音频输出管脚输出至MIC管脚 14。  [0074] The signal input module 2 is configured to transmit a preset audio signal to the audio output pin, and the switch switch 32 is configured to switch the output pin to be tested to communicate with the MIC pin 14. For example, when testing the speaker pin 11, the MIC pin 14 is switched to the channel output from the speaker pin 11, and when the earpiece pin 12 is tested, the MIC pin 14 is switched to the channel output from the earpiece pin 12. When the headphone pin 13 is tested, the MIC pin 14 is switched to the channel output from the headphone pin 13. The preset audio signal is output from the audio output pin to be tested to the MIC pin 14.
[0075] 所述处理器 4存储有程序, 所述处理器用于运行所述程序以执行以下步骤: [0075] The processor 4 stores a program, and the processor is configured to run the program to perform the following steps:
[0076] 获取 MIC管脚接收的音频信号; [0076] acquiring an audio signal received by the MIC pin;
[0077] 解析所述预设的音频信号得到第一音频波形;  [0077] parsing the preset audio signal to obtain a first audio waveform;
[0078] 解析所述MIC管脚接收的音频信号得到第二音频波形;  [0078] parsing the audio signal received by the MIC pin to obtain a second audio waveform;
[0079] 比较第一音频波形的幅度和第二音频波形的幅度;  Comparing the amplitude of the first audio waveform with the amplitude of the second audio waveform;
[0080] 比较第一音频波形的频率和第二音频波形的频率;  Comparing a frequency of the first audio waveform with a frequency of the second audio waveform;
[0081] 若第一音频波形的频率和第二音频波形的频率变化一致, 且第一音频波形的幅 \¥0 2019/104480 卩(:17 \2017/113380 [0081] if the frequency of the first audio waveform and the frequency change of the second audio waveform are consistent, and the amplitude of the first audio waveform \¥0 2019/104480 卩(:17 \2017/113380
7 度乘以所述增益调节电路的放大倍数得到的乘积与第二音频波形的幅度相同, 则判定所述音频输出管脚正常。  The product obtained by multiplying 7 degrees by the amplification factor of the gain adjustment circuit is the same as the amplitude of the second audio waveform, and it is determined that the audio output pin is normal.
[0082] 优选的, 本实施例的切换开关采用集成有开关&和开关 1?的芯片, 如图 2所示。  [0082] Preferably, the switch of the embodiment adopts a chip integrated with a switch & switch 1 , as shown in FIG. 2 .
具体的测试原理如下:  The specific test principle is as follows:
[0083] 1、 测试扬声器管脚 11时, 开关 &切到 NC和COM连接的通道, 开关 I?切到 NC和C [0083] 1. When testing the speaker pin 11, switch & cut to the channel connecting NC and COM, switch I? cut to NC and C
OM连接的通道, 这样, 扬声器管脚 11输出的信号经过增益调节电路 31、 开关 & 和开关 15, 输入到 MIC管脚 14上; The channel connected by the OM, such that the signal output from the speaker pin 11 is input to the MIC pin 14 via the gain adjustment circuit 31, the switch & switch 15;
[0084] 2、 测试听筒管脚 12时, 开关 &切到 NO和 COM连接的通道, 开关 I?切到 NC和CO [0084] 2. When testing the earpiece pin 12, switch & cut to the channel connecting NO and COM, switch I? cut to NC and CO
M连接的通道, 这样, 听筒管脚 12输出的信号经过增益调节电路 31、 开关 &和开 关 输入到 MIC管脚上; M connected channels, such that the signal output from the handset pin 12 is input to the MIC pin via the gain adjustment circuit 31, the switch & switch;
[0085] 3、 测试耳机管脚 13时, 开关 &无需控制, 开关 15切到 NO和 COM连接的通道, 这 样, 听筒管脚 13输出的信号经过增益调节电路 31、 开关 &和开关 输入到 MIC管 脚 14上; [0085] 3. When the headphone pin 13 is tested, the switch & control is not required, and the switch 15 is cut to the channel where NO and COM are connected, so that the signal output from the earpiece pin 13 is input to the MIC through the gain adjustment circuit 31, the switch & switch, and the switch. On the pin 14;
[0086] 4、 音频输入模块 2将音频文件〇 1&^记录的正旋波扫频信号 (比如 11^810^ 的扫频) 通过扬声器管脚 11、 听筒管脚 12或耳机管脚 13输出, MIC管脚 14接收信 号, 并将接收到的音频信号保存下来, 生成 in.wav的音频文件, 处理器 4将存储 在音频输入模块里的〇 1&文件和该 in.wav文件记录的音频波形进行对比, 比较 音频波形的幅度和频率: (1) 两个文件记录的音频波形的频率变化一致, (2 ) 〇 1&记录的音频波形的幅度乘以增益调节电路电压放大(或衰减) 倍数与接 收的 in.wav文件记录的音频波形的电压附图相同, 则判断扬声器管脚、 听筒管脚 或耳机管脚功能是正常的。  [0086] 4. The audio input module 2 outputs the positive cyclone sweep signal (such as the sweep of 11^810^) recorded by the audio file 〇1&^ through the speaker pin 11, the earphone pin 12 or the earphone pin 13. The MIC pin 14 receives the signal, and saves the received audio signal to generate an in.wav audio file. The processor 4 performs the 〇1& file stored in the audio input module and the audio waveform recorded in the in.wav file. Contrast, compare the amplitude and frequency of the audio waveform: (1) The frequency of the audio waveform recorded by the two files changes consistently, (2) 〇1 & the amplitude of the recorded audio waveform multiplied by the gain adjustment circuit voltage amplification (or attenuation) multiples and reception The voltage waveform of the audio waveform recorded in the in.wav file is the same, and it is judged that the speaker pin, the earpiece pin or the earphone pin function is normal.
[0087] 请参照图 3, 本发明的实施例二为:  Referring to FIG. 3, Embodiment 2 of the present invention is:
[0088] 一种与实施例一对应的通讯模块的音频管脚测试方法, 所述通讯模块的输出管 脚为三个, 具体包括扬声器管脚、 听筒管脚和耳机管脚, 所述通讯模块的音频 管脚测试方法包括:  [0088] An audio pin test method for a communication module corresponding to the first embodiment, the output pin of the communication module is three, specifically including a speaker pin, a receiver pin, and a headphone pin, and the communication module The audio pin test methods include:
[0089] 81: 从通讯模块的三个所述音频输出管脚中选取一音频输出管脚作为待测试的 音频输出管脚;  [0089] 81: selecting an audio output pin from the three audio output pins of the communication module as the audio output pin to be tested;
[0090] 82: 将预设的音频信号从所述待测试的音频输出管脚输出; \¥0 2019/104480 卩(:17 \2017/113380 [0090] 82: output a preset audio signal from the audio output pin to be tested; \¥0 2019/104480 卩(:17 \2017/113380
8  8
[0091] 83: 将待测试的音频输出管脚输出的信号进行增益放大或增益衰减至所述通讯 模块的MIC管脚的额定输入范围内; [0091] 83: performing gain amplification or gain attenuation on a signal output from the audio output pin to be tested to a rated input range of the MIC pin of the communication module;
[0092] 84: 将经过增益放大或增益衰减后的信号输入至MIC管脚;  [0092] 84: input a gain amplified or gain attenuated signal to the MIC pin;
[0093] 85: 解析所述预设的音频信号得到第一音频波形;  [0093] 85: parsing the preset audio signal to obtain a first audio waveform;
[0094] 86: 解析所述MIC管脚接收的音频信号得到第二音频波形;  [0094] 86: parsing the audio signal received by the MIC pin to obtain a second audio waveform;
[0095] 87: 比较第一音频波形的幅度和第二音频波形的幅度;  [0095] 87: comparing an amplitude of the first audio waveform with an amplitude of the second audio waveform;
[0096] 88: 比较第一音频波形的频率和第二音频波形的频率;  [0096] 88: comparing a frequency of the first audio waveform with a frequency of the second audio waveform;
[0097] 89: 若第一音频波形的频率和第二音频波形的频率变化一致, 且第一音频波形 的幅度乘以所述增益放大或增益衰减的倍数得到的乘积与第二音频波形的幅度 相同, 则判定所述待测试的音频输出管脚正常。  [0097] 89: if the frequency of the first audio waveform and the frequency variation of the second audio waveform are consistent, and the amplitude of the first audio waveform is multiplied by a multiple of the gain amplification or gain attenuation and the amplitude of the second audio waveform If the same, it is determined that the audio output pin to be tested is normal.
[0098] 综上所述, 本发明提供的通讯模块的音频管脚测试方法及测试装置, 通过将音 频输出管脚输出的信号反馈到MIC管脚上, 对音频输出管脚的功能进行自动测试 , 具有测试效率高、 测试准确度高等优点。  [0098] In summary, the audio pin test method and test device of the communication module provided by the present invention automatically test the function of the audio output pin by feeding back the signal output from the audio output pin to the MIC pin. , has the advantages of high test efficiency and high test accuracy.
[0099]  [0099]

Claims

\¥0 2019/104480 卩(:17 \2017/113380 9 权利要求书 \¥0 2019/104480 卩(:17 \2017/113380 9 Claims
[权利要求 1] 一种通讯模块的音频管脚测试方法, 其特征在于, 包括:  [Attach 1] A method for testing an audio pin of a communication module, comprising:
将预设的音频信号从通讯模块的待测试的音频输出管脚传输至所述通 讯模块的MI( :管脚;  Transmitting a preset audio signal from the audio output pin of the communication module to be tested to the MI of the communication module (: pin;
获取 MIC管脚接收的音频信号;  Acquiring the audio signal received by the MIC pin;
比较所述预设的音频信号和 MIC管脚接收的音频信号;  Comparing the preset audio signal with an audio signal received by the MIC pin;
依据比较的结果判断所述待测试的音频输出管脚是否正常。  Whether the audio output pin to be tested is normal according to the result of the comparison.
[权利要求 2] 根据权利要求 1所述的通讯模块的音频管脚测试方法, 其特征在于, 所述“比较所述预设的音频信号和 MIC管脚接收的音频信号”包括: 解析所述预设的音频信号得到第一音频波形;  [Claim 2] The audio pin test method of the communication module according to claim 1, wherein the "comparing the preset audio signal and the audio signal received by the MIC pin" comprises: parsing the The preset audio signal obtains the first audio waveform;
解析所述MIC管脚接收的音频信号得到第二音频波形;  Parsing an audio signal received by the MIC pin to obtain a second audio waveform;
比较第一音频波形的幅度和第二音频波形的幅度; 比较第一音频波形的频率和第二音频波形的频率。  Comparing the amplitude of the first audio waveform with the amplitude of the second audio waveform; comparing the frequency of the first audio waveform with the frequency of the second audio waveform.
[权利要求 3] 根据权利要求 2所述的通讯模块的音频管脚测试方法, 其特征在于, 所述“依据比较的结果判断音频输出管脚是否正常”包括:  [Claim 3] The audio pin test method of the communication module according to claim 2, wherein the determining whether the audio output pin is normal according to the result of the comparison includes:
若第一音频波形的频率和第二音频波形的频率变化一致, 且第一音频 波形的幅度和第二音频波形的幅度相同, 则判定所述待测试的音频输 出管脚正常。  If the frequency of the first audio waveform coincides with the frequency variation of the second audio waveform, and the amplitude of the first audio waveform and the amplitude of the second audio waveform are the same, it is determined that the audio output pin to be tested is normal.
[权利要求 4] 根据权利要求 2所述的通讯模块的音频管脚测试方法, 其特征在于, 所述“将预设的音频信号从通讯模块的待测试的音频输出管脚传输至 所述通讯模块的MIC管脚”包括:  [Attachment 4] The audio pin test method of the communication module according to claim 2, wherein: "the preset audio signal is transmitted from the audio output pin of the communication module to be tested to the communication The MIC pin of the module" includes:
将预设的音频信号从通讯模块的待测试的音频输出管脚输出; 将待测试的音频输出管脚输出的信号进行增益放大或增益衰减至所述 通讯模块的MIC管脚的额定输入范围内;  Outputting a preset audio signal from an audio output pin of the communication module to be tested; and performing gain amplification or gain attenuation on a signal output from the audio output pin to be tested to a rated input range of the MIC pin of the communication module ;
将经过增益放大或增益衰减后的信号输入至MIC管脚。  The gain amplified or gain-attenuated signal is input to the MIC pin.
[权利要求 5] 根据权利要求 4所述的通讯模块的音频管脚测试方法, 其特征在于, 所述增益放大或增益衰减具体为电压增益放大或电压增益衰减。  [Claim 5] The audio pin test method of the communication module according to claim 4, wherein the gain amplification or gain attenuation is specifically voltage gain amplification or voltage gain attenuation.
[权利要求 6] 根据权利要求 4所述的通讯模块的音频管脚测试方法, 其特征在于, \¥0 2019/104480 卩(:17 \2017/113380 [Claim 6] The audio pin test method of the communication module according to claim 4, wherein \¥0 2019/104480 卩(:17 \2017/113380
10 所述“依据比较的结果判断音频输出管脚是否正常”包括:  10 “Determining whether the audio output pin is normal according to the result of the comparison” includes:
若第一音频波形的频率和第二音频波形的频率变化一致, 且第一音频 波形的幅度乘以所述增益放大或增益衰减的倍数得到的乘积与第二音 频波形的幅度相同, 则判定所述待测试的音频输出管脚正常。  If the frequency of the first audio waveform and the frequency change of the second audio waveform are identical, and the product of the amplitude of the first audio waveform multiplied by the multiple of the gain amplification or gain attenuation is the same as the amplitude of the second audio waveform, then the determination is performed. The audio output pins that are tested are normal.
[权利要求 7] 根据权利要求 1所述的通讯模块的音频输出管脚测试方法, 其特征在 于, 所述通讯模块包括两个以上的音频输出管脚, 所述“将预设的音 频信号从通讯模块的待测试的音频输出管脚传输至所述通讯模块的 M 1(:管脚”之前还包括:  [Claim 7] The audio output pin test method of the communication module according to claim 1, wherein the communication module includes two or more audio output pins, and the “preset audio signal from the The audio output pin of the communication module to be tested is transmitted to the M 1 (:pin) of the communication module before:
从通讯模块的两个以上的所述音频输出管脚中选取一音频输出管脚作 为待测试的音频输出管脚。  An audio output pin is selected from two or more of the audio output pins of the communication module as an audio output pin to be tested.
[权利要求 8] 一种通讯模块的音频管脚测试装置, 其特征在于, 包括信号输入模块 、 信号传输模块和处理器, 所述信号输入模块连接通讯模块的音频输 出管脚, 所述信号传输模块的输入端连接音频输出管脚, 所述信号传 输模块的输出端连接通讯模块的MIC管脚, 所述信号输入模块用于将 预设的音频信号传输至所述音频输出管脚, 所述处理器存储有程序, 所述处理器用于运行所述程序以执行以下步骤: 获取 MIC管脚接收的音频信号;  [Attachment 8] An audio pin testing device for a communication module, comprising: a signal input module, a signal transmission module, and a processor, wherein the signal input module is connected to an audio output pin of the communication module, and the signal transmission The input end of the module is connected to the audio output pin, the output end of the signal transmission module is connected to the MIC pin of the communication module, and the signal input module is configured to transmit a preset audio signal to the audio output pin, The processor stores a program, the processor is configured to run the program to perform the following steps: acquiring an audio signal received by the MIC pin;
比较所述预设的音频信号和 MIC管脚接收的音频信号;  Comparing the preset audio signal with an audio signal received by the MIC pin;
依据比较的结果判断所述音频输出管脚是否正常。  Whether the audio output pin is normal is judged according to the result of the comparison.
[权利要求 9] 根据权利要求 8所述的通讯模块的音频管脚测试装置, 其特征在于, 所述“比较所述预设的音频信号和 MIC管脚接收的音频信号”包括: 解析所述预设的音频信号得到第一音频波形;  [Claim 9] The audio pin testing device of the communication module according to claim 8, wherein the "comparing the preset audio signal and the audio signal received by the MIC pin" comprises: parsing the The preset audio signal obtains the first audio waveform;
解析所述MIC管脚接收的音频信号得到第二音频波形;  Parsing an audio signal received by the MIC pin to obtain a second audio waveform;
比较第一音频波形的幅度和第二音频波形的幅度; 比较第一音频波形的频率和第二音频波形的频率。  Comparing the amplitude of the first audio waveform with the amplitude of the second audio waveform; comparing the frequency of the first audio waveform with the frequency of the second audio waveform.
[权利要求 10] 根据权利要求 9所述的通讯模块的音频管脚测试装置, 其特征在于, 所述“依据比较的结果判断音频输出管脚是否正常”包括:  [Claim 10] The audio pin testing device of the communication module according to claim 9, wherein the determining whether the audio output pin is normal according to the result of the comparison includes:
若第一音频波形的频率和第二音频波形的频率变化一致, 且第一音频 \¥0 2019/104480 卩(:17 \2017/113380 If the frequency of the first audio waveform and the frequency of the second audio waveform change, and the first audio \¥0 2019/104480 卩(:17 \2017/113380
11 波形的幅度和第二音频波形的幅度相同, 则判定所述音频输出管脚正 常。  11 The amplitude of the waveform is the same as the amplitude of the second audio waveform, and it is determined that the audio output pin is normal.
[权利要求 11] 根据权利要求 9所述的通讯模块的音频管脚测试方法, 其特征在于, 所述信号传输模块包括增益调节电路, 所述增益调节电路的输入端连 接所述音频输出管脚, 所述增益调节电路的输出端连接 MIC管脚。  The audio pin test method of the communication module according to claim 9, wherein the signal transmission module includes a gain adjustment circuit, and an input end of the gain adjustment circuit is connected to the audio output pin The output of the gain adjustment circuit is connected to the MIC pin.
[权利要求 12] 根据权利要求 11所述的通讯模块的音频管脚测试装置, 其特征在于, 所述增益调节电路为电压增益调节电路。  [Claim 12] The audio pin testing device of the communication module according to claim 11, wherein the gain adjustment circuit is a voltage gain adjustment circuit.
[权利要求 13] 根据权利要求 11所述的通讯模块的音频管脚测试装置, 其特征在于, 所述“依据比较的结果判断音频输出管脚是否正常”包括:  [Claim 13] The audio pin testing device of the communication module according to claim 11, wherein the determining whether the audio output pin is normal according to the result of the comparison includes:
若第一音频波形的频率和第二音频波形的频率变化一致, 且第一音频 波形的幅度乘以所述增益调节电路的放大倍数得到的乘积与第二音频 波形的幅度相同, 则判定所述音频输出管脚正常。  Determining if the frequency of the first audio waveform and the frequency change of the second audio waveform are the same, and the product of the amplitude of the first audio waveform multiplied by the amplification factor of the gain adjustment circuit is the same as the amplitude of the second audio waveform The audio output pin is normal.
[权利要求 14] 根据权利要求 8所述的通讯模块的音频输出管脚测试装置, 其特征在 于, 所述音频输出管脚的数量为两个以上, 所述信号传输模块包括两 个以上的增益调节电路和切换开关, 两个以上的所述音频输出管脚分 别对应连接两个以上的增益调节电路的输入端, 两个以上的增益调节 电路的输出端分别连接所述切换开关的输入端, 切换开关的输出端连 接所述 MIC管脚。  [Claim 14] The audio output pin testing device of the communication module according to claim 8, wherein the number of the audio output pins is two or more, and the signal transmission module includes two or more gains. The adjustment circuit and the switch, two or more of the audio output pins respectively corresponding to the input ends of the two or more gain adjustment circuits, and the output ends of the two or more gain adjustment circuits are respectively connected to the input ends of the switch The output of the switch is connected to the MIC pin.
[权利要求 15] 根据权利要求 8所述的通讯模块的音频输出管脚测试装置, 其特征在 于, 所述音频输出管脚的数量为两个以上, 所述信号传输模块包括切 换开关和增益调节电路, 所述两个以上音频输出管脚连接所述切换开 关的输入端, 所述切换开关的输出端连接所述增益调节电路, 所述增 益调节电路的输出端连接所述 MIC管脚。  [Claim 15] The audio output pin testing device of the communication module according to claim 8, wherein the number of the audio output pins is two or more, and the signal transmission module includes a switch and a gain adjustment. The circuit, the two or more audio output pins are connected to the input end of the switch, the output end of the switch is connected to the gain adjustment circuit, and the output end of the gain adjustment circuit is connected to the MIC pin.
PCT/CN2017/113380 2017-11-28 2017-11-28 Audio pin testing method and testing device for communication module WO2019104480A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201780001966.9A CN108064347A (en) 2017-11-28 2017-11-28 The audio pin test method and test device of communication module
PCT/CN2017/113380 WO2019104480A1 (en) 2017-11-28 2017-11-28 Audio pin testing method and testing device for communication module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/113380 WO2019104480A1 (en) 2017-11-28 2017-11-28 Audio pin testing method and testing device for communication module

Publications (1)

Publication Number Publication Date
WO2019104480A1 true WO2019104480A1 (en) 2019-06-06

Family

ID=62142057

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/113380 WO2019104480A1 (en) 2017-11-28 2017-11-28 Audio pin testing method and testing device for communication module

Country Status (2)

Country Link
CN (1) CN108064347A (en)
WO (1) WO2019104480A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109557452A (en) * 2018-11-28 2019-04-02 重庆华渝电气集团有限公司 A kind of optical fibre gyro main circuit board detection method
CN111698630B (en) * 2019-12-02 2022-04-05 芯讯通无线科技(上海)有限公司 Test system of audio interface of wireless communication module
CN111929562B (en) * 2020-07-03 2023-06-23 上海美仁半导体有限公司 Chip test system, test method, test response method of chip and chip
CN113900003A (en) * 2020-07-07 2022-01-07 圣邦微电子(北京)股份有限公司 Chip pin disconnection detection device and detection method
CN112637751A (en) * 2020-12-21 2021-04-09 龙尚科技(上海)有限公司 Voice module test circuit, method, device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050123143A1 (en) * 2003-07-14 2005-06-09 Wilfried Platzer Audio reproduction system with a data feedback channel
CN101729635A (en) * 2009-12-30 2010-06-09 中兴通讯股份有限公司 Method and device for testing audio loop of communication terminal
CN103379419A (en) * 2012-04-16 2013-10-30 上海晨兴希姆通电子科技有限公司 Audio frequency access test system
CN104618552A (en) * 2013-11-01 2015-05-13 上海晨兴希姆通电子科技有限公司 Audio detection system of mobile terminal
CN205566643U (en) * 2016-04-28 2016-09-07 湖南工业大学 Audio frequency winding automatic test system

Family Cites Families (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB9406224D0 (en) * 1994-03-29 1994-05-18 Deas Alexander R Adaptive telephone interface
CN100377102C (en) * 2004-02-21 2008-03-26 鸿富锦精密工业(深圳)有限公司 Host panel functional test board
CN101819550A (en) * 2009-02-26 2010-09-01 鸿富锦精密工业(深圳)有限公司 Interface testing system for serial connecting small computer system
CN101990144A (en) * 2009-07-31 2011-03-23 沈阳晨讯希姆通科技有限公司 Double earphone adapter, main board and method for detecting double earphones
CN101902677B (en) * 2010-06-23 2015-01-28 中兴通讯股份有限公司 Audio detection device and method
CN201813530U (en) * 2010-10-21 2011-04-27 龙旗科技(上海)有限公司 Simple biomimetic audio testing device
CN102346234B (en) * 2011-06-30 2013-11-06 福州瑞芯微电子有限公司 Functional test method of I2S (Inter-IC Sound Bus) interface
CN102967817B (en) * 2011-09-01 2015-10-07 安凯(广州)微电子技术有限公司 Chip audio module test system and method for testing
GB2501767A (en) * 2012-05-04 2013-11-06 Sony Comp Entertainment Europe Noise cancelling headset
CN203084154U (en) * 2012-12-10 2013-07-24 青岛海信移动通信技术股份有限公司 Test device of terminal audio interface circuit
CN103079161B (en) * 2012-12-18 2015-04-01 福建联迪商用设备有限公司 Method and system for testing audio port of handheld equipment
TWI539829B (en) * 2013-04-01 2016-06-21 宏碁股份有限公司 Detecting circuit
CN203851294U (en) * 2013-12-18 2014-09-24 歌尔声学股份有限公司 Device for testing reliability of loudspeaker
CN104105048B (en) * 2014-07-17 2017-08-25 福建星网视易信息系统有限公司 Detecting system, apparatus and method for electronic equipment audio-frequency test
CN104243651A (en) * 2014-09-25 2014-12-24 声科科技(南京)有限公司 Automatic self-test method and device of communication terminals
CN105578344B (en) * 2014-10-10 2020-07-14 深圳富泰宏精密工业有限公司 Earphone interface state detection system and method
CN104569788B (en) * 2015-01-13 2018-03-30 宁波麦博韦尔移动电话有限公司 A kind of mainboard audio loop test device and method of testing
JP6440164B2 (en) * 2015-02-26 2018-12-19 株式会社オーディオテクニカ Microphone connection device
CN105182166A (en) * 2015-09-25 2015-12-23 深圳市金立通信设备有限公司 Listening device detection method and device
CN106679794B (en) * 2015-11-10 2020-11-27 上海凡卓软件开发技术有限公司 System and method for testing mainboard motor driving circuit
CN105430004A (en) * 2015-12-22 2016-03-23 上海爱信诺航芯电子科技有限公司 Audio password key of earphone interface standard and interface adaption method
CN105872164B (en) * 2016-03-23 2018-11-16 广东欧珀移动通信有限公司 Patchcord, test result wiring method, device, mobile terminal and test macro
CN205946168U (en) * 2016-04-19 2017-02-08 深圳市明信测试设备有限公司 Bee calling organ test system
CN107342877A (en) * 2016-04-29 2017-11-10 展讯通信(上海)有限公司 The method of testing and system of audio frequency of mobile terminal quality
CN106068008B (en) * 2016-08-15 2019-07-19 歌尔科技有限公司 Audio-frequence player device distortion measurement method
CN106383288A (en) * 2016-08-25 2017-02-08 歌尔股份有限公司 Test equipment for USB interface earphone
CN206077684U (en) * 2016-09-21 2017-04-05 珠海市运泰利自动化设备有限公司 Miniature Micphone test machines
CN206061141U (en) * 2016-09-26 2017-03-29 厦门盈趣科技股份有限公司 A kind of acoustical testing system of wireless audio products
CN206490729U (en) * 2017-01-18 2017-09-12 深圳市信恳智能电子股份有限公司 A kind of mobile phone MIC detection means exported based on flat mouth
CN106937234A (en) * 2017-03-20 2017-07-07 上海与德科技有限公司 The method of testing and device of audio components

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050123143A1 (en) * 2003-07-14 2005-06-09 Wilfried Platzer Audio reproduction system with a data feedback channel
CN101729635A (en) * 2009-12-30 2010-06-09 中兴通讯股份有限公司 Method and device for testing audio loop of communication terminal
CN103379419A (en) * 2012-04-16 2013-10-30 上海晨兴希姆通电子科技有限公司 Audio frequency access test system
CN104618552A (en) * 2013-11-01 2015-05-13 上海晨兴希姆通电子科技有限公司 Audio detection system of mobile terminal
CN205566643U (en) * 2016-04-28 2016-09-07 湖南工业大学 Audio frequency winding automatic test system

Also Published As

Publication number Publication date
CN108064347A (en) 2018-05-22

Similar Documents

Publication Publication Date Title
WO2019104480A1 (en) Audio pin testing method and testing device for communication module
US20130003990A1 (en) Electronic device and audio output control method thereof
US11632077B2 (en) Fault point position determining method and apparatus and photovoltaic system
CN111225332B (en) Bluetooth headset testing method and system
CN103220614A (en) Audio interface type detection device
CN103260124A (en) Audio testing method and system of mobile terminal
CN101159451B (en) Audio equipment connecting method in bluetooth authentication
CN104780280A (en) Audio signal detection method and device
CN111107462A (en) Noise reduction system, debugging system, method, electronic device, and storage medium
US9736568B2 (en) Electronic device, calibrator, and headset for calibrating electronic device
CN113490102A (en) Wireless earphone and communication method thereof
CN203883981U (en) Headset with microphone signal MIC and GND automatic switching function
CN111787479B (en) Method and system for correcting listening sensation of TWS earphone
CN101208920A (en) Transmission path driving circuit
CN205566625U (en) Digit conference system
CN105635925A (en) Mobile terminal audio test method, system and audio test interface adapter
CN110247265B (en) Multifunctional data line, switching circuit and switching method
KR101473616B1 (en) Feedback Apparatus of Audio Signal For Handphone and Transfer Method of Sound Source using the Apparatus
CN101540644B (en) Adaptation method for audio device, device and system
KR20190136682A (en) Ear-phone, apparatus and system for testing the same
CN111432321B (en) Audio equipment test circuit and test method
CN104936055A (en) Terminal with earphone interface and earphone interface adaptive method
ATE532319T1 (en) AUTOMATIC SWITCHING AND RANGE CALIBRATION OF A HEADPHONE INTERFACE UNIT
CN112637751A (en) Voice module test circuit, method, device and storage medium
JP2003504948A (en) Inspection circuit device and method for switching type diversity system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17933837

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17933837

Country of ref document: EP

Kind code of ref document: A1