CN106775558A - Method, device and the audio for obtaining earphone Optimal Parameters provide method, system - Google Patents

Method, device and the audio for obtaining earphone Optimal Parameters provide method, system Download PDF

Info

Publication number
CN106775558A
CN106775558A CN201611076230.1A CN201611076230A CN106775558A CN 106775558 A CN106775558 A CN 106775558A CN 201611076230 A CN201611076230 A CN 201611076230A CN 106775558 A CN106775558 A CN 106775558A
Authority
CN
China
Prior art keywords
impedance
array
earphone
arrays
reference impedance
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
CN201611076230.1A
Other languages
Chinese (zh)
Other versions
CN106775558B (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.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201611076230.1A priority Critical patent/CN106775558B/en
Publication of CN106775558A publication Critical patent/CN106775558A/en
Application granted granted Critical
Publication of CN106775558B publication Critical patent/CN106775558B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/162Interface to dedicated audio devices, e.g. audio drivers, interface to CODECs

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The present invention discloses a kind of method for obtaining earphone Optimal Parameters, device and audio and provides method, system, and methods described includes:Generation frequency sweep audio signal, and, amplify the frequency sweep audio signal, with the frequency sweep audio-signal-driven earphone after amplification;Loudspeaker end to the earphone is sampled, and according to the result of the sampling, generates the impedance array of the earphone, and the data structure of the impedance array is corresponding with the data structure of the headset type reference impedance set of arrays for pre-setting;Compare the impedance array and reference impedance set of arrays, the Optimal Parameters of the earphone are determined according to comparative result.The Optimal Parameters of the current earphone that terminal is configured, and then the audio signal matched for earphone is provided according to the Optimal Parameters for pre-setting effectively are determined using the method shown in the embodiment of the present invention.

Description

Method, device and the audio for obtaining earphone Optimal Parameters provide method, system
Technical field
The present invention relates to communication technical field, more particularly to a kind of method for obtaining earphone Optimal Parameters, device and audio Offer method, system.
Background technology
Earphone is equipped as a kind of conventional sound equipment, has become the standard configuration of various terminals, if terminal output Audio signal and the intrinsic technical characteristic of earphone match, and just can obtain optimal audio.But, the earphone of any type is produced Product have a technical standard of oneself, and material that the earphone of different type or different model is used, cavity body structure on an equal basis will not Causing it has different technical characteristics;Same type of earphone, it is also possible to have less than standard due to designing or producing up to There are different technical characteristics;Even in addition, same type of earphone, due to the difference of parts, and in manufacturing process Produce the reasons such as error, it may have different technical characteristics, this is caused in Terminal Design and production process, it is difficult to ensure that it is exported Audio signal can match with all types of earphone products.Therefore, for the earphone for enabling the terminals to be configured for it Optimal audio is provided, many terminals particularly move class or intelligent Terminal Type, configuration can be applied to different type ear inside it The Optimal Parameters of machine, to expect that the characteristic audio signal of output can be adjusted to terminal the journey with ear phone technology characteristics match Degree.
This creates the terminal a problem, how terminal just can know that the type or technical characteristic of earphoneSome terminals The method that offer is manually selected, to learn connected headset type.For example, Fig. 1 shows the ear that an intelligent terminal is provided Machine type selection interface.As shown in Figure 1, user can be according to the model artificial selection of the earphone for being used and headset type phase The Optimal Parameters for pre-setting of matching, so that the intelligent terminal can provide the audio letter that technical characteristic matches for the earphone Number, to improve the quality that earphone exports tonequality.
The shortcoming of headset type is manually selected very it is clear that error of inefficient and possible selection etc..As one kind Improve, prior art provides the scheme of automatic identification headset type, by between the sound channel region of test earphone and neighbouring region Circuit state determine the ground area and Mike region of earphone, and the ground area of earphone and Mike region is set with electronics The earth terminal of the earphone system in standby and Mike end are docked respectively;But, these schemes can only be identified based on different physics knots The headset type of structure, these schemes are not used to the Optimal Parameters of the current earphone for effectively determining terminal configuration, thus are difficult to root According to the audio signal that the Optimal Parameters for pre-setting match for earphone is provided.
The content of the invention
Goal of the invention of the invention is to provide a kind of method for obtaining earphone Optimal Parameters, device and audio provider Method, system, the Optimal Parameters of the current earphone that terminal is configured cannot be effectively determined to solve existing terminal, thus are difficult to basis The problem of the audio signal that the Optimal Parameters for pre-setting match for earphone is provided.
In a first aspect, a kind of method for obtaining earphone Optimal Parameters is the embodiment of the invention provides, including:
Generation frequency sweep audio signal, and, amplify the frequency sweep audio signal, with the frequency sweep audio-signal-driven after amplification Earphone;
Loudspeaker end to the earphone is sampled, and according to the result of the sampling, generates the impedance number of the earphone Group, the data structure of the impedance array is corresponding with the data structure of the headset type reference impedance set of arrays for pre-setting;
Compare the impedance array and reference impedance set of arrays, the Optimal Parameters of the earphone are determined according to comparative result.
Second aspect, the embodiment of the invention provides a kind of device for obtaining earphone Optimal Parameters, including the reference that is stored with The memory of impedance set of arrays, connects the arithmetic and control unit of the memory, and the signal being connected with the arithmetic and control unit occurs Device, the driving amplifier being connected with the signal generator, and, the signal picker being connected with the arithmetic and control unit;Its In:
The signal generator, for the control signal according to the arithmetic and control unit, generates frequency sweep audio signal;
The driving amplifier, for amplifying the frequency sweep audio signal, and, the frequency sweep audio signal after output amplification Drive earphone;
The signal picker, samples for the loudspeaker end to the earphone, exports the result of sampling;
The arithmetic and control unit, the result of the sampling for being exported according to the signal picker generates the earphone Impedance array, and, compare the impedance array and reference impedance set of arrays, the optimization ginseng of earphone is determined according to comparative result Number;Wherein, the data structure of the impedance array is corresponding with the data structure of the headset type reference impedance array for pre-setting.
The third aspect, the embodiment of the invention provides a kind of audio and provides method, and method includes:
Generation frequency sweep audio signal, and, amplify the frequency sweep audio signal, with the frequency sweep audio-signal-driven after amplification Earphone;
Loudspeaker end to the earphone is sampled, and according to the result of the sampling, generates the impedance number of the earphone Group, the data structure of the impedance array is corresponding with the data structure of the headset type reference impedance set of arrays for pre-setting;
Compare the impedance array and reference impedance set of arrays, the Optimal Parameters of the earphone are determined according to comparative result;
Audio signal is adjusted using the Optimal Parameters of the earphone, and, with ear described in the audio-signal-driven after adjustment Machine.
Fourth aspect, the embodiment of the invention provides a kind of audio and provides system, including audio signal decoder, and The earphone for connecting the filtering gain device of the audio signal decoder and being connected with the filtering gain device, the system Also include:
The memory of the reference impedance set of arrays that is stored with, connects the arithmetic and control unit of the memory, with the computing control The signal generator of device connection processed, the driving amplifier being connected with the signal generator, and, connect with the arithmetic and control unit The signal picker for connecing;Wherein:
The signal generator, for the control signal according to the arithmetic and control unit, generates frequency sweep audio signal;
The driving amplifier, for amplifying the frequency sweep audio signal, and, the frequency sweep audio signal after output amplification Drive earphone;
The signal picker, samples for the loudspeaker end to the earphone, exports the result of sampling;
The arithmetic and control unit, the result of the sampling for being exported according to the signal picker generates the earphone Impedance array, and, compare the impedance array and reference impedance set of arrays, the optimization ginseng of earphone is determined according to comparative result Number;Wherein, the data structure of the impedance array is corresponding with the data structure of the headset type reference impedance array for pre-setting;
The filtering gain device, receives the Optimal Parameters adjustment audio signal of the arithmetic and control unit output, with And, with earphone described in the audio-signal-driven after adjustment.
From above technical scheme, the present invention discloses a kind of method for obtaining earphone Optimal Parameters, device and audio and carries Supplier's method, system, methods described include:Generation frequency sweep audio signal, and, amplify the frequency sweep audio signal, after amplification Frequency sweep audio-signal-driven earphone;Loudspeaker end to the earphone is sampled, and according to the result of the sampling, generates institute State the impedance array of earphone, the number of the data structure of the impedance array and the headset type reference impedance set of arrays for pre-setting According to structure correspondence;Compare the impedance array and reference impedance set of arrays, the optimization ginseng of the earphone is determined according to comparative result Number.When earphone inserts terminal, terminal generates the impedance array of earphone, and terminal travels through the reference impedance set of arrays for prestoring, The reference impedance array that search matches with the impedance array, determines the corresponding Optimal Parameters of reference impedance array as earphone Optimal Parameters;Using the earphone Optimal Parameters adjust audio signal, and with adjust after audio-signal-driven described in ear Machine.The Optimal Parameters of the current earphone that terminal is configured can be effectively determined using the method terminal shown in the embodiment of the present invention, is entered And the audio signal matched for earphone is provided according to the Optimal Parameters for pre-setting.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to institute in embodiment The accompanying drawing for needing to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the invention Example, for those of ordinary skill in the art, on the premise of not paying creative work, can also obtain according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is the headset type selection interface that a kind of intelligent terminal is provided;
Fig. 2 is a kind of structured flowchart of audio offer system shown in one embodiment of the present invention;
Fig. 3 is a kind of method flow diagram of the acquisition earphone Optimal Parameters shown in one embodiment of the present invention;
Fig. 4 is a kind of detailed process schematic diagram of the step of one embodiment of the present invention shows S3;
Fig. 5 is a kind of detailed process schematic diagram of the step of one embodiment of the present invention shows S313;
Fig. 6 is the anti-curve of master of the HIFIMan HE56 earphones shown in one embodiment of the present invention;
Fig. 7 is the anti-curve of master of the Vsonic VSD3s earphones shown in one embodiment of the present invention;
Fig. 8 is a kind of another detailed process schematic diagram for being preferable to carry out the step of exemplifying S3 of the present invention;
Fig. 9 is a kind of detailed process schematic diagrames of the step of one embodiment of the present invention shows S323;
Figure 10 is a kind of structured flowchart of the device of the acquisition earphone Optimal Parameters shown in one embodiment of the present invention;
Figure 11 is that a kind of audio shown in one embodiment of the present invention provides method flow diagram.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Whole description, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
Embodiment one
The method of the acquisition earphone Optimal Parameters for showing of the embodiment of the present invention can apply at least be provided including audio On the device of system and acquisition earphone Optimal Parameters, can such as apply in mobile phone, computer and MP3 terminals.
Fig. 2 is a kind of structured flowchart of audio offer system shown in one embodiment of the present invention, described as shown in Figure 2 System includes audio signal decoder 106, and the filtering gain device 107 for connecting the audio signal decoder 106 And the earphone 108 being connected with the filtering gain device 107, the system also includes:
The memory 101 of the reference impedance set of arrays that is stored with, connects the arithmetic and control unit 105 of the memory 101, with institute State arithmetic and control unit 105 connection signal generator 102, the driving amplifier 103 being connected with the signal generator 102, with And, the signal picker 104 being connected with the arithmetic and control unit 105;Wherein:
The signal generator 102, for the control signal according to the arithmetic and control unit 105, generation frequency sweep audio letter Number;
The driving amplifier 103, for amplifying the frequency sweep audio signal, and, the frequency sweep audio after output amplification Signal drives earphone 108;
The signal picker 104, samples for the loudspeaker end to the earphone 108, exports the result of sampling;
The arithmetic and control unit 105, the result of the sampling for being exported according to the signal picker 104, generation is described The impedance array of earphone 108, and, compare the impedance array and reference impedance set of arrays, earphone is determined according to comparative result 108 Optimal Parameters;Wherein, the number of the data structure of the impedance array and the headset type reference impedance array for pre-setting According to structure correspondence;
The filtering gain device 107, the Optimal Parameters for receiving the output of the arithmetic and control unit 105 adjust sound Frequency signal, and, with earphone 108 described in the audio-signal-driven after adjustment.
In order to solve the Optimal Parameters that existing terminal cannot effectively determine the current earphone of terminal configuration, thus it is difficult to root The problem of the audio signal matched for earphone is provided according to the Optimal Parameters for pre-setting.One kind is the embodiment of the invention provides to obtain The method for taking earphone Optimal Parameters, the core of the method is:When earphone inserts terminal, terminal generates the impedance array of earphone, The reference impedance set of arrays that terminal traversal is prestored, the reference impedance array that search matches with the impedance array, according to Reference impedance array determines the Optimal Parameters of current earphone;Audio signal is adjusted using the Optimal Parameters of the earphone, and, use Earphone described in audio-signal-driven after adjustment.
The difference of material, cavity is used by different types of earphone, therefore, for same audio signal, no The earphone of same type is different in the impedance value that different frequency point is generated, therefore can be corresponding according to different frequency and the frequency The impedance array that impedance value builds, impedance array can be as earphone label for identity, by accurate measurement earphone Impedance array, can identify the type of earphone, and then transfer the corresponding Optimal Parameters of earphone;First by the reference of measured in advance Impedance storage of array constitutes reference impedance set of arrays, a kind of Optimal Parameters of every kind of reference impedance array correspondence in memory;It is logical The impedance array of identification different type earphone is crossed, and then transfers different Optimal Parameters, audio signal is adjusted using Optimal Parameters, With earphone described in the audio-signal-driven after adjustment, and then improve the tonequality of earphone, improve user experience.
Fig. 3 is a kind of flow chart of the method for the acquisition earphone Optimal Parameters shown in the embodiment of the present invention, shown method Process step includes:
Step S1:Generation frequency sweep audio signal, and, amplify the frequency sweep audio signal, with the frequency sweep audio after amplification Signal drives earphone;
Terminal detects the insertion of earphone, and whether terminal judges open earphone automatic identification function.If user does not have Open automatic identification function system and call default parameters automatically, this function terminates.If user opens earphone automatic identification work( Can, signal generator generation frequency sweep audio signal, and amplify the frequency sweep audio signal, driven with the frequency sweep audio signal after amplification Dynamic earphone work.
Step S2 samples to the loudspeaker end of the earphone, according to the result of the sampling, generates the earphone Impedance array, the data structure pair of the data structure of the impedance array and the headset type reference impedance set of arrays for pre-setting Should;
When a constant electric current flows through the loudspeaker of earphone, because the presence of the loudspeaker impedance of earphone, can be in ear The two ends of the loudspeaker of machine produce a voltage, this voltage to be gathered by signal picker and carry out digital-to-analogue conversion and filter After ripple treatment, arithmetic and control unit is sent back to.Arithmetic and control unit according to two physical quantitys of electric current of the voltage and constant-current source for collecting, The impedance value of the loudspeaker of earphone can be calculated.
Because the impedance value of the loudspeaker of earphone changes with the change of the frequency of frequency sweep audio signal, therefore can basis The impedance array that different frequency and the corresponding impedance value of the frequency build.The corresponding impedance value of collection different frequency point, shape Into an impedance array.Arithmetic and control unit can according to demand adjust sampling sound interval.Such as can according to 1/12 octave sampling or The octave of person 1/24 is sampled;Specific sampling sound interval is determined by the sampling sound interval of structure reference impedance array.
Reference impedance set of arrays was prestored before step S2 is performed.When reference impedance set of arrays is built, The sampling sound interval of adjustment according to demand of terminal, the acquisition modes of reference impedance set of arrays and the acquisition modes phase of earphone reference array Together.
Reference array sound interval of specifically sampling is determined by the data structure of the reference impedance set of arrays, if building reference Take 1/12 octave to sample during impedance set of arrays, take 1/12 octave to sample in the impedance array sampling process, enter And ensure that the data structure of the impedance array is corresponding with the data structure of the headset type reference impedance set of arrays for pre-setting.
Signal picker is sampled to the loudspeaker end of earphone, exports the result of sampling;Arithmetic and control unit is according to The result of the sampling of signal picker output, generates the impedance array of the earphone.
The step S3 impedance arrays and reference impedance set of arrays, the optimization of the earphone is determined according to comparative result Parameter.
Due to each reference impedance array one Optimal Parameters of correspondence, it is determined that the reference impedance number matched with current earphone Group, just can determine that the Optimal Parameters of current earphone, audio signal be adjusted using the Optimal Parameters of current earphone, with the sound after adjustment Frequency signal drives the earphone.
Wherein, the frequency sweep audio signal after the amplification, is by the frequency sweep audio signal of constant current enhanced processing.
The present embodiment is constant using constant current enlargement processing method treatment frequency sweep audio signal, i.e. electric current, magnitude of voltage increase Processing procedure, in addition amplify the method for the frequency sweep audio signal also include constant pressure enlargement processing method, at constant current amplification Reason and constant pressure enhanced processing mixing method.The embodiment of the present invention preferentially employs constant current enlargement processing method treatment frequency sweep audio letter Number, because during constant current enlargement processing method treatment frequency sweep audio signal, because driving current is very small, earphone there is no Sound, improves the Experience Degree of user;And when using the frequency sweep audio signal of constant pressure enhanced processing, earphone needs to send an audible Sound, user experience degree can be influenceed.
Embodiment two
The arithmetic and control unit impedance array and reference impedance set of arrays, the ear is determined according to comparative result The Optimal Parameters of machine, in order to ensure the degree of accuracy of comparative result, the embodiment of the present invention shows variance comparison method;Fig. 4 present invention one It is preferable to carry out a kind of detailed process schematic diagram of S3 for exemplifying;Specifically, step S3 can include following step in embodiment one Suddenly:
Each reference in the impedance value average value and the reference impedance set of arrays of the step S311 calculating impedance array The impedance value average value of impedance array;
The impedance value average value of impedance array is calculated first, and the impedance value that each reference impedance array is calculated respectively is put down Average;In order to improve the speed for comparing can also precompute each reference impedance array impedance value average value and store with In the reference impedance set of arrays.
Step S312 travels through the reference impedance set of arrays, filter out the impedance value average value of the reference impedance array with Less than the reference impedance array of the first average value preset threshold value, generation is new to be joined the difference of the impedance value average value of the impedance array Examine impedance set of arrays;
The difference of the impedance value average value of the reference impedance array and the impedance value average value of impedance array is calculated, is screened Go out the impedance value average value of the reference impedance array flat less than first with the difference of the impedance value average value of the impedance array The reference impedance array of average preset threshold value, generates new reference impedance set of arrays;
Step S313 travels through the new reference impedance set of arrays, in computing impedance array and new reference impedance set of arrays each The variance of reference impedance array, selects minimum variance;
The number of reference impedance array is far fewer than reference impedance number in reference impedance set of arrays in new reference impedance set of arrays The number of group, therefore, calculate the mistake of the variance of each reference impedance array in the impedance array and new reference impedance set of arrays Cheng Zhong, can reduce the speed that the amount of calculation lifting of terminal is compared.
Whether step S314 judges the minimum variance less than or equal to variance preset threshold value;
If the minimum variance is less than or equal to the variance preset threshold value, performs step S315 and determine from described The corresponding Optimal Parameters of reference impedance array of minimum variance are the Optimal Parameters of the earphone.
If the minimum variance is less than or equal to the variance preset threshold value, the reference resistance of the minimum variance is proved The match is successful for the impedance array of anti-array and current earphone;From the corresponding optimization ginseng of reference impedance array of the minimum variance Number is the Optimal Parameters of current earphone, adjusts audio signal using the Optimal Parameters of the earphone, and believed with the audio after adjustment Number drive the earphone.
If the minimum variance is more than variance preset threshold value, performs step S316 and show for pointing out whether to be filtered The prompting interface of ripple gain parameter adjustment;
When the minimum variance is more than variance preset threshold value, a prompting interface can be ejected on the display interface of terminal, used Whether the prompting interface of gain parameter adjustment is filtered in prompting;User can choose whether to be filtered gain according to demand Parameter adjustment.
Step S317 receives the filtering gain parameter adjustment feedback information obtained from the prompting interface;
When the filtering gain parameter adjustment feedback information is for adjustment filtering gain parameter, performs step S318 and determine institute The Optimal Parameters that the filtering gain parameter after adjustment is the earphone are stated, and, work as vestibule the impedance array is centrally stored The impedance array of machine.
Further, in order to reduce the amount of calculation of terminal, the embodiment of the present invention shows a kind of Variance feature Frequency point comparison method; Fig. 5 is a kind of another detailed process schematic diagram for being preferable to carry out exemplifying S313 of the present invention;Specifically, step in embodiment two S313 may include steps of:
Step S3131 selected characteristic Frequency points;
In the matching process according to the operational capability of arithmetic and control unit, whole Frequency points can be selected, it is also possible to according to feelings Condition selected section has characteristic frequency point, and choosing for the characteristic frequency point can be the vicinity of impedance array middle impedance value Impedance value and impedance value minimum near impedance value;If Fig. 6 is the resistance according to HIFIMan HE56 impedances array structure Anti- curve, wherein abscissa are frequency, and ordinate is impedance value;As can be seen that the maximum of HIFIMan HE56 impedance arrays Corresponding frequency is 800Hz, and we can choose Frequency point near 800Hz as characteristic frequency point.
Another choosing method of characteristic frequency point, select the two ends Frequency point of linear tone frequency channel wire frequency as feature frequently Rate point, intermediate frequency point is according to certain rule selected characteristic Frequency point;It is as shown in Figure 7 according to Vsonic VSD3s impedance arrays The impedance curve of structure, it is known that the range of scanned frequencies of frequency sweep audio signal is 10Hz~20kHz, Vsonic VSD3s impedance values Maximum it is unobvious with the difference of minimum, in the case, we choose the Frequency point at two ends, and 10Hz and 20kHz makees It is characterized Frequency point, 100Hz, 1000Hz and 10000Hz are chosen as characteristic frequency point in centre respectively, selected characteristic Frequency point, The speed that the amount of calculation lifting of terminal is compared can be reduced.
Step S3132 travels through the new reference impedance set of arrays, calculates the impedance array and the new reference impedance number The corresponding impedance differences of characteristic frequency point in group, generate impedance contrast array;
Step S3133 calculates the variance of the impedance contrast array.
The impedance value of characteristic frequency point correspondence current earphone in impedance array is filtered out, while screening each reference impedance number Go out characteristic frequency point counterpart impedance value in group, the impedance array is calculated respectively with each ginseng in the new reference impedance set of arrays The corresponding impedance differences of impedance array feature Frequency point are examined, impedance contrast array is generated;The variance of the impedance contrast array is calculated, is selected Select minimum variance;It is determined that from the minimum variance the corresponding Optimal Parameters of reference impedance array be the earphone optimization ginseng Number.
Embodiment three
In order to reduce the amount of calculation of terminal, another embodiment of the present invention shows a kind of average value comparison method;Such as Fig. 8 institutes Show;Specifically, step S3 may include steps of in embodiment one:
Each reference in the impedance value average value and the reference impedance set of arrays of the step S321 calculating impedance array The impedance value average value of impedance array;
Step S322 travels through the reference impedance set of arrays, filter out the impedance value average value of the reference impedance array with Less than the reference impedance array of the first average value preset threshold value, generation is new to be joined the difference of the impedance value average value of the impedance array Examine impedance set of arrays;
Step S323 travels through the new reference impedance set of arrays, in computing impedance array and new reference impedance set of arrays each The average value of the difference of reference impedance array, selects minimum average B configuration value;
Whether step S324 judges the minimum average B configuration value less than or equal to the second average value preset threshold value;
If the minimum average B configuration value is less than or equal to the second average value preset threshold value, performs step 325 and determine to select The corresponding Optimal Parameters of reference impedance array of the minimum average B configuration value are the Optimal Parameters of the earphone.
In an embodiment of the present invention, in order to reduce the amount of calculation of terminal, speed is compared in raising, by impedance array each The corresponding impedance value of Frequency point is corresponding with each Frequency point in each reference impedance array in new reference impedance set of arrays respectively Impedance value does difference;Then the average value of difference is calculated;Selection minimum average B configuration value;Judge whether the minimum average B configuration value is less than Or equal to the second average value preset threshold value, if minimum average B configuration value determines to select institute less than or equal to the second average value preset threshold value The corresponding Optimal Parameters of reference impedance array for stating minimum average B configuration value are the Optimal Parameters of the earphone.
In order to further reduce the amount of calculation of terminal, the embodiment of the present invention shows that a kind of average value characteristic frequency point compares Method, shown in Fig. 9;Specifically, step S323 may include steps of in embodiment three:
Step 3231 selected characteristic Frequency point;
Step 3232 travels through the new reference impedance set of arrays, calculates the impedance array and the new reference impedance array The corresponding impedance differences of middle characteristic frequency point, generate impedance contrast array;
Step 3233 calculates the average value of the impedance contrast array.
The impedance value of characteristic frequency point correspondence current earphone in impedance array is filtered out, while screening each reference impedance number Go out characteristic frequency point counterpart impedance value in group, calculate the impedance array and characteristic frequency point pair in the new reference impedance array The impedance differences answered, generate impedance contrast array;The average value of the impedance contrast array is calculated, minimum average B configuration value is selected;Judge institute Whether minimum average B configuration value is stated less than or equal to the second average value preset threshold value, if minimum average B configuration value is average less than or equal to second The determination of value preset threshold value is from the optimization that the corresponding Optimal Parameters of reference impedance array of the minimum average B configuration value are the earphone Parameter.
Figure 10 is a kind of structured flowchart of device for obtaining earphone Optimal Parameters provided in an embodiment of the present invention, such as Figure 10 institutes Show memory 101 of the described device including the reference impedance set of arrays that is stored with, connect the arithmetic and control unit of the memory 101 105, the signal generator 102 being connected with the arithmetic and control unit 105, the drive amplification being connected with the signal generator 102 Device 103, and, the signal picker 104 being connected with the arithmetic and control unit 105;Wherein:
The signal generator 102, for the control signal according to the arithmetic and control unit 105, generation frequency sweep audio letter Number;
The driving amplifier 103, for amplifying the frequency sweep audio signal, and, the frequency sweep audio after output amplification Signal drives earphone 108;
The signal picker 104, samples for the loudspeaker end to the earphone 108, exports the result of sampling;
The arithmetic and control unit 105, the result of the sampling for being exported according to the signal picker 104, generation is described The impedance array of earphone 108, and, compare the impedance array and reference impedance set of arrays, earphone is determined according to comparative result 108 Optimal Parameters;Wherein, the data structure of the impedance array and the type reference impedance array of earphone 108 for pre-setting Data structure correspondence.
The device execution unit of the acquisition earphone Optimal Parameters shown in Figure 10 performs above-mentioned method, specific implementation process Referring to above-described embodiment, here is omitted.
Figure 11 is that a kind of audio provided in an embodiment of the present invention provides method flow diagram, and methods described comprises the following steps:
Step S11 generates frequency sweep audio signal, and, amplify the frequency sweep audio signal, with the frequency sweep audio after amplification Signal drives earphone;
Step S12 samples to the loudspeaker end of the earphone, according to the result of the sampling, generates the earphone Impedance array, the data structure pair of the data structure of the impedance array and the headset type reference impedance set of arrays for pre-setting Should;
The step S13 impedance arrays and reference impedance set of arrays, the excellent of the earphone is determined according to comparative result Change parameter;
Step S14 adjusts audio signal using the Optimal Parameters of the earphone, and, with the audio-signal-driven after adjustment The earphone.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment Divide mutually referring to what each embodiment was stressed is the difference with other embodiment.Especially for device or For system embodiment, because it is substantially similar to embodiment of the method, so describing fairly simple, related part is referring to method The part explanation of embodiment.Apparatus and system embodiment described above is only schematical, wherein as separation Part description can be or may not be physically separate.Can select according to the actual needs part therein or Whole parts realize the purpose of this embodiment scheme.
Those of ordinary skill in the art are without creative efforts, you can to understand and implement.Below only It is specific embodiment of the invention, it is noted that for those skilled in the art, is not departing from this hair On the premise of bright principle, some improvements and modifications can also be made, these improvements and modifications also should be regarded as protection model of the invention Enclose.

Claims (10)

1. it is a kind of obtain earphone Optimal Parameters method, it is characterised in that including:
Generation frequency sweep audio signal, and, amplify the frequency sweep audio signal, with the frequency sweep audio-signal-driven ear after amplification Machine;
Loudspeaker end to the earphone is sampled, and according to the result of the sampling, generates the impedance array of the earphone, institute The data structure for stating impedance array is corresponding with the data structure of the headset type reference impedance set of arrays for pre-setting;
Compare the impedance array and reference impedance set of arrays, the Optimal Parameters of the earphone are determined according to comparative result.
2. method according to claim 1, it is characterised in that described to compare impedance array and reference impedance set of arrays, root The step of determining the Optimal Parameters of the earphone according to comparative result includes:
Calculate the resistance of each reference impedance array in the impedance value average value and the reference impedance set of arrays of the impedance array Anti- value average value;
The reference impedance set of arrays is traveled through, the impedance value average value and the impedance array of the reference impedance array is filtered out Impedance value average value reference impedance array of the difference less than the first average value preset threshold value, generate new reference impedance array Collection;
The new reference impedance set of arrays is traveled through, each reference impedance in the impedance array and new reference impedance set of arrays is calculated The variance of array, selects minimum variance;
Judge the minimum variance whether less than or equal to variance preset threshold value;
If the minimum variance is less than or equal to the variance preset threshold value, it is determined that the reference from the minimum variance hinders The corresponding Optimal Parameters of anti-array are the Optimal Parameters of the earphone.
3. method according to claim 2, it is characterised in that the new reference impedance set of arrays of traversal, calculates the resistance Include the step of the variance of each reference impedance array in anti-array and new reference impedance set of arrays:
Selected characteristic Frequency point;
The new reference impedance set of arrays is traveled through, the impedance array and characteristic frequency point in the new reference impedance array is calculated Corresponding impedance differences, generate impedance contrast array;
Calculate the variance of the impedance contrast array.
4. method according to claim 1, it is characterised in that described to compare impedance array and reference impedance set of arrays, root The step of Optimal Parameters of earphone are determined according to comparative result includes:
Calculate the resistance of each reference impedance array in the impedance value average value and the reference impedance set of arrays of the impedance array Anti- value average value;
The reference impedance set of arrays is traveled through, the impedance value average value and the impedance array of the reference impedance array is filtered out Impedance value average value reference impedance array of the difference less than the first average value preset threshold value, generate new reference impedance array Collection;
The new reference impedance set of arrays is traveled through, each reference impedance in the impedance array and new reference impedance set of arrays is calculated The average value of the difference of array, selects minimum average B configuration value;
Judge the minimum average B configuration value whether less than or equal to the second average value preset threshold value;
If the minimum average B configuration value is less than or equal to the second average value preset threshold value, it is determined that select the minimum average B configuration The corresponding Optimal Parameters of reference impedance array of value are the Optimal Parameters of the earphone.
5. method according to claim 4, it is characterised in that the new reference impedance set of arrays of traversal, calculates the resistance Include the step of the average value of the difference of each reference impedance array in anti-array and new reference impedance set of arrays:
Selected characteristic Frequency point;
The new reference impedance set of arrays is traveled through, the impedance array and characteristic frequency point in the new reference impedance array is calculated Corresponding impedance differences, generate impedance contrast array;
Calculate the average value of the impedance contrast array.
6. method according to claim 2, it is characterised in that methods described also includes;
If the minimum variance is more than variance preset threshold value, show for pointing out whether to be filtered gain parameter adjustment Prompting interface;
Receive the filtering gain parameter adjustment feedback information obtained from the prompting interface;
When the filtering gain parameter adjustment feedback information is for adjustment filtering gain parameter, determine that the filtering after the adjustment increases Beneficial parameter is the Optimal Parameters of the earphone, and, in the impedance array of the centrally stored current earphone of impedance array.
7. method according to claim 1, it is characterised in that the frequency sweep audio signal after the amplification, is by constant current The frequency sweep audio signal of enhanced processing.
8. it is a kind of obtain earphone Optimal Parameters device, it is characterised in that the memory including the reference impedance set of arrays that is stored with, The arithmetic and control unit of the memory is connected, the signal generator being connected with the arithmetic and control unit, with the signal generator The driving amplifier of connection, and, the signal picker being connected with the arithmetic and control unit;Wherein:
The signal generator, for the control signal according to the arithmetic and control unit, generates frequency sweep audio signal;
The driving amplifier, for amplifying the frequency sweep audio signal, and, the frequency sweep audio-signal-driven after output amplification Earphone;
The signal picker, samples for the loudspeaker end to the earphone, exports the result of sampling;
The arithmetic and control unit, the result of the sampling for being exported according to the signal picker generates the impedance of the earphone Array, and, compare the impedance array and reference impedance set of arrays, the Optimal Parameters of earphone are determined according to comparative result;Its In, the data structure of the impedance array is corresponding with the data structure of the headset type reference impedance array for pre-setting.
9. a kind of audio provides method, it is characterised in that method includes:
Generation frequency sweep audio signal, and, amplify the frequency sweep audio signal, with the frequency sweep audio-signal-driven ear after amplification Machine;
Loudspeaker end to the earphone is sampled, and according to the result of the sampling, generates the impedance array of the earphone, institute The data structure for stating impedance array is corresponding with the data structure of the headset type reference impedance set of arrays for pre-setting;
Compare the impedance array and reference impedance set of arrays, the Optimal Parameters of the earphone are determined according to comparative result;
Audio signal is adjusted using the Optimal Parameters of the earphone, and, with earphone described in the audio-signal-driven after adjustment.
10. a kind of audio provides system, including audio signal decoder, and the filter for connecting the audio signal decoder Ripple gain apparatus and the earphone being connected with the filtering gain device, it is characterised in that also include:
The memory of the reference impedance set of arrays that is stored with, connects the arithmetic and control unit of the memory, with the arithmetic and control unit The signal generator of connection, the driving amplifier being connected with the signal generator, and, it is connected with the arithmetic and control unit Signal picker;Wherein:
The signal generator, for the control signal according to the arithmetic and control unit, generates frequency sweep audio signal;
The driving amplifier, for amplifying the frequency sweep audio signal, and, the frequency sweep audio-signal-driven after output amplification Earphone;
The signal picker, samples for the loudspeaker end to the earphone, exports the result of sampling;
The arithmetic and control unit, the result of the sampling for being exported according to the signal picker generates the impedance of the earphone Array, and, compare the impedance array and reference impedance set of arrays, the Optimal Parameters of earphone are determined according to comparative result;Its In, the data structure of the impedance array is corresponding with the data structure of the headset type reference impedance array for pre-setting;
The filtering gain device, the Optimal Parameters for receiving the arithmetic and control unit output adjust audio signal, with And, with earphone described in the audio-signal-driven after adjustment.
CN201611076230.1A 2016-11-29 2016-11-29 Method and device for obtaining earphone optimization parameters and audio providing method and system Active CN106775558B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611076230.1A CN106775558B (en) 2016-11-29 2016-11-29 Method and device for obtaining earphone optimization parameters and audio providing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611076230.1A CN106775558B (en) 2016-11-29 2016-11-29 Method and device for obtaining earphone optimization parameters and audio providing method and system

Publications (2)

Publication Number Publication Date
CN106775558A true CN106775558A (en) 2017-05-31
CN106775558B CN106775558B (en) 2020-03-06

Family

ID=58901023

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611076230.1A Active CN106775558B (en) 2016-11-29 2016-11-29 Method and device for obtaining earphone optimization parameters and audio providing method and system

Country Status (1)

Country Link
CN (1) CN106775558B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107205188A (en) * 2017-06-27 2017-09-26 上海与德科技有限公司 A kind of method of earphone, mobile terminal and earphone work
CN107484081A (en) * 2017-07-27 2017-12-15 努比亚技术有限公司 A kind of method of adjustment of audio signal, device, terminal and computer-readable recording medium
CN107885480A (en) * 2017-10-12 2018-04-06 Tcl通力电子(惠州)有限公司 Interface detects circuit and audio frequency apparatus
CN107948790A (en) * 2017-11-30 2018-04-20 北京松果电子有限公司 Earphone recognition methods and device
CN108307284A (en) * 2017-12-29 2018-07-20 青岛海信移动通信技术股份有限公司 A kind of method, device and mobile terminal of automatic detection loud speaker

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103546852A (en) * 2012-07-09 2014-01-29 马克西姆综合产品公司 System and method for optimized playback of audio signals through headphones
CN103702253A (en) * 2013-12-16 2014-04-02 联想(北京)有限公司 Information processing method and electronic equipment
US20140233741A1 (en) * 2013-02-20 2014-08-21 Qualcomm Incorporated System and method of detecting a plug-in type based on impedance comparison

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103546852A (en) * 2012-07-09 2014-01-29 马克西姆综合产品公司 System and method for optimized playback of audio signals through headphones
US20140233741A1 (en) * 2013-02-20 2014-08-21 Qualcomm Incorporated System and method of detecting a plug-in type based on impedance comparison
CN103702253A (en) * 2013-12-16 2014-04-02 联想(北京)有限公司 Information processing method and electronic equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107205188A (en) * 2017-06-27 2017-09-26 上海与德科技有限公司 A kind of method of earphone, mobile terminal and earphone work
CN107484081A (en) * 2017-07-27 2017-12-15 努比亚技术有限公司 A kind of method of adjustment of audio signal, device, terminal and computer-readable recording medium
CN107885480A (en) * 2017-10-12 2018-04-06 Tcl通力电子(惠州)有限公司 Interface detects circuit and audio frequency apparatus
CN107948790A (en) * 2017-11-30 2018-04-20 北京松果电子有限公司 Earphone recognition methods and device
CN108307284A (en) * 2017-12-29 2018-07-20 青岛海信移动通信技术股份有限公司 A kind of method, device and mobile terminal of automatic detection loud speaker

Also Published As

Publication number Publication date
CN106775558B (en) 2020-03-06

Similar Documents

Publication Publication Date Title
CN106775558A (en) Method, device and the audio for obtaining earphone Optimal Parameters provide method, system
US8369549B2 (en) Hearing aid system adapted to selectively amplify audio signals
US6840908B2 (en) System and method for remotely administered, interactive hearing tests
US8559645B2 (en) Method and device for setting a hearing device by detecting listening effort
CN105163262B (en) A kind of loudspeaker sound detection method and detecting system
WO2001026272A2 (en) Internet based hearing assessment methods
US7940945B2 (en) Method for operating a wireless audio signal receiver unit and system for providing hearing assistance to a user
CN103188594B (en) A kind of earphone detection circuit and its detection method
CN108882136A (en) With the binaural hearing aid system for coordinating acoustic processing
AU2018267697B2 (en) A system for configuring a hearing device
CN110368005A (en) A kind of intelligent earphone and mood and physiological health monitoring method based on intelligent earphone
CN105530565A (en) Automatic sound equalization device
WO2009010069A1 (en) Method of determining a class of a load connected to an amplifier output
CN104205221A (en) Method and apparatus for outputting audio signal, and method of adjusting volume of the audio signal
CN109716793A (en) Filter generating means, filter generation method and program
CN115604628B (en) Filter calibration method and device based on earphone loudspeaker frequency response
CN107026953A (en) Diagnostic device and diagnostic system
CN106909360A (en) A kind of electronic installation, sound play device and balanced device method of adjustment
CN112487865A (en) Automatic loudspeaker classification method based on machine learning
US8918182B2 (en) Methods and systems for automatically determining an implant side associated with a cochlear implant
JP2010226332A (en) Portable terminal device, and server
CN105748079B (en) A kind of hearing test method and system based on bluetooth headset
CN107181996A (en) The method and apparatus that a kind of audio amplitude for audio amplifier is limited
CN107688451A (en) The electronic installation of equalizer settings can be adjusted according to image of face identification result
CN211184099U (en) Intelligent sound device and television

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Patentee after: Qingdao Hisense Mobile Communication Technology Co.,Ltd.

Address before: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Patentee before: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd.

CP01 Change in the name or title of a patent holder