WO2011160342A1 - 音频检测装置及方法 - Google Patents
音频检测装置及方法 Download PDFInfo
- Publication number
- WO2011160342A1 WO2011160342A1 PCT/CN2010/076971 CN2010076971W WO2011160342A1 WO 2011160342 A1 WO2011160342 A1 WO 2011160342A1 CN 2010076971 W CN2010076971 W CN 2010076971W WO 2011160342 A1 WO2011160342 A1 WO 2011160342A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- circuit
- amplitude
- mic
- sine wave
- frequency
- 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.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; ELECTRIC HEARING AIDS; PUBLIC ADDRESS SYSTEMS
- H04R29/00—Monitoring arrangements; Testing arrangements
- H04R29/004—Monitoring arrangements; Testing arrangements for microphones
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; ELECTRIC HEARING AIDS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/10—Earpieces; Attachments therefor ; Earphones; Monophonic headphones
- H04R1/1091—Details not provided for in groups H04R1/1008 - H04R1/1083
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; ELECTRIC HEARING AIDS; PUBLIC ADDRESS SYSTEMS
- H04R2201/00—Details of transducers, loudspeakers or microphones covered by H04R1/00 but not provided for in any of its subgroups
- H04R2201/02—Details casings, cabinets or mounting therein for transducers covered by H04R1/02 but not provided for in any of its subgroups
- H04R2201/029—Manufacturing aspects of enclosures transducers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; ELECTRIC HEARING AIDS; PUBLIC ADDRESS SYSTEMS
- H04R2430/00—Signal processing covered by H04R, not provided for in its groups
- H04R2430/01—Aspects of volume control, not necessarily automatic, in sound systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; ELECTRIC HEARING AIDS; PUBLIC ADDRESS SYSTEMS
- H04R2499/00—Aspects covered by H04R or H04S not otherwise provided for in their subgroups
- H04R2499/10—General applications
- H04R2499/11—Transducers incorporated or for use in hand-held devices, e.g. mobile phones, PDA's, camera's
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; ELECTRIC HEARING AIDS; PUBLIC ADDRESS SYSTEMS
- H04R29/00—Monitoring arrangements; Testing arrangements
- H04R29/004—Monitoring arrangements; Testing arrangements for microphones
- H04R29/005—Microphone arrays
- H04R29/006—Microphone matching
Definitions
- the present invention relates to the field of communications, and in particular to an audio detection apparatus and method.
- BACKGROUND With the continuous increase in the cost of mobile terminals (for example, mobile phones) and the increasing shipments, there are certain differences in audio modules between mobile phones, and even a very small number of mobile phones have serious problems in devices and hardware circuits. Quality issues, which require testing and calibration at the production stage.
- Such a mobile phone can cause a user complaint if it is distributed to the user.
- the second type of problem is that due to fluctuations in the device itself, some parameters are not properly set on some mobile phones, and their audio parameters need to be updated.
- the MIC has a positive or negative 3dB difference in sensitivity due to the device, so there is a 6dB difference between positive and negative. If the uplink analog gain is not changed, the up-volume volume will be too large or too small due to individual differences. If it is too large, and the user's voice is caused by environmental influences, the uplink break will be very obvious. Lead to the user body - dangerous down.
- the present invention provides an audio detection method and apparatus for a mobile terminal to solve the above problems, in view of the problem that the audio module of the mobile terminal has a quality problem and causes a user complaint. According to an aspect of the present invention, an audio detecting apparatus is provided.
- the audio detecting device is applied to a mobile terminal and an earphone thereof, and the mobile terminal and the earphone thereof comprise: a microphone MIC circuit and a sounding circuit, wherein the audio detecting device comprises: a MIC circuit detecting module and a sounding circuit detecting module; and a MIC circuit
- the detecting module is configured to obtain the amplitude and frequency of the sine wave signal after the MIC circuit is sampled, determine whether the MIC circuit is qualified according to the amplitude and the frequency, and output a sine wave signal
- the sounding circuit detecting module comprises: a conversion board with the MIC circuit and processing a conversion board, an analog signal for outputting the sounding circuit, and converting the analog signal into a digital signal, which is sent to the processor; and a processor for analyzing and processing the amplitude and frequency of the digital signal to determine whether the sounding circuit is qualified.
- an audio detection method is provided.
- the audio detection method of the present invention is applied to a mobile terminal and a headset thereof, and the mobile terminal and the earphone thereof comprise: a microphone MIC circuit and a sounding circuit, wherein the method comprises: acquiring the amplitude of the sine wave signal after the MIC circuit is sampled Frequency; determine whether the MIC circuit is qualified according to the amplitude and frequency, and output a sine wave signal; amplify the amplitude of the sine wave signal and send it to the sounding circuit; after the output signal of the sounding circuit is sampled, analyze the amplitude and frequency of the output signal , to determine whether the sound circuit is qualified.
- an audio detecting device which mainly comprises: a MIC circuit detecting module and a sounding circuit detecting module, which is used for an audio module (MIC circuit and sounding circuit) of a mobile terminal and its earphone in a production process
- the quality is tested to overcome the quality problems of the audio module of the mobile terminal, reduce user complaints, and improve customer satisfaction.
- FIG. 1 is a block diagram showing the structure of an audio detecting apparatus according to an embodiment of the present invention
- FIG. 2 is a block diagram showing the structure of an audio detecting apparatus according to a preferred embodiment of the present invention
- FIG. 3 is a sine wave according to a preferred embodiment of the present invention.
- FIG. 4 is a schematic diagram of calculating a fractional interval according to an embodiment of the present invention
- FIG. 5 is a flowchart of an audio detection method according to an embodiment of the present invention
- 6 is a flow chart of an audio detection method in accordance with a preferred embodiment of the present invention.
- an audio detecting apparatus includes: a MIC circuit detecting module 10 and a sounding circuit detecting module 12.
- the sounding circuit detecting module 12 may further include: a conversion board 122 having a MIC circuit and a processor 124.
- the MIC circuit detecting module 10 is configured to obtain the amplitude and frequency of the sine wave signal after the MIC circuit is sampled, determine whether the MIC circuit is qualified according to the amplitude and the frequency, and output a sine wave signal.
- the conversion board 122 is configured to output an analog signal outputted by the sounding circuit, and convert the analog signal into a digital signal and send the signal to the processor.
- the processor 124 is configured to analyze and process the amplitude and frequency of the received signal, and determine the Whether the sounding circuit is qualified.
- the audio path can be completely detected by the above device, and the mobile terminal with hardware or device problem is excluded. This avoids user complaints and increases customer satisfaction.
- the MIC circuit detecting module 10 may be at least one of the following: a mobile terminal MIC circuit detecting module, configured to acquire a magnitude and a frequency of a sine wave signal after the MIC circuit is sampled, wherein the sine wave signal input to the MIC circuit is From the analog signal inside the speaker.
- the earphone MIC circuit detecting module is configured to obtain the amplitude and frequency of the sine wave signal after the MIC circuit is sampled, wherein the sine wave signal input to the earphone MIC circuit is an electrical signal from the processor.
- the sounding circuit detecting module 12 may be at least one of the following: a mobile terminal earpiece circuit detecting module, a speaker circuit detecting module, and a headphone earphone circuit detecting module.
- the MIC circuit detecting module is further configured to determine that the MIC circuit is qualified when the ratio of the amplitude to the predetermined standard value is less than the first threshold and the frequency is not distorted.
- the MIC circuit detecting module is further configured to: when the ratio of the amplitude to the predetermined standard value is greater than the first threshold and less than the second threshold, adjust an uplink gain of the MIC circuit until the ratio is less than the first threshold, The number of times the uplink gain of the MIC circuit is adjusted does not exceed a predetermined number of times.
- the MIC circuit detecting module is further configured to determine that the MIC circuit fails to be detected when the ratio of the amplitude to the predetermined standard value is greater than the second threshold.
- a computer can output a sinusoidal signal of a fixed frequency through a small power amplifier and a speaker.
- ABB analog base band
- DBB digital baseband
- the amplitude range and the ratio range measured by the standard mobile phone are small (for example, less than 1.5dB), it is considered that there is no quality problem in this mobile phone, and the "OK" prompt is output through the USB port; if the amplitude range is measured by the standard mobile phone If the range difference is 3 large (for example, greater than 6dB), it is considered that the jt mobile phone has an uncorrectable problem. The "error" prompt is output through the USB port. At this time, the device or hardware circuit problem may occur; if the amplitude and standard The range measured by the mobile phone is between 1.5dB and 6dB. It is improved by adjusting the uplink gain in ABB.
- a total of 4 tampering can be repeated for a predetermined number of times (for example, 3 ⁇ 5 times). If the improvement is successful, the output is output through the USB port. ⁇ " Prompt, if it is unsuccessful, it will return an error message. It is judged whether the frequency distortion occurs by the period calculated in the sine wave synchronization algorithm, and the result is output to the computer through the USB port.
- the detection of the MIC circuit of the earphone and the detection of the MIC circuit of the mobile phone The basic principle is the same. However, the sine wave signal input to the headphone MIC circuit is from the processor (for example) , a fixed frequency sinusoidal electrical signal of a PC.
- an amplitude amplification circuit can be used to amplify the input sine wave in the case where the headphone MIC circuit detection has been completed and the detection is not problematic.
- a fixed amplitude is output from the handset, and is transferred to the computer via the conversion board 122 with the MIC (note that the conversion board should be kept at a fixed distance and direction from the receiver) through the processor.
- 124 for example, a computer calculates its amplitude range and tests whether it has clipping by FFT change. If the calculated amplitude does not meet the requirements, it can also pass AT The way to modify the downlink gain is to make appropriate adjustments. In general, there is less difference in the receiver sensitivity of the mobile phone.
- the main problem is that the receiver has obvious clipping and noise, which can be solved by replacing the device.
- the detection principle of the speaker circuit is basically the same as that of the receiver circuit, except that the position of the MIC conversion board needs to be changed to match the position of the speaker.
- the detection principle of the earphone receiver circuit is basically the same as that of the mobile receiver circuit.
- the input sine wave signal path can be the earphone MIC circuit or the mobile phone MIC circuit.
- the MIC circuit detecting module 10 may further include: a sine wave synchronous loop 102.
- the sine wave synchronization loop 102 is configured to recover the frequency and phase of the sine wave signal from the received signal by using a variable frequency interpolation algorithm, and obtain the amplitude of the sine wave signal when the signal eye pattern is maximum .
- the MIC circuit detection module 10 uses a sine wave synchronization algorithm circuit, and the step size can be adjusted according to the frequency of the input signal by the AT command, thereby accelerating the convergence speed. In general, it can converge within 20 sine wave periods and find its amplitude value. This allows you to test with signals of different frequencies.
- the sine wave synchronization loop 102 may further include: an interpolator 1020, configured to extract each cycle of the signal received from the sine wave synchronization loop after the sine wave synchronization loop is locked The two data are sent to the clock error detector 1022.
- a clock error detector 1022 is configured to extract errors from three consecutive data inputs of the interpolator and send them to the loop filter 1024.
- the loop filter 1024 is configured to determine the step update amount of the numerically controlled oscillator by using the above error.
- the controller 1026 includes a numerically controlled oscillator (NCO) 10260 and a fractional interval calculator 10262.
- NCO numerically controlled oscillator
- the numerically controlled oscillator 1028 is used to perform the superposition calculation to obtain the step size by using the step update amount, and to use the step size to perform the subtraction calculation overflow generation clock to obtain the interpolation base point.
- a fractional interval calculator 1030 is used to determine the fractional interval between the optimal interpolation time and the base point using the interpolation base point and the similar triangle principle, and feed back to the interpolator.
- the interpolator 1020 interpolator usually uses a Far row structure, and can be further divided into a linear structure, a segmented parabolic structure, a cubic Farrow structure, and a cubic direct structure.
- the linear structure interpolator is the simplest, and the cubic type filtering performance is the best.
- performance improvements are often at the expense of resource consumption, taking into account the implementation of algorithms within the handset.
- y(n) (farrow ⁇ xu k + farrow2)xu k + farrow3 where is the interpolation base point, indicating interpolation at this moment; the fractional interval between the optimal interpolation time and the base point.
- the magnitude of m k sum is generated and corrected by the controller.
- one of the two points (or 3 ) is the best observation point (ie, the highest or lowest point of the sine wave, the value is also the sine wave amplitude), and the other is the two most
- the sampling point between the good observation points should be fluctuating around the fixed amplitude, so that the average value of the error is zero, and the loop converges; when the sine wave period of the loop estimation is smaller than the actual period, the average value of the error is A negative value causes the step update amount generated by the loop filter to be a negative value, and the interpolation period generated by the loop becomes smaller in the next calculation; conversely, when the loop estimated sine wave period is greater than the actual period, the next calculation The interpolation period generated by the loop is made larger. Thereby the capture and tracking of the sine wave period is achieved. Similarly, when the captured phase lead and lag are also caused, the step size w_ds(n) is changed until the last frequency and phase are the same.
- Loop filter 1024 uses an ideal first-order integration filter to generate the step update of the numerically controlled oscillator using the clock error, which is used by the timing synchronization control module, and the time domain of the loop filter.
- the value calculated by the filter formula needs to be set according to the convergence speed and convergence stability.
- the controller is a circuit dedicated to generating a sine wave clock signal and providing an interpolated fractional interval.
- the function of the numerically controlled oscillator 10260 is to perform a subtraction overflow to generate a clock, that is, to interpolate the base point ⁇ ; the function of the fractional interval calculator 10262 is to calculate 3 ⁇ 4 and provide it to the interpolator.
- w(n + 1) w(n) + w _ dis(n)
- the working process of the numerically controlled oscillator, the duty cycle of the numerically controlled oscillator is The period of the interpolation; the period of the interpolator is 7; (because 2 points are inserted in one sine wave period, the interpolator period; half of the sine wave period;).
- the AT command is input to the mobile phone through the USB port, and the step size is adjusted to achieve faster convergence.
- a sine wave is sampled through the MIC circuit and then through such a loop, the highest or highest point of each waveform, that is, the amplitude information, can be extracted.
- the amplitude information can be used to determine whether the sensitivity of the MIC and the uplink analog gain are appropriate, whether adjustment is needed, or direct feedback of the uplink gain calibration fails. By checking the value of the group, you can judge whether harmonics or distortion appear, and if there is distortion and clipping, ⁇ will violently shake. In addition, if the frequency of the input sine wave is different, it is better to set the initial value of the "at" command, which can speed up the convergence.
- the clock T for generating data after convergence should be 2 ⁇ //. , ⁇ indicates the sampling frequency, /. To input the sine wave frequency, it is also possible to determine whether distortion and clipping have occurred.
- FIG. 5 is a flowchart of an audio detecting method according to an embodiment of the present invention.
- the audio detection method includes the following steps: Step S502: Acquire an amplitude and a frequency of a sine wave signal after the MIC circuit is sampled. Step S504, determining that the MIC circuit is qualified according to the amplitude and the frequency. Step S506, the amplitude of the sine wave signal is amplified and sent to the sounding circuit. Step S508, after the output signal of the sounding circuit is sampled, the amplitude and frequency of the output signal are analyzed and processed to determine whether the sounding circuit is qualified.
- Step S502 Acquire an amplitude and a frequency of a sine wave signal after the MIC circuit is sampled.
- Step S504 determining that the MIC circuit is qualified according to the amplitude and the frequency.
- Step S506 the amplitude of the sine wave signal is amplified and sent to the sounding circuit.
- Step S508 after the output signal of the sounding circuit is sampled, the amplitude and frequency of the output signal are analyzed and processed to determine whether the sounding
- determining the MIC circuit to pass the test according to the above amplitude and the frequency may include the following processing: determining that the MIC circuit passes the test when the ratio of the amplitude to the predetermined standard value is less than the first threshold and the frequency is not distorted.
- determining the MIC circuit to pass the determination according to the amplitude and the frequency may further include: processing, when the ratio of the amplitude to the predetermined standard value is greater than the first threshold and less than the second threshold, adjusting an uplink gain value of the MIC circuit until the ratio is Less than the first threshold, wherein the number of times the uplink gain of the MIC circuit is adjusted does not exceed a predetermined number of times.
- determining the MIC circuit to pass the test according to the amplitude and the frequency may further include the following processing: determining that the MIC circuit fails to pass when the ratio of the amplitude to the predetermined standard value is greater than the second threshold. 4 4- ⁇ ⁇ r VM C ⁇ n 47 ⁇ - ⁇ . (1) recovering the frequency and phase of the sine wave signal from the received signal using a variable frequency interpolation algorithm;
- the MIC channel of the mobile phone can be used to detect the receiver channel of the earphone, the MIC channel of the earphone is detected by the receiver channel of the mobile phone, and the MIC channel of the earphone is detected by the speaker channel.
- the above pairing path has only one device sounding at each moment in the speaker. The mutual interference between the sounds can be avoided as much as possible.
- the preferred detection process of the handset MIC channel to the receiver receiver channel is described below with reference to FIG. 6 is a flow chart of an audio detection method in accordance with a preferred embodiment of the present invention. As shown in FIG.
- the audio detection method can be divided into two parts as a whole: the detection of the mobile phone MIC circuit and the detection of the earphone receiver circuit.
- the method mainly includes the following processing: Step S602: First fix the mobile phone into the speaker, and connect the USB data cable. Using a computer to output a fixed frequency sinusoidal signal through a small power amplifier and a speaker; Step S604: The MIC circuit of the mobile phone picks up the sine wave; Step S606: Converting to a digital signal input to the DBB chip through ABB; Step S608: In the DBB chip The position of the highest point and the lowest point is found by the sine wave synchronization algorithm to determine the amplitude range.
- Step S610 If the difference between the amplitude range and the ratio range measured by the standard mobile phone is small (less than 1.5 dB), it is considered that there is no problem in the mobile phone, and the ' ⁇ ' prompt is output through the USB port; Step S612: Determine whether the amplitude range is within a certain range. For example, if the range of the amplitude and the range measured by the standard mobile phone are large (more than 6 dB), it is considered that the mobile phone has an uncorrectable problem, and the error is output through the USB port.
- Step S614 Improve by adjusting the gain in ABB, a total of The loop is modified 3 to 5 times. If the improvement is successful, the "OK" prompt is output through the USB port. If it is unsuccessful, an error message is returned.
- Step S616 judging whether a frequency distortion occurs by using a period calculated in the sine wave synchronization algorithm, and outputting the result to the computer through the USB port.
- Step S618 If the MIC circuit detection has been completed, and the detection has no problem, the input sine wave is amplified to a fixed amplitude and output from the receiver;
- Step S620 The device is sampled onto the computer through the conversion board with the MIC ( Note that the conversion board should maintain a fixed macro and direction with the receiver. Calculate its amplitude range by computer and test whether it has clipping by doing FFT changes. If the calculated amplitude does not meet the requirements, the downlink gain can also be modified by the AT command to make appropriate adjustments. In general, there is less difference in receiver sensitivity between mobile phones. The main problem is that the receiver has obvious clipping and noise, which is usually solved by replacing the device.
- an audio test item is added in the production test, and the audio channel is completely detected by a simple device, and the hardware and device problems on the mobile phone device are eliminated as much as possible, thereby reducing user complaints.
- the sine wave synchronization algorithm can quickly and accurately find the amplitude of the input signal, the calculation amount is very small, and the stability is high, and the occupied mobile phone resources are also less, which is convenient to implement.
- the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices.
- the computing device may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
- the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module.
- the invention is not limited to any specific combination of hardware and software.
- the above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the scope of the present invention are intended to be included within the scope of the present invention.
Landscapes
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Otolaryngology (AREA)
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明公开了一种音频检测装置及方法,应用于移动终端及其耳机,移动终端及其耳机均包括:MIC电路和发声电路,其中,该装置包括:MIC电路检测模块和发声电路检测模块;MIC电路检测模块,用于获取MIC电路采样后的正弦波信号的幅度与频率,根据幅度与频率确定MIC电路是否合格,并输出正弦波信号;发声电路检测模块包括:具有MIC电路的转换板以及处理器;转换板,用于采样发声电路输出的模拟信号,并将模拟信号转换为数字信号,发送至处理器;处理器,用于对数字信号的幅度与频率进行分析处理,判断发声电路是否合格。根据本发明提供的技术方案,可以克服移动终端的音频模块存在的质量问题,减少用户投诉,提高客户的满意度。
Description
音频检测装置及方法 技术领域 本发明涉及通信领域, 具体而言, 涉及一种音频检测装置及方法。 背景技术 随着移动终端 (例如, 手机) 成本的不断降氏、 发货量的不断增大, 手 机之间在音频模块上也存在一定差异, 甚至极少数手机在器件和硬件电路上 存在严重的质量问题, 这就需要在生产环节来进行检测和校准。 主要存在以 下两类问题: 第一类问题是硬件或者器件本身存在明显问题。 例如, 听筒 (receiver ) 发声失效, 总是出现咕咕的杂音; 麦克风 (MIC ) 音量非常小, 导致对方根 本无法听清楚。 这样的手机如果散布到用户手中会导致用户投诉。 所以要在 生产过程中, 直接将此类问题手机剔除, 或者直接更换器件。 第二类问题是由于器件本身存在波动, 导致一些参数在某些手机上设置 不合适, 就需要更新其音频参数。 例如, MIC由于器件原因导致灵敏度有正 负 3dB的差异,这样一正一负就会有 6dB的差异。如果不改变上行模拟增益, 会导致上行音量因为个体差异而使得音量偏大或者偏小, 如果偏大的话, 加 之由于环境影响导致用户嗓门较大说话时, 就会导致上行破音非常明显, 从 而导致用户体 -险降氐。 为了解决此类问题需要在生产测试中加入音频测试项, 对于出现第一种 问题的手机进行剔除, 对于第二种问题的手机进行自动参数修改。 发明内容 针对相关技术中由于移动终端的音频模块存在质量问题, 导致用户投诉 的问题, 本发明提供了一种移动终端的音频检测方法及装置, 以解决上述问 题。 才艮据本发明的一个方面, 提供了一种音频检测装置。
根据本发明的音频检测装置, 应用于移动终端及其耳机, 移动终端及其 耳机均包括: 麦克风 MIC电路和发声电路, 其中, 音频检测装置包括: MIC 电路检测模块和发声电路检测模块; MIC 电路检测模块, 用于获取 MIC 电 路釆样后的正弦波信号的幅度与频率,根据幅度与频率确定 MIC电路是否合 格, 并输出正弦波信号; 发声电路检测模块包括: 具有 MIC电路的转换板以 及处理器; 转换板, 用于釆样发声电路输出的模拟信号, 并将模拟信号转换 为数字信号, 发送至处理器; 处理器, 用于对数字信号的幅度与频率进行分 析处理, 判断发声电路是否合格。 根据本发明的一个方面, 提供了一种音频检测方法。 居本发明的音频检测方法, 应用于移动终端及其耳机, 移动终端及其 耳机均包括: 麦克风 MIC 电路和发声电路, 其中, 该方法包括: 获取 MIC 电路釆样后的正弦波信号的幅度与频率;根据幅度与频率确定 MIC电路是否 合格, 并输出正弦波信号; 放大正弦波信号的幅度并发送至发声电路; 在发 声电路的输出信号釆样后, 对输出信号的幅度与频率进行分析处理, 判断发 声电路是否合格。 通过本发明, 提供了一种音频检测装置, 主要包括: MIC电路检测模块 和发声电路检测模块, 釆用该装置对处于生产过程中的移动终端及其耳机的 音频模块( MIC电路和发声电路) 的质量进行检测, 克服了移动终端的音频 模块存在的质量问题, 减少了用户投诉, 提高了客户的满意度。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部 分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的 不当限定。 在附图中: 图 1是根据本发明实施例的音频检测装置的结构框图; 图 2是 居本发明优选实施例的音频检测装置的结构框图; 图 3是根据本发明优选实施例的正弦波同步环路的详细结构框图; 图 4是根据本发明实施例的计算分数间隔的示意图; 图 5是根据本发明实施例的音频检测方法的流程图;
图 6是才艮据本发明优选实施例的音频检测方法的流程图。 具体实施方式 下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在 不冲突的情况下, 本申请中的实施例及实施例中的特征可以相互组合。 图 1是根据本发明实施例的音频检测装置的结构框图。 如图 1所示, 根 据本发明实施例的音频检测装置包括: MIC 电路检测模块 10和发声电路检 测模块 12。 其中, 发声电路检测模块 12可以进一步包括: 具有 MIC电路的 转换板 122以及处理器 124。
MIC电路检测模块 10, 用于获取 MIC电路釆样后的正弦波信号的幅度 与频率, 根据幅度与频率确定 MIC电路检测是否合格, 并输出正弦波信号。 转换板 122 , 用于釆样发声电路输出的模拟信号, 并将模拟信号转换为 数字信号, 发送至处理器; 处理器 124 , 用于对接收到的信号的幅度与频率进行分析处理, 判断该 发声电路是否合格。 通过上述装置即可将音频通路完全地检测一遍, 排除硬件或器件有问题 的移动终端。 从而避免了用户投诉, 提高了客户的满意度。 其中, 上述 MIC电路检测模块 10可以为以下至少之一: 移动终端 MIC电路检测模块, 用于获取 MIC电路釆样后的正弦波信号 的幅度与频率, 其中, 输入到 MIC电路的正弦波信号为来自于消音箱内部喇 八的模拟信号。 耳机 MIC电路检测模块, 用于获取 MIC电路釆样后的正弦波信号的幅 度与频率, 其中, 输入到耳机 MIC电路的正弦波信号为来自于处理器的电信 号。 其中, 上述发声电路检测模块 12可以为以下至少之一: 移动终端听筒电路检测模块、 扬声器电路检测模块、 耳机听筒电路检测 模块。
优选地, MIC电路检测模块, 还用于在幅度与预定标准值的比值小于第 一阈值且所述频率未发生失真时, 确定 MIC电路检测合格。 优选地, 在音频检测过程中, 上述 MIC电路检测模块, 还用于在幅度与 预定标准值的比值大于第一阈值且小于第二阈值时,调节 MIC电路的上行增 益直至比值小于第一阈值, 其中, 调节 MIC电路的上行增益的次数不超过预 定次数。 优选地, 在音频检测过程中, 上述 MIC电路检测模块, 还用于在幅度与 预定标准值的比值大于第二阈值时, 确定 MIC电路检测不合格。 在优选实施过程中, 可以使用电脑通过小型功放和喇叭输出一个固定频 率的正弦信号, 手机的 MIC 电路釆样到这个正弦波信号后, 通过模拟基带 ( analog base band, 简称为 ABB ) 芯片转换为成数字信号输入给数字基带 ( digital base band, 简称为 DBB ) 芯片, MIC电路检测模块 10通过正弦波 同步算法找到其最高点和最氐点的位置, 从而判断出其幅度范围。 如果幅度 范围和标准手机测量出来的比值范围差距较小 (例如, 小于 1.5dB ), 就认为 此部手机没有出现质量问题, 通过 USB 口输出 "OK" 提示; 如果幅度范围 和标准手机测量出来的范围差 3巨较大(例如, 大于 6dB ), 就认为 jt匕部手机出 现了无法修正的问题, 通过 USB口输出 "错误" 提示, 这时可能出现了器件 或者硬件电路问题;如果幅度和标准手机测量出来的范围差距在 1.5dB和 6dB 之间, 就通过调节 ABB 中的上行增益进行改善, 总共可以循环 4爹改预定次 数(例如, 3〜5次), 改善成功则通过 USB口输出 'ΌΚ" 提示, 不成功则返 回错误信息。 通过正弦波同步算法中计算出来的周期来判断是否出现了频率 失真, 通过 USB口输出结果给计算机。 同样, 耳机 MIC电路的检测与手机 MIC电路的检测基本原理相同。 但 是, 输入到耳机 MIC电路的正弦波信号为来自于处理器 (例如, PC机) 的 一个固定频率正弦波电信号。 在优选实施过程中, 在耳机 MIC电路检测已经完成, 而且检测没有问题 的情况下, 还可以釆用一个幅度放大电路将此输入正弦波放大到一个固定的 幅度从手机听筒 (receiver ) 输出出来, 通过带 MIC的转换电路板 122将其 釆样到计算机上 (注意这时转换电路板应该和 receiver保持一个固定的距离和 方向), 通过处理器 124 (例如, 计算机)计算其幅度范围, 通过故 FFT变化 测试其是否出现了削波。 如果计算出幅度没有达到要求, 也可以通过 AT命
令的方式修改下行增益来进行适当调整。 一般手机出现 receiver灵敏度差异 的情况较少, 主要问题是 receiver 出现明显削波和杂音, 一般可以通过更换 器件来解决。 同样, 扬声器 (speaker ) 电路的检测原理和手机 receiver电路的检测原 理是基本一致的, 只不过带 MIC 转换电路板的位置需要发生改变, 要和 speaker的位置保持一致。 耳机 receiver电路的检测原理和手机 receiver电路 的检测原理也是基本一致的, 输入的正弦波信号的通路可以是耳机 MIC 电 路, 也可以是手机 MIC电路。 通过上述优选技术方案, 不但可以排除硬件和器件有问题的移动终端, 还可对那些非硬件和器件有问题而是音频参数不正确的移动终端进行校准, 使其成为合格的移动终端, 大大的降低生产成本。 优选地, 如图 2所示, MIC电路检测模块 10还可以进一步包括: 正弦 波同步环路 102。 优选地, 正弦波同步环路 102 , 用于釆用可变频率的内插算法从接收到 的信号中恢复正弦波信号频率和相位, 在信号眼图最大时釆样以获取正弦波 信号的幅度。 在优选实施过程中, MIC电路检测模块 10釆用了正弦波同步算法电路, 可以通过 AT命令根据输入信号的频率来调整其步长, 从而加快收敛速度。 一般情况下, 在 20 个正弦波周期内就可以收敛, 找到其幅度值。 这样就可 以釆用不同频率的信号来进行测试。 图 3是根据本发明优选实施例的正弦波同步环路的详细结构框图。 如图 3所示, 上述正弦波同步环路 102可以进一步包括: 内插器 1020, 用于在正弦波同步环路锁定后, 从该正弦波同步环路接收 到的信号的每个周期中抽取两个数据并发送至时钟误差检测器 1022。 时钟误差检测器 1022 , 用于根据内插器输入的三个连续数据提取误差并 发送至环路滤波器 1024。 环路滤波器 1024 , 用于釆用上述误差确定数控振荡器的步长更新量。
控制器 1026 , 包括:数控振荡器( NCO ) 10260和分数间隔计算器 10262。 数控振荡器 1028 , 用于釆用步长更新量进行叠加计算获取步长, 并釆用 步长进行减法计算溢出产生时钟以获取内插基点。 分数间隔计算器 1030 , 用于使用内插基点以及相似三角形原理确定最佳 内插时刻与基点之间的分数间隔, 并反馈至内插器。 以下详细描述上述各个器件。
( 1 ) 内插器 1020 内插器通常釆用 Far row结构, 又可以进一步分为线性结构、分段抛物线 结构、 三次 Farrow结构、 三次直接型结构。 其中, 线性结构插值器最简单, 三次型滤波性能最好。 然而, 性能的改善通常以资源的消耗为代价, 考虑到要在手机内部实现 算法。 内插器一般可以釆用参数 α = 0.5的四点分段抛物线插值滤波器, 因为 其抽头系数可分解为 0.5或者 1 , 软件实现只用到了 2 次乘法器, 其余都是 加法和位移操作,而且抛物线插值滤波器的性能基本上可以满足精度的要求, 表示公式如下: farrowl = 0.5x(mk + 2) - 0.5x(mk + 1) - 0.5x(mk ) + 0.5x(mk - 1)
= { + 2) + x(mk - 7)] - ix(mk + x(mk )] }
farrowl = 1.5x(mk + \) - 0.5x(mk + 2) - 0.5x(mk) - 0.5x(mk - 1)
farrow3 = x(mk )
y(n) = (farrow\ xuk + farrow2)xuk + farrow3 其中, 为内插基点,表示在该时刻进行内插; 为最佳内插时刻与基 点之间的分数间隔。 mk和 的大小都是由控制器进行控制产生并修正的。
( 2 ) 时钟误差检测器 1022 当环路锁定后, 内插器 1020从一个波形周期内从数据中抽取两个数据, 交给时钟误差检测器 1022进行误差提取。 时钟误差提取公式如下:
error =
- yx) 其中, yl , y2, y3是内插输出的连续 3个数据。 每个周期内需要釆样两个点。 如果环路已经收敛, 则此两个点中一个 1 (或 3 )是最佳观察点(即正弦波的最高点或者最低点,其值也就是正弦波 幅度), 另一个: 是两个最佳观察点之间的釆样点, 此时应该是在固定幅度 附近波动, 这样误差的平均值为零, 环路收敛; 当环路估计的正弦波周期小 于实际周期时, 误差的平均值为负值, 使得环路滤波产生的步长更新量 为负值, 下次计算时使得环路产生的插值周期变小; 反之, 当环路 估计的正弦波周期大于实际周期时, 下次计算时使得环路产生的插值周期变 大。 从而实现正弦波周期的捕获和艮踪。 同样当捕获的釆样相位超前和滞后 也同样会导致步长 w_ds(n)改变, 直到最后频率和相位都一致。
( 3 ) 环路滤波器 1024 环路滤波器 1024 釆用理想一阶积分滤波器, 利用时钟误差产生数控振 荡器的步长更新量, 输给定时同步控制模块使用, 环路滤波器的时域递归方 程为: w _ dis(n) = w _ dis{n - 1) + ci * [error (n) - error (n - 1)] + C2 * error (n) 其中, 、 可以通过一些二阶滤波器公式计算出来的, 需要根据收敛 速度和收敛稳定性设置此值。
( 4 )控制器 1026 控制器是专门用于产生正弦波时钟信号和提供内插分数间隔的电路。 其 中, 数控振荡器 10260 的功能是进行减法运算溢出产生时钟,也就是内插基 点^ ; 分数间隔计算器 10262的功能是计算出¾ , 提供给内插器。 在进行以 上运算之前, 还要计算步长, 公式如下: w(n + 1) = w(n) + w _ dis(n)
数控振荡器是一个累加(减)器, 其差分方程为: η(τη + ϊ) = [rj(m) - w(n)] mod 1 数控振荡器的工作过程, 数控振荡器的工作周期为釆样周期 ;, 内插器 的周期为 7; (因为要在一个正弦波周期内插入 2个点, 所以内插器周期 ;为正 弦波周期 ;的一半)。 收敛后步长 w(m)- 。
假设 77(1) = 0.9, 并且在一个正弦波频率为 ΙΚΗζ, 釆样频率为 8KHz, 即一 个周期内釆样 8个点则 =丄 Γ, T =-T, W(l) = ^x— = 0.25 , 那么可以得到
2 8 Τ Ί] η(2) = [77(1) - w(\)] mod 1 = 0.65 , 77(3) = [η(2) - w(\)] mod 1 = 0.4 ,
77(4) = [77(3) - w(\)] mod 1 = 0.15 , (5) = [η(4) - w(\)] mod 1 = (0.15 _ 025) mod 1 = 0.9可 以看出在第 4到第 5点时; 7溢出, 所以第 4点为基准点, 才艮据相邻的第 3、 4、 5、 6点进行内插计算。 具体可以参见图 4, 利用相似三角形原理, 可得到:
ri{mk) 1-^ +l) 可以解出:
,, _ ^7 ) _ w )
i-^ +i)+^ ) Hk) 其中, ιΗΑ)步长只有在一个正弦波周期后才发生改变, 而且除法运算设 计非常复杂, 大致的频率都是已知的。 所以 通常可以用内插器周期大致 的釆用点数来确定, 例如, 上式可以设置 1 ^) = 0.25, 则 =4;;( ¾), 其中此 步长值可以根据输入信号的频率, 使用 AT命令通过 USB口输入给手机, 调 整其步长, 从而更快的收敛。
一个正弦波通过 MIC 电路被釆样到后通过如此环路就可以提取出来每 个波形的最高点或者最氏点, 也就是幅度信息。 通过幅度信息可以判断 MIC 的灵敏度和上行模拟增益是否合适, 是否需要调整, 或者直接反馈上行增益 校准失败。 通过查看若千组》的值可以判断是否出现了谐波或者失真, 如果 出现了失真和削波情况, 》会剧烈抖动。 另外如果输入的正弦波的频率不同, 最好可以通过 at命令设定》的初始值, 这样可以加快收敛速度。 其中收敛后 的产生数据的时钟 T应该为 2^//。, ^表示釆样频率, /。为输入正弦波频率, 也可以由此值来判断是否出现了失真和削波情况。 图 5是根据本发明实施例的音频检测方法的流程图。 如图 5所示, 根据 本发明实施例的音频检测方法包括以下步骤: 步骤 S502, 获取 MIC电路釆样后的正弦波信号的幅度与频率。 步骤 S504, 根据上述幅度与上述频率确定 MIC电路检测合格。 步骤 S506, 放大上述正弦波信号的幅度并发送至发声电路。 步骤 S508, 在发声电路的输出信号釆样后, 对输出信号的幅度与频率进 行分析处理, 判断发声电路是否合格。 釆用这种方案后可以使用最简单的设备将音频通路完全的检测一遍, 尽 量排除手机设备上硬件和器件问题, 减少用户投诉。 优选地,根据上述幅度与上述频率确定 MIC电路检测合格可以包括以下 处理: 在幅度与预定标准值的比值小于第一阈值且频率未发生失真时, 确定 MIC电路检测合格。 优选地,根据上述幅度与上述频率确定 MIC电路检测合格还可以包括以 下处理: 在幅度与预定标准值的比值大于第一阈值且小于第二阈值时, 在调 节 MIC电路的上行增益值直至上述比值小于第一阈值, 其中, 调节 MIC电 路的上行增益的次数不超过预定次数。 优选地,根据上述幅度与上述频率确定 MIC电路检测合格还可以包括以 下处理: 在幅度与预定标准值的比值大于第二阈值时, 确定 MIC电路检测不 合格。 4 4-Λ ^r VM C ^n 47 ^- ί田 .
( 1 ) 釆用可变频率的内插算法从接收到的信号中恢复正弦波信号频率 和相位;
( 2 ) 在信号眼图最大时釆样以获取正弦波信号的幅度。 由于在釆样到正弦信号后, 极有可能釆样到的不是最高点也就是不能直 接找到幅度值。 但是, 釆用一种算法通过正弦波同步环路加以实现可以找到 输入信号的幅度。 釆用此算法, 可以在正弦信号 20 个周期内找到相应的幅 度值, 在速度和计算量上相对偏小, 而且可以通过 USB口的 AT命令来控制 改变步长从而实现多个频点测量。 因而, 正弦波同步环路主要完成的功能是从接收信号中恢复出正弦波时 钟速率和相位, 使其在信号眼图最大时进行釆样, 而且要支持可变频率的内 插。 正弦波同步环路的详细构造具体可以参见图 3 , 此处不再赞述。 上面提到可以釆用不同频率的信号来进行测试。 例如, 可以釆用手机 MIC通道到耳机 receiver通道进行检测、 耳机 MIC通道到手机 receiver通道 进行检测、 耳机 MIC通道到 speaker通道进行检测, 上述配对通路, 在消音 箱中每一时刻只有一个器件发声, 可以尽量避免声音之间的相互千扰, 以下 结合图 6描述手机 MIC通道到耳机 receiver通道的优选检测过程。 图 6是根据本发明优选实施例的音频检测方法的流程图。 如图 6所示, 该音频检测方法从整体上可以分为两部分: 手机 MIC 电路的检测和耳机 receiver电路的检测。 该方法主要包括以下处理: 步骤 S602: 先将手机放入消音箱中固定好, 连接好 USB数据线。 使用 电脑通过小型功放和喇叭输出一个固定频率的正弦信号; 步骤 S604: 手机的 MIC电路釆样这个正弦波; 步骤 S606: 通过 ABB转换为成数字信号输入给 DBB芯片; 步骤 S608: 在 DBB芯片中通过正弦波同步算法找到其最高点和最低点 的位置, 从而判断出其幅度范围。 步骤 S610: 如果幅度范围和标准手机测量出来的比值范围差距较小(小 于 1.5dB), 就认为此部手机没有出现问题, 通过 USB口输出 'ΌΚ" 提示;
步骤 S612: 判断幅度范围是否在一定范围内, 例如, 如果幅度范围和标 准手机测量出来的范围差距较大(大于 6dB), 就认为此部手机出现了无法修 正的问题, 通过 USB口输出 "错误" 提示, 这时可能出现了器件或者硬件电 路问题; 如果幅度和标准手机测量出来的范围差距在 1.5dB和 6dB之间, 执 行步骤 S614; 步骤 S614: 通过调节 ABB 中的增益进行改善, 总共可以循环修改 3〜5 次, 改善成功则通过 USB口输出 "OK" 提示, 不成功则返回错误信息。 步骤 S616:通过正弦波同步算法中计算出来的周期来判断是否出现了频 率失真, 通过 USB口输出结果给计算机。 步骤 S618: 如果 MIC 电路检测已经完成, 而且检测没有问题, 则将此 输入正弦波放大到一个固定的幅度从 receiver输出出来; 步骤 S620: 通过带 MIC的转换电路板将其釆样到计算机上 (注意这时转 换电路板应该和 receiver保持一个固定的 巨离和方向), 通过计算机计算其幅 度范围, 通过做 FFT变化测试其是否出现了削波。 如果计算出幅度没有达到 要求, 也可以通过 AT 命令修改下行增益来进行适当调整。 一般手机出现 receiver灵敏度差异的情况较少, 主要问题是 receiver出现明显削波和杂音, 一般都是通过更换器件来解决。 综上所述, 借助本发明提供的上述实施例, 在生产测试中加入音频测试 项, 使用简单的设备将音频通路完全的检测一遍, 尽量排除了手机设备上硬 件和器件问题, 减少了用户投诉。 并且釆用正弦波同步算法可以快速准确找 到输入信号的幅度, 计算量非常小, 而且稳定性较高, 所占用的手机资源也 较少, 实现起来比较方便。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可 以用通用的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布 在多个计算装置所组成的网络上, 可选地, 它们可以用计算装置可执行的程 序代码来实现, 从而, 可以将它们存储在存储装置中由计算装置来执行, 并 且在某些情况下, 可以以不同于此处的顺序执行所示出或描述的步骤, 或者 将它们分别制作成各个集成电路模块, 或者将它们中的多个模块或步骤制作 成单个集成电路模块来实现。 这样, 本发明不限制于任何特定的硬件和软件 结合。
以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本 领域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的 ^"神和 原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护 范围之内。
Claims
1. 一种音频检测装置, 应用于移动终端及其耳机, 所述移动终端及其耳机 均包括: 麦克风 MIC电路和发声电路, 其特征在于, 所述音频检测装置 包括: MIC电路检测模块和发声电路检测模块;
所述 MIC电路检测模块, 用于获取所述 MIC电路釆样后的正弦波 信号的幅度与频率, 根据所述幅度与所述频率确定 MIC电路是否合格, 并输出所述正弦波信号;
所述发声电路检测模块包括: 具有 MIC电路的转换板以及处理器; 所述转换板, 用于釆样所述发声电路输出的模拟信号, 并将所述模 拟信号转换为数字信号, 发送至所述处理器;
所述处理器, 用于对所述数字信号的幅度与频率进行分析处理, 判 断所述发声电路是否合格。
2. 根据权利要求 1所述的装置, 其特征在于,
所述 MIC电路检测模块,还用于在所述幅度与预定标准值的比值小 于第一阈值且所述频率未发生失真时, 确定所述 MIC电路检测合格。
3. 根据权利要求 2所述的装置, 其特征在于,
所述 MIC电路检测模块,还用于在所述幅度与预定标准值的比值大 于所述第一阈值且小于第二阈值时, 调节所述 MIC电路的上行增益, 直 至所述比值小于所述第一阈值, 其中, 调节所述 MIC电路的上行增益的 次数不超过预定次数。
4. 根据权利要求 3所述的装置, 其特征在于,
所述 MIC电路检测模块,还用于在所述幅度与预定标准值的比值大 于所述第二阈值时, 确定所述 MIC电路检测不合格。
5. 根据权利要求 1所述的装置, 其特征在于, 所述 MIC电路检测模块为以 下至少之一: 移动终端 MIC电路检测模块, 用于获取所述 MIC电路釆样后的正 弦波信号的幅度与频率, 其中, 输入到所述 MIC电路的正弦波信号为来 自于消音箱内部喇 p八的模拟信号;
耳机 MIC电路检测模块, 用于获取所述 MIC电路釆样后的正弦波 信号的幅度与频率, 其中, 输入到所述耳机 MIC电路的正弦波信号为来 自于处理器的电信号。
6. 根据权利要求 1所述的装置, 其特征在于, 所述发声电路检测模块为以 下至少之一:
移动终端听筒电路检测模块、 扬声器电路检测模块、 耳机听筒电路 检测模块。
7. 根据权利要求 1所述的装置,其特征在于,所述 MIC电路检测模块包括: 正弦波同步环路, 用于釆用可变频率的内插算法从接收到的信号中恢复 正弦波信号频率和相位, 在信号眼图最大时釆样以获取所述正弦波信号 的幅度。
8. 根据权利要求 7所述的装置, 其特征在于, 所述正弦波同步环路包括: 内插器, 用于在所述正弦波同步环路锁定后, 从该正弦波同步环路 接收到的信号的每个周期中抽取两个数据并发送至时钟误差检测器; 所述时钟误差检测器, 用于根据所述内插器输入的三个连续数据提 取误差并发送至环路滤波器;
所述环路滤波器,用于釆用所述误差确定数控振荡器的步长更新量; 控制器, 包括: 所述数控振荡器和分数间隔计算器;
所述数控振荡器,用于釆用所述步长更新量进行叠加计算获取步长, 并釆用所述步长进行减法计算溢出产生时钟以获取内插基点;
所述分数间隔计算器, 用于使用所述内插基点以及相似三角形原理 确定最佳内插时刻与基点之间的分数间隔, 并反馈至所述内插器。
9. 一种音频检测方法, 应用于移动终端及其耳机, 其中, 所述移动终端及 其耳机均包括: 麦克风 MIC电路和发声电路, 其特征在于, 所述方法包 括:
获取所述 MIC电路釆样后的正弦波信号的幅度与频率; 根据所述幅度与所述频率确定所述 MIC电路是否合格,并输出所述 正弦波信号;
放大所述正弦波信号的幅度并发送至所述发声电路;
在所述发声电路的输出信号釆样后, 对所述输出信号的幅度与频率 进行分析处理, 判断所述发声电路是否合格。
10. 根据权利要求 9所述的方法, 其特征在于, 所述确定所述 MIC电路是否 合格包括以下之一:
在所述幅度与预定标准值的比值小于第一阈值且所述频率未发生失 真时, 确定所述 MIC电路检测合格;
在所述幅度与预定标准值的比值大于所述第一阈值且小于第二阈值 时, 调节所述 MIC电路的上行增益, 直至所述比值小于所述第一阈值, 其中, 调节所述 MIC电路的上行增益的次数不超过预定次数; 当调节成 功时, 则确定所述 MIC电路检测合格, 否则, 则确认所述 MIC电路检 测不合格;
在所述幅度与预定标准值的比值大于所述第二阈值时, 确定所述 MIC电路检测不合格。
11. 根据权利要求 9所述的方法, 其特征在于, 获取所述 MIC电路釆样后的 正弦波信号的幅度与频率包括:
釆用可变频率的内插算法从接收到的信号中恢复正弦波信号频率和 相位;
在信号眼图最大时釆样以获取所述正弦波信号的幅度。
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| EP10853481.9A EP2587842B1 (en) | 2010-06-23 | 2010-09-15 | Device and method for detecting tone frequency |
| US13/259,722 US9161146B2 (en) | 2010-06-23 | 2010-09-15 | Device and method for diagnosing audio circuitry |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201010217338.4 | 2010-06-23 | ||
| CN201010217338.4A CN101902677B (zh) | 2010-06-23 | 2010-06-23 | 音频检测装置及方法 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2011160342A1 true WO2011160342A1 (zh) | 2011-12-29 |
Family
ID=43227806
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2010/076971 Ceased WO2011160342A1 (zh) | 2010-06-23 | 2010-09-15 | 音频检测装置及方法 |
Country Status (4)
| Country | Link |
|---|---|
| US (1) | US9161146B2 (zh) |
| EP (1) | EP2587842B1 (zh) |
| CN (1) | CN101902677B (zh) |
| WO (1) | WO2011160342A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118471248A (zh) * | 2024-05-22 | 2024-08-09 | 广东保伦电子股份有限公司 | 一种正弦波音频处理方法及处理终端 |
Families Citing this family (20)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103179495B (zh) * | 2011-12-20 | 2016-12-21 | 比亚迪股份有限公司 | 移动终端的耳机麦克风和听筒的音频测试方法及系统 |
| CN102594382B (zh) * | 2012-02-10 | 2014-03-05 | 钱袋网(北京)信息技术有限公司 | 通信频率调整方法及终端设备 |
| CN102739472B (zh) * | 2012-06-29 | 2016-06-29 | 浪潮电子信息产业股份有限公司 | 一种服务器高频数据传输的稳定性测试方法 |
| CN103916506A (zh) * | 2012-12-31 | 2014-07-09 | 赛龙通信技术(深圳)有限公司 | 测试装置、移动终端音频自动测试系统及方法 |
| CN104105047A (zh) * | 2013-04-10 | 2014-10-15 | 名硕电脑(苏州)有限公司 | 音频检测装置及方法 |
| CN104167209B (zh) * | 2014-08-06 | 2017-06-13 | 华为软件技术有限公司 | 一种音频失真的检测方法及装置 |
| CN105263096A (zh) * | 2015-10-28 | 2016-01-20 | 宁波萨瑞通讯有限公司 | 一种检测音频器件的方法及装置 |
| CN105246015A (zh) * | 2015-11-11 | 2016-01-13 | 上海斐讯数据通信技术有限公司 | 一种电子设备及其扬声器音源的检测方法及系统 |
| CN105872182A (zh) * | 2016-03-31 | 2016-08-17 | 维沃移动通信有限公司 | 提高麦克风发送响度的方法及电子终端 |
| CN109391892B (zh) * | 2017-08-04 | 2022-03-18 | 中兴通讯股份有限公司 | 性能检测方法、装置及系统和移动终端 |
| CN107613446B (zh) * | 2017-09-27 | 2021-05-28 | 惠州Tcl移动通信有限公司 | 一种防止麦克风啸叫的检测方法、移动终端及存储介质 |
| CN108064347A (zh) * | 2017-11-28 | 2018-05-22 | 福建联迪商用设备有限公司 | 通讯模块的音频管脚测试方法及测试装置 |
| CN107995060B (zh) * | 2017-11-29 | 2021-11-16 | 努比亚技术有限公司 | 移动终端音频测试方法、装置以及计算机可读存储介质 |
| CN108924685B (zh) * | 2018-06-20 | 2020-04-10 | 歌尔股份有限公司 | 耳机及其按键音质检方法、装置、计算机可读存储介质 |
| CN111726740A (zh) * | 2019-03-22 | 2020-09-29 | 北京京东尚科信息技术有限公司 | 电子设备的测试方法和装置 |
| CN110049423A (zh) * | 2019-04-22 | 2019-07-23 | 福州瑞芯微电子股份有限公司 | 一种利用广义互相关和能量谱检测麦克风的方法和系统 |
| CN111836180A (zh) * | 2019-04-23 | 2020-10-27 | Oppo(重庆)智能科技有限公司 | 一种电子设备耳机功能测试系统以及测试方法 |
| CN112393799B (zh) * | 2019-08-16 | 2024-10-18 | 青岛海尔多媒体有限公司 | 远场语音设备检测的方法及装置、电视终端 |
| CN113596695A (zh) * | 2021-06-30 | 2021-11-02 | 惠州高盛达科技有限公司 | 基于fft算法的双mems麦克风自动检测方法及系统 |
| CN115835111A (zh) * | 2022-10-20 | 2023-03-21 | 武汉海微科技有限公司 | 信号检测电路、方法及设备 |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1838839A (zh) * | 2006-04-07 | 2006-09-27 | 清华大学 | 扬声器纯音检测方法 |
| CN101051456A (zh) * | 2007-01-31 | 2007-10-10 | 张建平 | 音频相位检测和自动校正设备 |
| CN101115329A (zh) * | 2006-07-28 | 2008-01-30 | 天津科技大学 | 基于时频分析的扬声器异音在线检测仪 |
| JP2009003162A (ja) * | 2007-06-21 | 2009-01-08 | Panasonic Corp | 力み音声検出装置 |
Family Cites Families (16)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US4346268A (en) * | 1981-01-30 | 1982-08-24 | Geerling Leonardus J | Automatic audiological analyzer |
| US4788708A (en) * | 1987-11-25 | 1988-11-29 | Tele-Technix, Inc. | Universal headset tester |
| US4782284A (en) * | 1988-01-12 | 1988-11-01 | Bsr North America Ltd. | Frequency analyzer |
| US5473683A (en) * | 1992-02-13 | 1995-12-05 | Northern Telecom Limited | Post assembly process for adjusting the gain of an electret microphone within a communications apparatus |
| US5581621A (en) * | 1993-04-19 | 1996-12-03 | Clarion Co., Ltd. | Automatic adjustment system and automatic adjustment method for audio devices |
| GB9622728D0 (en) * | 1996-10-31 | 1997-01-08 | Discovision Ass | Timing synchronization in a reciever employing orthogonal frequency division mutiplexing |
| US5943649A (en) * | 1997-10-29 | 1999-08-24 | International Business Machines Corporation | Configuring an audio interface for different microphone types |
| US8630423B1 (en) * | 2000-06-05 | 2014-01-14 | Verizon Corporate Service Group Inc. | System and method for testing the speaker and microphone of a communication device |
| US6925185B2 (en) * | 2001-08-23 | 2005-08-02 | Taky Electronics Co., Ltd. | Integrated device for testing tone quality of a plurality of microphones |
| US7548625B2 (en) * | 2002-11-29 | 2009-06-16 | Research In Motion Limited | System and method of audio testing of acoustic devices |
| US7593781B1 (en) * | 2003-02-05 | 2009-09-22 | American Megatrends, Inc. | Audio feedback test |
| AU2005202243A1 (en) * | 2004-05-24 | 2005-12-08 | Cochlear Limited | Stand Alone Microphone Test System for a Hearing Device |
| TW200915899A (en) * | 2007-09-19 | 2009-04-01 | Teco Elec & Machinery Co Ltd | Audio device and a method for detecting and adjusting a sound field thereof |
| CN101137250B (zh) * | 2007-10-08 | 2012-08-29 | 广东好帮手电子科技股份有限公司 | 一种车载音响自适应音场调节方法及装置 |
| CN101426167A (zh) * | 2007-10-30 | 2009-05-06 | 中兴通讯股份有限公司 | 音频的测试系统及方法 |
| US20090290729A1 (en) * | 2008-05-20 | 2009-11-26 | Fortemedia, Inc. | Categorization platform, method for categorization and method for microphone array manufacturing |
-
2010
- 2010-06-23 CN CN201010217338.4A patent/CN101902677B/zh not_active Expired - Fee Related
- 2010-09-15 EP EP10853481.9A patent/EP2587842B1/en not_active Not-in-force
- 2010-09-15 US US13/259,722 patent/US9161146B2/en not_active Expired - Fee Related
- 2010-09-15 WO PCT/CN2010/076971 patent/WO2011160342A1/zh not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1838839A (zh) * | 2006-04-07 | 2006-09-27 | 清华大学 | 扬声器纯音检测方法 |
| CN101115329A (zh) * | 2006-07-28 | 2008-01-30 | 天津科技大学 | 基于时频分析的扬声器异音在线检测仪 |
| CN101051456A (zh) * | 2007-01-31 | 2007-10-10 | 张建平 | 音频相位检测和自动校正设备 |
| JP2009003162A (ja) * | 2007-06-21 | 2009-01-08 | Panasonic Corp | 力み音声検出装置 |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118471248A (zh) * | 2024-05-22 | 2024-08-09 | 广东保伦电子股份有限公司 | 一种正弦波音频处理方法及处理终端 |
Also Published As
| Publication number | Publication date |
|---|---|
| US9161146B2 (en) | 2015-10-13 |
| EP2587842A1 (en) | 2013-05-01 |
| US20130108062A1 (en) | 2013-05-02 |
| CN101902677B (zh) | 2015-01-28 |
| EP2587842B1 (en) | 2016-08-10 |
| EP2587842A4 (en) | 2014-01-08 |
| CN101902677A (zh) | 2010-12-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN101902677B (zh) | 音频检测装置及方法 | |
| KR101116013B1 (ko) | 잡음 억압 장치, 잡음 억압 방법 및 휴대 전화기 | |
| JP5805365B2 (ja) | ノイズ推定装置及び方法とそれを利用したノイズ減少装置 | |
| CN107548564B (zh) | 一种语音输入异常的确定方法、装置、终端以及存储介质 | |
| US8848941B2 (en) | Information processing apparatus, information processing method, and program | |
| US8340333B2 (en) | Hearing aid noise reduction method, system, and apparatus | |
| EP3327932A1 (en) | Method and apparatus for adjusting sound field of earphone, terminal and earphone | |
| KR101253708B1 (ko) | 보청장치의 외부 소음을 차폐하는 방법 | |
| CN112073879A (zh) | 音频同步播放方法、装置、视频播放设备及可读存储介质 | |
| CN105843581B (zh) | 一种频响校正方法、服务器、终端设备及系统 | |
| WO2009116296A1 (ja) | 同期制御回路、及び映像表示装置 | |
| CN105744045A (zh) | 调节来电铃声音量的系统及方法 | |
| US10008997B2 (en) | Filter generator, filter generation method, and filter generation program | |
| US9961441B2 (en) | Near-end listening intelligibility enhancement | |
| KR20210119859A (ko) | 수신기의 샘플링 주파수 오프셋을 추정하는 방법, 및 연관 신호 처리 방법 및 수신기 | |
| CN117527497A (zh) | 频偏校准方法、装置、电子设备和存储介质 | |
| US9510122B2 (en) | Electronic device, and calibration system and method for suppressing noise | |
| CN113573205B (zh) | 信号处理方法、设备及计算机存储介质 | |
| CN105786443A (zh) | 一种频响校正方法、处理芯片及终端设备 | |
| CN105718162A (zh) | 一种横竖屏切换方法及装置 | |
| JP6102144B2 (ja) | 音響信号処理装置、方法及びプログラム | |
| JP2016163071A (ja) | 電子機器及び制御プログラム | |
| TWI519123B (zh) | 電話語音輸出之方法,用於電話語音之電腦程式產品及可撥打電話之電子裝置 | |
| JP6119336B2 (ja) | 周波数特性補正装置及びプログラム | |
| WO2014130360A1 (en) | System and method for performing frequency offset estimation |
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: 10853481 Country of ref document: EP Kind code of ref document: A1 |
|
| REEP | Request for entry into the european phase |
Ref document number: 2010853481 Country of ref document: EP |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2010853481 Country of ref document: EP |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 13259722 Country of ref document: US |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |