[go: up one dir, main page]

CN103442115A - Mobile phone frequency response automatic calibration system and automatic calibration method thereof - Google Patents

Mobile phone frequency response automatic calibration system and automatic calibration method thereof Download PDF

Info

Publication number
CN103442115A
CN103442115A CN2013103720739A CN201310372073A CN103442115A CN 103442115 A CN103442115 A CN 103442115A CN 2013103720739 A CN2013103720739 A CN 2013103720739A CN 201310372073 A CN201310372073 A CN 201310372073A CN 103442115 A CN103442115 A CN 103442115A
Authority
CN
China
Prior art keywords
frequency
mobile phone
signal
swept
frequency response
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.)
Granted
Application number
CN2013103720739A
Other languages
Chinese (zh)
Other versions
CN103442115B (en
Inventor
熊文波
张凯帆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
HANGZHOU AIHUA INSTRUMENTS CO Ltd
Original Assignee
HANGZHOU AIHUA INSTRUMENTS CO Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by HANGZHOU AIHUA INSTRUMENTS CO Ltd filed Critical HANGZHOU AIHUA INSTRUMENTS CO Ltd
Priority to CN201310372073.9A priority Critical patent/CN103442115B/en
Publication of CN103442115A publication Critical patent/CN103442115A/en
Application granted granted Critical
Publication of CN103442115B publication Critical patent/CN103442115B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)

Abstract

The invention discloses a mobile phone frequency response automatic calibration system and an automatic calibration method thereof. The mobile phone frequency response automatic calibration system comprises a voltage collection module, a radio frequency module and a master control module which are arranged in a mobile phone. The radio frequency module comprises a signal generator and a signal receiver, and the voltage collection module, the signal generator and the signal receiver are respectively and electrically connected with the master control module. The automatic calibration method includes the steps that an earphone output end is connected with a microphone input end through a calibration line, the signal generator gives out swept-frequency signals with the frequency ranging from 1.5kHz to 50Hz, the signal receiver receives the swept-frequency signals, fast Fourier transformation is carried out on the swept-frequency signals to find out swept-frequency signals with 1kHz frequency and record the sound level of the swept-frequency signals with 1kHz frequency, frequency sweeping continues to be conducted to seek out signals with the sound level lower than the 1kHz by 3dB to obtain cut-off frequency, sampling is carried out on original voltage of the microphone input end through the voltage collection module, the master control module conducts compensation calibration, and calibrated sound pressure is obtained by dividing the obtained compensating voltage via microphone sensitivity. The mobile phone frequency response automatic calibration system achieves self-calibration through a voice frequency opening input and output loop and has the advantages of being low in cost, good in effect and accurate in digital frequency response calibration.

Description

Mobile phone frequency response automated calibration system and automatic calibrating method thereof
Technical field
The present invention relates to communication technical field, refer in particular to a kind of mobile phone frequency response automatic calibrating method.
Background technology
In current most of mobile phones, the input characteristics of sound card lags far behind output-index, and therefore when with the mobile phone microphone, carrying out audio data collecting, low cut is serious, cause some measure apply in measurement data inaccurate.Traditional frequency response bearing calibration is to change the gain of corresponding band by some equalizing circuits, make that the frequency response peak value is suppressed and valley is raised, but need so complicated equalizing circuit, realize more difficult, the interior of mobile phone circuit is fixed in addition, and the method for employing modification circuits is proofreaied and correct frequency response and also is not suitable for.
The day for announcing is on September 29th, 2010, the patent document that notification number is CN101453782B has proposed a kind of AFC calibration steps and method of adjustment of mobile phone frequency, this invention is set one and is determined the tranmitting frequency error of mobile phone and the target linear function of linear AFC controlling value relation, utilize at least three AFC calibration values and corresponding tranmitting frequency error amount to set up the nonlinear function of the mapping relations of the actual AFC controlling value of a reflection and linear AFC controlling value, carrying out when frequency is adjusted first according to frequency error, obtaining linear AFC controlling value, and then try to achieve actual AFC controlling value according to described mapping relations.This invention can be calibrated the tranmitting frequency of mobile phone, saves the alignment time, improve calibration accuracy, but this invention can not be for the calibration of mobile phone frequency response simultaneously, and the input characteristics of sound card still lags far behind output-index.
Summary of the invention
Lag far behind the inaccurate problem of output-index audio data collecting in order to solve mobile phone because of the input characteristics of sound card, the present invention proposes a kind of mobile phone frequency response automated calibration system and calibration steps thereof, the low frequency part that will decay compensates, and makes frequency response straight.
The technical solution adopted in the present invention is: a kind of mobile phone frequency response automated calibration system, comprise the voltage acquisition module, radio-frequency module and the main control module that are placed in interior of mobile phone, described radio-frequency module comprises signal generator and signal receiver, and described voltage acquisition module, signal generator and signal receiver are electrically connected to main control module respectively.
A kind of mobile phone frequency response automatic calibrating method that is applied to above-mentioned mobile phone frequency response automated calibration system, comprise the steps:
(a) with lubber-line by the earphone output of mobile phone and microphone input short circuit;
(b) signal generator sends successively the swept-frequency signal that frequency is 1.5kHz to 50Hz from the high frequency to the low frequency;
(c) signal receiver is set sample frequency Fs with the receiving frequency-sweeping signal and is carried out fast Fourier transform and is converted to frequency-region signal, first to search frequency be the 1kHz swept-frequency signal and record its sound level, the swept-frequency signal of the low 3dB of sound level while then continuing to search than 1kHz, frequency now is cut-off frequency Fh, the primary voltage of voltage acquisition module sampling microphone input, record data also send main control module to and exit frequency sweep;
(d) repeating step (b) and (c) several times, the primary voltage of the each sampling of record also sends main control module to;
(e) main control module passes through computing formula Y after obtaining data n=0.999Y n-1+ X n+ aX n-1compensate calibration, wherein n is the n time sampling, and n is greater than 2 natural number, X n-1, X nbe respectively the primary voltage of n-1, n sampling, Y n-1, Y nbe respectively the bucking voltage of n-1, n sampling, a is penalty coefficient, and penalty coefficient a is by computing formula a=2 π Fh/(Fs-1) obtain, wherein π is circumference ratio, and Fh is cut-off frequency, and Fs is sample frequency;
(f) the bucking voltage Y that step (e) obtains ncan obtain the acoustic pressure of calibration divided by mobile microphone sensitivity.
As preferably, in described step (b), the sample frequency of signal receiver is 32kHz.The highest sample frequency of current mobile phone support is 48kHz, and sample frequency more high accuracy is higher, but also higher to the requirement of mobile phone hardware configuration, and 32kHz is selected in compromise here.
As preferably, also comprise a step in described step (c), if do not find the swept-frequency signal of 1kHz, frequency sweep again during frequency sweep.In acoustics, the A weighted is the response of simulation people ear to sound, the C weighted is the frequency characteristic of simulation high intensity noise, the Z weighted is the horizontal respone to 20KHz to frequency range 20Hz, and be all 0 at the pad value of 1000Hz Frequency point A weighted, C weighted, Z weighted, therefore select the 1000Hz signal as center frequency points, i.e. signal source.
As preferably, also comprise a step in described step (c), if the swept-frequency signal of the low 3dB of sound level, frequency sweep again while not finding than 1kHz during frequency sweep.Frequency point than the low 3dB of center frequency points is the cut-off frequency point.
As preferably, described step (b) is in (d), and the duration of each frequency sweep is greater than 1 minute.If frequency sweep is too fast, may grab the Frequency point less than 1kHz, therefore the 1.5kHz-50Hz frequency sweep duration once should be greater than 1 minute, and more long more accurate.
The invention has the beneficial effects as follows: the present invention is by audio port input and output loop self calibration, has a cost low, effective, and digital frequency response calibration is more accurate.
The accompanying drawing explanation
Fig. 1 is a kind of structured flowchart of mobile phone frequency response automated calibration system in the present invention;
Fig. 2 is a kind of flow chart of mobile phone frequency response automatic calibrating method in the present invention.
In figure, 1-main control module, 2-voltage acquisition module, 3-signal generator, 4-signal receiver.
Embodiment
Below in conjunction with drawings and Examples, the present invention is described in further detail.
As shown in Figure 1, a kind of mobile phone frequency response automated calibration system, comprise the main control module 1, voltage acquisition module 2 and the radio-frequency module that are placed in interior of mobile phone, radio-frequency module comprises signal generator 3 and signal receiver 4, and voltage acquisition module 2, signal generator 3 and signal receiver 4 are electrically connected to main control module 1 respectively.Wherein, main control module 1 can be integrated on the control circuit board of mobile phone, can be the main control chip of mobile phone; Voltage acquisition module 2 can be integrated in the mobile phone hardware part, can be also independent circuits, for the voltage data of the microphone input of sampling; Radio-frequency module is for generation and the reception of swept-frequency signal.
The loop of calibrating principle of the present invention based on sound card tested oneself.The output signal frequency response of mobile phone is all more straight, and with lubber-line, by earphone output and microphone input short circuit, the Voltage-output of microphone input of take is benchmark, the frequency response of calibration microphone input.
Signal generator 3 sends successively the swept-frequency signal that frequency is 1.5kHz to 50Hz from the high frequency to the low frequency, and the sample frequency Fs that signal receiver 4 is set 32kHz is with the receiving frequency-sweeping signal and carry out fast Fourier transform FFT and be converted to frequency-region signal, and FFT line number is 8192.
In the frequency sweep process, finding frequency is the 1kHz swept-frequency signal, records sound level now, then continues frequency sweep.If do not find the swept-frequency signal of 1kHz during frequency sweep, return to previous step, again frequency sweep.
Continue frequency sweep, the swept-frequency signal of the low 3dB of sound level while finding than 1kHz, the frequency of this swept-frequency signal is the cut-off frequency Fh of high pass filter in mobile phone, the primary voltage of voltage acquisition module sampling microphone input, record data also send main control module to and exit frequency sweep, if the swept-frequency signal of the low 3dB of sound level, frequency sweep again while not finding than 1kHz during frequency sweep.
Repeat above-mentioned steps once, the primary voltage of the each sampling of record also sends main control module to.
Main control module passes through computing formula Y after obtaining data n=0.999Y n-1+ X n+ aX n-1compensate calibration, wherein n=2, sample for 2 times, X 1, X 2be respectively the primary voltage of the 1st, 2 samplings, Y 1, Y 2be respectively the bucking voltage of the 1st, 2 samplings, a is penalty coefficient, and penalty coefficient a is by computing formula a=2 π Fh/(Fs-1) obtain, wherein π is circumference ratio, and Fh is cut-off frequency, and Fs is sample frequency.
The c8812 of Huawei mobile phone of take is example, and sample frequency Fs is 32kHz, and the centre frequency 1kHz place sound level recorded is 84.7dB, and cut-off frequency Fh is 402Hz, penalty coefficient a=2*3.1415926*402/(32000-1)=0.0789.The numerical value X of voltage acquisition module sampling microphone input primary voltage 0=0, X 1=200, X 2=300, Y 1=0.999*0+200+0.0789*0=200, bucking voltage Y 2=0.999*200+300+0.0789*200=515.58.
Due to the sensitivity of the mobile microphone ratio that is the lower voltage of unit acoustic pressure excitation and acoustic pressure, therefore bucking voltage can obtain the acoustic pressure of calibration divided by mobile microphone sensitivity.
The present embodiment is only as the sampling implementation of twice, and in reality, sampling number is more, and the frequency response that compensation obtains is more accurate.After compensation, the sound level of each Frequency point is very little in the difference gap of the sound level at 1000Hz place, and frequency response is more straight, the compensation effect ideal.
Above embodiment only, for explanation technological thought of the present invention, can not limit protection scope of the present invention with this, every technological thought proposed according to the present invention, and any change of doing on the technical scheme basis, within all falling into protection scope of the present invention.

Claims (6)

1. a mobile phone frequency response automated calibration system, it is characterized in that: comprise the voltage acquisition module, radio-frequency module and the main control module that are placed in interior of mobile phone, described radio-frequency module comprises signal generator and signal receiver, and described voltage acquisition module, signal generator and signal receiver are electrically connected to main control module respectively.
2. a mobile phone frequency response automatic calibrating method that is applied to the described mobile phone frequency response of claim 1 automated calibration system, is characterized in that: comprise the steps:
(a) with lubber-line by the earphone output of mobile phone and microphone input short circuit;
(b) signal generator sends successively the swept-frequency signal that frequency is 1.5kHz to 50Hz from the high frequency to the low frequency;
(c) signal receiver is set sample frequency Fs with the receiving frequency-sweeping signal and is carried out fast Fourier transform and is converted to frequency-region signal, first to search frequency be the 1kHz swept-frequency signal and record its sound level, the swept-frequency signal of the low 3dB of sound level while then continuing to search than 1kHz, frequency now is cut-off frequency Fh, the primary voltage of voltage acquisition module sampling microphone input, record data also send main control module to and exit frequency sweep;
(d) repeating step (b) and (c) several times, the primary voltage of the each sampling of record also sends main control module to;
(e) main control module passes through computing formula Y after obtaining data n=0.999Y n-1+ X n+ aX n-1compensate calibration, wherein n is the n time sampling, and n is greater than 2 natural number, X n-1, X nbe respectively the primary voltage of n-1, n sampling, Y n-1, Y nbe respectively the bucking voltage of n-1, n sampling, a is penalty coefficient, and penalty coefficient a is by computing formula a=2 π Fh/(Fs-1) obtain, wherein π is circumference ratio, and Fh is cut-off frequency, and Fs is sample frequency;
(f) the bucking voltage Y that step (e) obtains ncan obtain the acoustic pressure of calibration divided by mobile microphone sensitivity.
3. mobile phone frequency response automatic calibrating method according to claim 2, it is characterized in that: in described step (b), the sample frequency Fs of signal receiver is 32kHz.
4. mobile phone frequency response automatic calibrating method according to claim 2 is characterized in that: also comprise a step in described step (c), if do not find the swept-frequency signal of 1kHz, frequency sweep again during frequency sweep.
5. according to the described mobile phone frequency response of claim 2 or 4 automatic calibrating method, it is characterized in that: also comprise a step in described step (c), if the swept-frequency signal of the low 3dB of sound level, frequency sweep again while not finding than 1kHz during frequency sweep.
6. mobile phone frequency response automatic calibrating method according to claim 2 is characterized in that: described step (b) is in (d), and the duration of each frequency sweep is greater than 1 minute.
CN201310372073.9A 2013-08-23 2013-08-23 Mobile phone frequency response automated calibration system and automatic calibrating method thereof Active CN103442115B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310372073.9A CN103442115B (en) 2013-08-23 2013-08-23 Mobile phone frequency response automated calibration system and automatic calibrating method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310372073.9A CN103442115B (en) 2013-08-23 2013-08-23 Mobile phone frequency response automated calibration system and automatic calibrating method thereof

Publications (2)

Publication Number Publication Date
CN103442115A true CN103442115A (en) 2013-12-11
CN103442115B CN103442115B (en) 2015-09-30

Family

ID=49695779

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310372073.9A Active CN103442115B (en) 2013-08-23 2013-08-23 Mobile phone frequency response automated calibration system and automatic calibrating method thereof

Country Status (1)

Country Link
CN (1) CN103442115B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105897997A (en) * 2014-12-18 2016-08-24 北京千橡网景科技发展有限公司 Method and apparatus for adjusting audio gain

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004100513A1 (en) * 2003-05-12 2004-11-18 Telefonaktiebolaget Lm Ericsson (Publ) Method and arrangement for loop test of a disturbed line
CN1756444A (en) * 2004-09-30 2006-04-05 富迪科技股份有限公司 Self detection and correction method for electroacoustic system
CN101132594A (en) * 2007-09-28 2008-02-27 北京五龙电信技术公司 Audio testing system and method for mobile communication terminal
US20100303250A1 (en) * 2006-03-28 2010-12-02 Genelec Oy Calibration Method and Device in an Audio System
CN102204229A (en) * 2008-11-03 2011-09-28 布鲁尔及凯尔声音及振动测量公司 Test system with digital calibration generator

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004100513A1 (en) * 2003-05-12 2004-11-18 Telefonaktiebolaget Lm Ericsson (Publ) Method and arrangement for loop test of a disturbed line
CN1756444A (en) * 2004-09-30 2006-04-05 富迪科技股份有限公司 Self detection and correction method for electroacoustic system
US20100303250A1 (en) * 2006-03-28 2010-12-02 Genelec Oy Calibration Method and Device in an Audio System
CN101132594A (en) * 2007-09-28 2008-02-27 北京五龙电信技术公司 Audio testing system and method for mobile communication terminal
CN102204229A (en) * 2008-11-03 2011-09-28 布鲁尔及凯尔声音及振动测量公司 Test system with digital calibration generator

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105897997A (en) * 2014-12-18 2016-08-24 北京千橡网景科技发展有限公司 Method and apparatus for adjusting audio gain
CN105897997B (en) * 2014-12-18 2019-03-08 北京千橡网景科技发展有限公司 Method and apparatus for adjusting audio gain

Also Published As

Publication number Publication date
CN103442115B (en) 2015-09-30

Similar Documents

Publication Publication Date Title
US4306113A (en) Method and equalization of home audio systems
CN103414980B (en) The time delay of a kind of multi output channel sound systems and the compensation method of Frequency Response
CN109845288B (en) Method and apparatus for output signal equalization between microphones
US9161146B2 (en) Device and method for diagnosing audio circuitry
Santini et al. On the use of sensor nodes and mobile phones for the assessment of noise pollution levels in urban environments
US20020034310A1 (en) Adaptive microphone matching in multi-microphone directional system
US9807500B2 (en) Digital electronic interface circuit for an acoustic transducer, and corresponding acoustic transducer system
US20080175407A1 (en) System and method for calibrating phase and gain mismatches of an array microphone
CN101794575A (en) Method for phase mismatch calibration for an array microphone and phase calibration module for the same
US10694304B2 (en) Phase response mismatch correction for multiple microphones
CN107786287B (en) Flatness calibration method and system
CN104604254A (en) Audio processing device, method, and program
CN102083090A (en) Method and device for positioning interference source
CN116400387B (en) A weak interference detection method and system based on cross-correlation of dual array elements
CN113257247B (en) Test method and system
CN105103219A (en) Noise reduction method
Djurek et al. Measurements of analog MEMS microphones
CN103442115B (en) Mobile phone frequency response automated calibration system and automatic calibrating method thereof
CN115767359A (en) Noise reduction method and device, test method and device, electronic device and storage medium
CN117198320A (en) Method for measuring amplitude of sound signal, related device and readable storage medium
Kraus et al. Maximum Theoretical Interference Mitigation Capability of a GNSS Receiver as Limited by the GNSS Frontend
CN105939503B (en) Multi-mode microphone
CN106331958A (en) Echo cancellation method and device
Dwisetyo et al. Acoustical periodic test of sound level meter based on smartphone application using free-field method
CN205883501U (en) Multi -mode microphone

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant