CN115550829B - Method and system for testing T/S parameters of loudspeaker - Google Patents

Method and system for testing T/S parameters of loudspeaker Download PDF

Info

Publication number
CN115550829B
CN115550829B CN202211495736.1A CN202211495736A CN115550829B CN 115550829 B CN115550829 B CN 115550829B CN 202211495736 A CN202211495736 A CN 202211495736A CN 115550829 B CN115550829 B CN 115550829B
Authority
CN
China
Prior art keywords
data
impedance
value
initial
loudspeaker
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211495736.1A
Other languages
Chinese (zh)
Other versions
CN115550829A (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 Crysound Electronics Co Ltd
Original Assignee
Hangzhou Crysound Electronics 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 Crysound Electronics Co Ltd filed Critical Hangzhou Crysound Electronics Co Ltd
Priority to CN202211495736.1A priority Critical patent/CN115550829B/en
Publication of CN115550829A publication Critical patent/CN115550829A/en
Application granted granted Critical
Publication of CN115550829B publication Critical patent/CN115550829B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R29/00Monitoring arrangements; Testing arrangements
    • H04R29/001Monitoring arrangements; Testing arrangements for loudspeakers

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)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The invention relates to the technical field of speakers, in particular to a method and a system for testing T/S parameters of a speaker. A method for testing T/S parameters of a loudspeaker comprises the following steps of L1, selecting an adjustable resistor to be connected with the loudspeaker in series, and selecting a fixed power supply to supply power to the adjustable resistor and the loudspeaker, wherein the fixed power supply has a fixed voltage value; l2, adjusting the resistance value of the adjustable resistor, and recording the corresponding resistance value of the adjustable resistor as a first resistance value; playing a test audio through a loudspeaker, and simultaneously acquiring voltage data of an adjustable resistor; and calculating to obtain the current data of the adjustable resistor through the voltage data of the adjustable resistor and the first resistance value of the adjustable resistor. Each impedance data is obtained by acquiring voltage data of the adjustable resistor with the resistance value close to the corresponding impedance value, so that the finally determined impedance curve of the loudspeaker is more accurate, and the finally calculated T/S parameter of the loudspeaker is more accurate.

Description

Method and system for testing T/S parameters of loudspeaker
Technical Field
The invention relates to the technical field of speakers, in particular to a method and a system for testing T/S parameters of a speaker.
Background
Thiele-Small parameters (T/S parameters for short) are basic parameters of a mathematical model of a loudspeaker system proposed by A.N. Thiele and R.H. Small, are important parameters for measuring the performance of the loudspeaker, and are mostly applied to the research of the loudspeaker. More parameters in the T/S parameters need to be obtained through impedance curve calculation of the loudspeaker, so the accuracy of the impedance curve directly influences the accuracy of the T/S parameters.
The impedance curve of a loudspeaker in the prior art is obtained by: the method comprises the steps of firstly playing required audio signals through a loudspeaker, then collecting current signals and voltage signals when the loudspeaker plays the audio signals, then carrying out Fourier transform on the current signals and the voltage signals to obtain frequency domain current signals and frequency domain voltage signals, and finally determining to obtain an impedance curve of the loudspeaker through the frequency domain current signals and the frequency domain voltage signals.
However, if the collected current signal and voltage signal are not accurate, the determined impedance curve of the speaker is not accurate, and the finally calculated T/S parameter of the speaker is not accurate.
Disclosure of Invention
The invention provides a method and a system for testing T/S parameters of a loudspeaker aiming at the problems in the prior art, wherein each impedance data is obtained by acquiring voltage data of an adjustable resistor with a resistance value close to a corresponding impedance value, so that the finally determined impedance curve of the loudspeaker is more accurate, and the finally calculated T/S parameters of the loudspeaker are more accurate.
The technical scheme adopted by the invention for solving the technical problems is as follows: a method for testing T/S parameters of a loudspeaker comprises the following steps
L1, selecting an adjustable resistor to be connected with a loudspeaker in series, and selecting a fixed power supply to supply power to the adjustable resistor and the loudspeaker, wherein the fixed power supply has a fixed voltage value;
l2, adjusting the resistance value of the adjustable resistor, and recording the corresponding resistance value of the adjustable resistor as a first resistance value; playing a test audio through a loudspeaker, and simultaneously acquiring voltage data of an adjustable resistor; calculating to obtain current data of the adjustable resistor according to the voltage data of the adjustable resistor and the first resistance value of the adjustable resistor;
l3, taking the current data of the adjustable resistor as initial current data of the loudspeaker, and calculating to obtain initial voltage data of the loudspeaker through the fixed voltage value and the voltage data of the adjustable resistor; calculating initial impedance data of the loudspeaker through initial voltage data of the loudspeaker and initial current data of the loudspeaker;
l4, partitioning the initial impedance data of the loudspeaker to obtain N initial impedance data areas; and setting the initial value of n to 1;
l5, calculating an impedance mean value of the nth initial impedance data area, comparing the impedance mean value with a first resistance value, and entering L6 when the absolute value of the difference value between the impedance mean value and the first resistance value is greater than a first preset threshold value; otherwise, adding one to the value of N, judging whether the value of N is larger than N, returning to L5 when the value of N is smaller than or equal to N, and entering L9 when the value of N is larger than N;
l6, adjusting the resistance value of the adjustable resistor to be equal to the impedance mean value, and recording the corresponding resistance value of the adjustable resistor as a second resistance value; playing a test audio through a loudspeaker, and simultaneously acquiring latest voltage data of the adjustable resistor; calculating to obtain the latest current data of the adjustable resistor according to the latest voltage data of the adjustable resistor and the second resistance value of the adjustable resistor;
l7, taking the latest current data of the adjustable resistor as the latest current data of the loudspeaker, and calculating the latest voltage data of the loudspeaker through the fixed voltage value and the latest voltage data of the adjustable resistor; calculating the latest impedance data of the loudspeaker through the latest voltage data and the latest current data of the loudspeaker;
l8, partitioning the latest impedance data of the loudspeaker to obtain N latest impedance data areas; replacing the nth initial impedance data area in the initial impedance data of the loudspeaker with the nth latest impedance data area, adding one to the value of N, judging whether the value of N is greater than N, returning to L5 when the value of N is less than or equal to N, and entering L9 when the value of N is greater than N;
and L9, converting the final initial impedance data of the loudspeaker into a frequency domain to obtain an impedance curve of the loudspeaker, and calculating the T/S parameter of the loudspeaker according to the impedance curve.
Preferably, the step of partitioning the initial impedance data of the speaker in L4 comprises
L41, acquiring a starting data point of the current initial impedance data area;
and L42, acquiring an end data point of the current initial impedance data area.
Preferably, L41 specifically includes:
judging whether the current initial impedance data area is a first initial impedance data area or not, and if so, taking a first data point of the initial impedance data of the loudspeaker as an initial data point of the current initial impedance data area; otherwise, taking the next data point of the ending data point of the previous initial impedance data area as the starting data point of the current initial impedance data area;
the L42 specifically includes: acquiring the number of data points between the initial data point of the current initial impedance data area and the last data point of the initial impedance data of the loudspeaker, and when the number of the data points is greater than a second preset threshold value, taking the mth data point adjacent to the initial data point of the current initial impedance data area as an end data point of the current initial impedance data area, and returning to L41; otherwise, the last data point of the initial impedance data of the loudspeaker is used as the ending data point of the current initial impedance data area.
Preferably, the step of determining the value of m in L42 comprises
L421, setting an initial value for m;
l422, taking the mth data point adjacent to the starting data point of the current initial impedance data area as a tentative ending data point of the current initial impedance data area;
l423, acquiring a minimum impedance value and a maximum impedance value of the current initial impedance data area according to the tentative ending data point, calculating a difference absolute value between the minimum impedance value and the maximum impedance value, and taking the tentative ending data point as a final ending data point when the difference absolute value is greater than or equal to a third preset threshold and less than or equal to a fourth preset threshold; when the absolute value of the difference is smaller than a third preset threshold, adding one to the value of m, and returning to L422; and when the absolute value of the difference is larger than a fourth preset threshold value, reducing the value of m by one, and returning to L422.
Preferably, the step of partitioning the initial impedance data of the speaker in L4 further comprises
Marking a start data point and an end data point of each initial impedance data area;
the step of partitioning the latest impedance data of the speaker in the L8 comprises
L81, setting the initial value of s to be 1;
l82, finding an s-th initial impedance data area in the initial impedance data of the loudspeaker, finding a corresponding data point I in the latest impedance data of the loudspeaker according to the initial data point mark of the s-th initial impedance data area, and finding a corresponding data point II in the latest impedance data of the loudspeaker according to the end data point mark of the s-th initial impedance data area;
l83, taking the first data point as a starting data point of an s-th latest impedance data area of the latest impedance data of the loudspeaker, and taking the second data point as an ending data point of the s-th latest impedance data area of the latest impedance data of the loudspeaker;
and adding one to the value of L84.S, judging whether the value of s is larger than N, returning to L82 when the value of s is smaller than or equal to N, and ending when the value of s is larger than N.
A test system for T/S parameters of loudspeaker is used for the test method, and comprises
The fixed voltage value acquisition module is used for acquiring a fixed voltage value of the fixed power supply;
the first resistance value obtaining module is used for obtaining a first resistance value of the adjustable resistor;
the adjustable resistor voltage data acquisition module is used for acquiring voltage data of the adjustable resistor when the adjustable resistor is a first resistance value;
the adjustable resistor current data acquisition module is used for calculating current data of the adjustable resistor according to the voltage data of the adjustable resistor and the first resistance value of the adjustable resistor;
the initial current data acquisition module is used for taking the current data of the adjustable resistor as the initial current data of the loudspeaker;
the initial voltage data acquisition module is used for calculating initial voltage data of the loudspeaker through the fixed voltage value and the voltage data of the adjustable resistor;
the initial impedance data acquisition module is used for calculating initial impedance data of the loudspeaker through initial voltage data of the loudspeaker and initial current data of the loudspeaker;
the initial impedance data partitioning module is used for partitioning the initial impedance data of the loudspeaker to obtain N initial impedance data areas;
the impedance mean value calculation module is used for calculating the impedance mean value of the current initial impedance data area;
the impedance mean value judging module is used for comparing the impedance mean value of the current initial impedance data area with the first resistance value;
the N value judging module is used for comparing the current N value with N;
the second resistance value obtaining module is used for obtaining a second resistance value of the adjustable resistor;
the adjustable resistor latest voltage data acquisition module is used for acquiring the latest voltage data of the adjustable resistor when the adjustable resistor is the second resistance value;
the adjustable resistor latest current data acquisition module is used for calculating the latest current data of the adjustable resistor according to the latest voltage data of the adjustable resistor and the second resistance value of the adjustable resistor;
the current data acquisition module is used for taking the latest current data of the adjustable resistor as the latest current data of the loudspeaker;
the latest voltage data acquisition module is used for calculating the latest voltage data of the loudspeaker through the fixed voltage value and the latest voltage data of the adjustable resistor;
the latest impedance data acquisition module is used for calculating the latest impedance data of the loudspeaker through the latest voltage data of the loudspeaker and the latest current data of the loudspeaker;
the latest impedance data partitioning module is used for partitioning the latest impedance data of the loudspeaker to obtain N latest impedance data areas;
the impedance data replacement module is used for replacing the current latest impedance data area with a corresponding initial impedance data area in the initial impedance data of the loudspeaker;
the impedance curve acquisition module is used for converting the final initial impedance data of the loudspeaker into a frequency domain to obtain an impedance curve of the loudspeaker;
and the T/S parameter calculating module is used for calculating the T/S parameters of the loudspeaker according to the impedance curve.
Preferably, the initial impedance data partitioning module comprises
The initial data point acquisition unit is used for acquiring an initial data point of the current initial impedance data area;
and the end data point acquisition unit is used for acquiring an end data point of the current initial impedance data area.
Preferably, the initial data point obtaining unit includes
The initial impedance data area occurrence frequency judging subunit is used for judging whether the current initial impedance data area is a first initial impedance data area or not;
the end data point acquisition unit includes
The data point number obtaining subunit is used for obtaining the number of data points between the initial data point of the current initial impedance data area and the last data point of the initial impedance data of the loudspeaker;
and the data point number judging subunit is used for comparing the data point number acquired by the first data point number acquiring subunit with a second preset threshold.
Preferably, the end data point obtaining unit further includes
An m initial value setting subunit, configured to set an initial value for m;
an end data point tentative subunit, configured to use an mth data point adjacent to the start data point of the current initial impedance data area as a tentative end data point of the current initial impedance data area;
the minimum and maximum impedance value obtaining and calculating subunit is used for obtaining a minimum impedance value and a maximum impedance value of the current initial impedance data area according to the tentative end data point and calculating a difference absolute value between the minimum impedance value and the maximum impedance value;
a final end data point determining subunit, configured to, when the absolute value of the difference is greater than or equal to a third preset threshold and less than or equal to a fourth preset threshold, take the tentative end data point as a final end data point;
the m value adjusting subunit is used for adding one to the value of m when the absolute value of the difference value is smaller than a third preset threshold value; and when the absolute value of the difference is larger than a fourth preset threshold value, reducing the value of m by one.
Preferably, the initial impedance data partitioning module further comprises
The initial data point marking unit is used for marking an initial data point of the current initial impedance data area;
the end data point marking unit is used for marking an end data point of the current initial impedance data area;
the latest impedance data partitioning module comprises
A first data point and a second data point determining unit, which is used for finding a corresponding first data point in the latest impedance data of the loudspeaker according to the initial data point mark of the current initial impedance data area and finding a corresponding second data point in the latest impedance data of the loudspeaker according to the ending data point mark of the current initial impedance data area;
and the latest impedance data partitioning unit is used for taking the data point I as a starting data point of the current latest impedance data area of the latest impedance data of the loudspeaker and taking the data point II as an ending data point of the current latest impedance data area of the latest impedance data of the loudspeaker.
Advantageous effects
The method comprises the steps of firstly collecting voltage data of an adjustable resistor with a resistance value of a first resistance value, and calculating to obtain initial impedance data of a loudspeaker through corresponding voltage data; then, partition processing is carried out on the initial impedance data of the loudspeaker, whether the impedance mean value of the initial impedance data area is close to the first resistance value or not is judged one by one, if the impedance mean value is close, the impedance data corresponding to the initial impedance data area is directly used, if the impedance mean value is not close, voltage data of an adjustable resistor with the same resistance value as the corresponding impedance mean value is collected again, the latest impedance data of the loudspeaker are obtained through calculation of the corresponding voltage data, partition processing is carried out on the latest impedance data of the loudspeaker, the latest impedance data area corresponding to the current initial impedance data area is found out, and then the impedance data of the current initial impedance data area is replaced by the impedance data of the corresponding latest impedance data area; the final initial impedance data of the loudspeaker are obtained by acquiring voltage data of the adjustable resistor with the resistance value close to the corresponding impedance value, so that the finally determined impedance curve of the loudspeaker is more accurate, and the finally calculated T/S parameter accuracy of the loudspeaker is higher.
Drawings
FIG. 1 is a schematic diagram of a system for testing T/S parameters of a speaker according to an embodiment of the present invention;
fig. 2 is a schematic diagram of the initial impedance data partitioning module and the latest impedance data partitioning module according to the embodiment of the present invention.
Detailed Description
The technical scheme of the invention is further explained by the specific implementation mode in combination with the attached drawings.
Example 1: a method for testing T/S parameters of a loudspeaker comprises the following steps
And L1, selecting an adjustable resistor to be connected with the loudspeaker in series, and selecting a fixed power supply to supply power to the adjustable resistor and the loudspeaker, wherein the fixed power supply has a fixed voltage value.
L2, adjusting the resistance value of the adjustable resistor, and recording the corresponding resistance value of the adjustable resistor as a first resistance value, for example, the resistance value of the adjustable resistor may be adjusted to 8 ohms, that is, the first resistance value is 8 ohms. A test audio is played through the speaker, the frequency of which rises slowly from 20 Hz. Voltage data of the adjustable resistor are collected through a voltmeter when test audio is played, and the same time interval exists between every two adjacent voltage data points. And finally, calculating to obtain the current data of the adjustable resistor through the voltage data of the adjustable resistor and the first resistance value of the adjustable resistor, and taking a certain data point as an example, the current value of the corresponding data point can be obtained only by dividing the voltage value of the point by the first resistance value.
And L3, taking the current data of the adjustable resistor as initial current data of the loudspeaker, and calculating to obtain initial voltage data of the loudspeaker through the fixed voltage value and the voltage data of the adjustable resistor. Because the loudspeaker is connected with the adjustable resistor in series, the current data of the adjustable resistor can be directly used as the initial current data of the loudspeaker. In addition, the total power supply voltage after the loudspeaker is connected in series with the adjustable resistor is fixed, and taking a certain data point as an example, the voltage value of the loudspeaker corresponding to the data point can be obtained only by subtracting the voltage value of the adjustable resistor at the point from the fixed voltage value. And finally, calculating initial impedance data of the loudspeaker through the initial voltage data of the loudspeaker and the initial current data of the loudspeaker, taking a certain data point as an example, and obtaining the impedance value of the loudspeaker corresponding to the data point only by dividing the voltage value of the loudspeaker at the point by the current value of the loudspeaker at the point.
At this time, the initial impedance data of the speaker is determined, but if the first resistance value of the adjustable resistor is different from the actual impedance value of the speaker, the impedance data of the speaker calculated through steps L2 and L3 may have a certain deviation from the actual impedance data. For example, if the actual impedance value at a certain point of the speaker is 8 ohms and the first resistance value of the adjustable resistor is 8 ohms, the impedance value of the speaker calculated by steps L2 and L3 may be 8.1 ohms, which is more accurate. However, if the actual impedance value of the speaker at a certain point is 2 ohms and the first resistance value of the adjustable resistor is 8 ohms, the impedance value of the speaker calculated by steps L2 and L3 may be 2.6 ohms, which is not very accurate. Therefore, in this embodiment, the resistance value of the adjustable resistor needs to be adaptively adjusted according to the initial impedance data of the speaker to recalculate and obtain the impedance data of the speaker, so as to improve the accuracy of the impedance data of the speaker. The method is realized by the following steps:
in addition, when the resistance value of the adjustable resistor is adjusted, because the impedance value in the initial impedance data of the entire speaker is constantly changed, the resistance value of the adjustable resistor cannot be adjusted only once, but the resistance value of the adjustable resistor needs to be constantly adjusted according to the change trend of the initial impedance data of the speaker, and therefore, the initial impedance data of the speaker needs to be partitioned through the step L4 in this embodiment.
And L4, partitioning the initial impedance data of the loudspeaker to obtain N initial impedance data areas. For example, assuming that the entire initial impedance data has 1000 data points, it is possible to divide the 1 st data point to the 52 th data point as the 1 st initial impedance data region, the 53 th data point to the 108 th data point as the 2 nd initial impedance data region, and the 109 th data point to the 179 th data point as the 3 rd initial impedance data region. The specific value of N needs to be determined after the initial impedance data partitioning is completed. Wherein L4 specifically comprises the following steps
L41, acquiring a starting data point of the current initial impedance data area: judging whether the current initial impedance data area is a first initial impedance data area or not, and if so, taking a first data point of the initial impedance data of the loudspeaker as an initial data point of the current initial impedance data area; otherwise, the next data point of the ending data point of the last initial impedance data area is used as the starting data point of the current initial impedance data area.
The division of an initial impedance data area requires first determining a start data point and an end data point corresponding to the initial impedance data area, and when the start data point and the end data point are determined, the corresponding initial impedance data area is determined (the start data point, the end data point, and all data points between the start data point and the end data point form the corresponding initial impedance data area).
When the initial data point is determined, if the 1 st initial impedance data area is divided, the first data point of the initial impedance data of the loudspeaker is used as the initial data point of the 1 st initial impedance data area; if the 1 st initial impedance data area is not divided, for example, the 2 nd initial impedance data area is divided, only the next data point of the end data point of the 1 st initial impedance data area needs to be the start data point of the 2 nd initial impedance data area.
And L42, acquiring an end data point of the current initial impedance data area: acquiring the number of data points between the initial data point of the current initial impedance data area and the last data point of the initial impedance data of the loudspeaker, and when the number of the data points is greater than a second preset threshold (assuming that the second preset threshold is 50), taking the mth data point adjacent to the initial data point of the current initial impedance data area as the end data point of the current initial impedance data area, and returning to L41 to acquire the initial data point of the next initial impedance data area; otherwise, the last data point of the initial impedance data of the loudspeaker is used as the ending data point of the current initial impedance data area.
When determining the end data point of the current initial impedance data area, the number of data points between the start data point of the current initial impedance data area and the last data point of the initial impedance data of the speaker needs to be counted first, and if the number of data points is small, for example, only 20 (i.e., the number of data points is smaller than the second preset threshold), the last data point of the initial impedance data of the speaker can be used as the end data point of the current initial impedance data area. If there are many more data points, for example, 800 data points (i.e., the number of data points is greater than the second preset threshold), the mth data point adjacent to the start data point of the current initial impedance data area is used as the end data point of the current initial impedance data area.
Wherein the step of determining the value of m in L42 specifically comprises
L421. M is set with an initial value, and the initial value of each m may be the same, for example, the initial value of m may be 50.
L422, the mth data point (which may be, for example, the 50 th data point) adjacent to the start data point of the current initial impedance data area is taken as the tentative end data point of the current initial impedance data area.
And L423, acquiring a minimum impedance value and a maximum impedance value of the current initial impedance data area according to the tentative ending data point, acquiring the tentative current initial impedance data area through the tentative ending data point, and acquiring the minimum impedance value and the maximum impedance value in the tentative current initial impedance data area. Then, the absolute value of the difference between the minimum impedance value and the maximum impedance value is calculated, and when the absolute value of the difference is greater than or equal to a third preset threshold (for example, 0.5 ohm) and less than or equal to a fourth preset threshold (for example, 1 ohm), it is appropriate that the number of data points in the tentative current initial impedance data area and the variation amplitude of the impedance value are both appropriate, so that the tentative ending data point is directly used as the final ending data point. When the absolute value of the difference is smaller than the third preset threshold, it means that the number of data points in the temporary current initial impedance data area can be increased again, so that it is necessary to increase the value of m by one, return to L422, and re-determine the end data point. When the absolute value of the difference is greater than the fourth preset threshold, it indicates that the range of the change in the impedance value of the tentative current initial impedance data area is not satisfactory, and the number of data points in the current initial impedance data area needs to be reduced to make the range of the change in the impedance value satisfy the requirement, so that the value of m needs to be reduced by one, and the L422 is returned to re-determine the end data point.
After step L4 is completed, the partitioning of the initial impedance data of the loudspeaker is completed, and the value of N is also determined (e.g. may be 30). L4 also needs to set the initial value of n to 1.
L5, calculating an impedance average value of the nth initial impedance data area, comparing the impedance average value with the first resistance value, and entering L6 when an absolute value of a difference value between the impedance average value and the first resistance value is greater than a first preset threshold (for example, may be 3 ohms); otherwise, adding one to the value of N, judging whether the value of N is larger than N, returning to L5 when the value of N is smaller than or equal to N, and entering L9 when the value of N is larger than N.
After the partition operation is completed, the impedance mean value of each initial impedance data area needs to be calculated in sequence, if the impedance mean value of a certain initial impedance data area is not greatly different from the first resistance value, the voltage data acquired by the corresponding adjustable resistor is more accurate, and the calculated impedance data of the loudspeaker is more accurate, so that the initial impedance data of the corresponding initial impedance data area can be directly used, and at the moment, the L5 is only needed to be returned to process the next initial impedance data area. If the difference between the impedance average value of a certain initial impedance data area and the first resistance value is large, the voltage data acquired corresponding to the adjustable resistor is not accurate, and further the calculated impedance data of the loudspeaker is not accurate, so that the initial impedance data corresponding to the initial impedance data area cannot be directly used, and the initial impedance data corresponding to the initial impedance data area needs to be replaced.
For example, the impedance average value of the 1 st initial impedance data area is calculated first, and the obtained impedance average value is 2.5 ohms, and the first resistance value is 8 ohms, then the absolute value of the difference value between the two is 5.5 ohms and is greater than the first preset threshold (assuming that the first threshold is 3 ohms), so that L6 is required to be entered to retrieve the impedance data of a new speaker to replace the impedance data of the corresponding initial impedance data area.
For another example, when calculating the impedance average value of the 9 th initial impedance data area, the obtained impedance average value is 9.2 ohms, and the first resistance value is 8 ohms, then the absolute value of the difference between the two is 1.2 ohms, and is smaller than the first preset threshold (assuming that the first threshold is 3 ohms), then the impedance data of the 9 th initial impedance data area does not need to be replaced, at this time, the value of N needs to be increased by one, and is changed from 9 to 10, and since the value of N is smaller than 30 (assuming that N is 30), the step L5 needs to be returned to process the next initial impedance data area.
For another example, when calculating the impedance average value of the 30 th initial impedance data area, the obtained impedance average value is 7.1 ohms, the first resistance value is 8 ohms, the absolute value of the difference between the two is 0.9 ohms, and is smaller than the first preset threshold (assuming that the first threshold is 3 ohms), then the impedance data of the 30 th initial impedance data area does not need to be replaced, at this time, the value of N needs to be increased by one, and is changed from 30 to 31, and since the value of N is larger than 30 (assuming that N is 30), the replacement operation of the initial impedance data of the speaker is completed, and the speaker can directly enter L9 for further processing.
L6, adjusting the resistance value of the adjustable resistor to be equal to the impedance mean value, and recording the corresponding resistance value of the adjustable resistor as a second resistance value; playing a test audio through a loudspeaker, and simultaneously acquiring latest voltage data of the adjustable resistor; and calculating the latest current data of the adjustable resistor according to the latest voltage data of the adjustable resistor and the second resistance value of the adjustable resistor.
The processing method in step L6 is the same as that in step L2, except that the resistance value of the adjustable resistor needs to be adjusted to be equal to the impedance mean value (i.e. the first resistance value of the adjustable resistor needs to be adjusted to be the second resistance value, and the resistance value of the adjustable resistor does not need to be absolutely equal to the impedance mean value, but only needs to be approximately equal). In addition, the played test audio needs to be the same as the test audio played in step L2, and the time interval between two adjacent voltage data points in the latest voltage data is also the same as the time interval between two adjacent voltage data points in step L2.
L7, taking the latest current data of the adjustable resistor as the latest current data of the loudspeaker, and calculating the latest voltage data of the loudspeaker through the fixed voltage value and the latest voltage data of the adjustable resistor; and calculating the latest impedance data of the loudspeaker through the latest voltage data and the latest current data of the loudspeaker.
The processing method of step L7 is the same as that of step L3, and the latest impedance data of a set of speakers can be obtained by step L7.
L8, partitioning the latest impedance data of the loudspeaker to obtain N latest impedance data areas; and replacing the nth initial impedance data area in the initial impedance data of the loudspeaker with the nth latest impedance data area, adding one to the value of N, judging whether the value of N is greater than N, returning to L5 when the value of N is less than or equal to N, and entering L9 when the value of N is greater than N.
The latest impedance data of the speaker also needs to be partitioned, and the partitioned latest impedance data areas need to correspond one-to-one to the initial impedance data areas. Specifically, the step of partitioning the initial impedance data of the speaker in L4 further includes
The start data point and the end data point of each initial impedance data area are marked, for example, the start data point of the 1 st initial impedance data area is recorded as the several data (assumed as the 1 st) of the initial impedance data of the speaker, the end data point of the 1 st initial impedance data area is recorded as the several data (assumed as the 66 th) of the initial impedance data of the speaker, the start data point of the 30 th initial impedance data area is recorded as the several data (assumed as the 975 th) of the initial impedance data of the speaker, and the end data point of the 30 th initial impedance data area is recorded as the several data (assumed as the 1000 th) of the initial impedance data of the speaker.
The step of partitioning the latest impedance data of the speaker in L8 includes L81. Setting an initial value of s to 1. And L82, finding an s-th initial impedance data area in the initial impedance data of the loudspeaker, finding a corresponding data point I in the latest impedance data of the loudspeaker according to the initial data point mark of the s-th initial impedance data area, and finding a corresponding data point II in the latest impedance data of the loudspeaker according to the end data point mark of the s-th initial impedance data area. And L83, taking the data point I as a starting data point of an s-th latest impedance data area of the latest impedance data of the loudspeaker, and taking the data point II as an ending data point of the s-th latest impedance data area of the latest impedance data of the loudspeaker. And adding one to the value of L84.S, judging whether the value of s is larger than N, returning to L82 when the value of s is smaller than or equal to N, and ending when the value of s is larger than N.
Specifically, the following steps can be performed: l81. Set the initial value of s to 1. L82, finding a 1 st initial impedance data area in the initial impedance data of the loudspeaker, finding a first corresponding data point (1 st) in the latest impedance data of the loudspeaker according to the start data point mark of the 1 st initial impedance data area, and finding a second corresponding data point (66 th) in the latest impedance data of the loudspeaker according to the end data point mark of the 1 st initial impedance data area. L83, take the data point one (i.e., the 1 st data point in the latest impedance data for the speaker) as the beginning data point of the 1 st latest impedance data region of the latest impedance data for the speaker, and take the data point two (i.e., the 66 th data point in the latest impedance data for the speaker) as the ending data point of the 1 st latest impedance data region of the latest impedance data for the speaker. The value of L84.S plus one becomes 2, and since 2 is less than 30, the procedure returns to step L82 to divide the next latest impedance data area, so.... L82. Find the 30 th initial impedance data area in the initial impedance data of the speaker, and find the corresponding data point one (975) in the latest impedance data of the speaker according to the start data point mark of the 30 th initial impedance data area, and find the corresponding data point two (1000) in the latest impedance data of the speaker according to the end data point mark of the 30 th initial impedance data area. L83. Take data point one (i.e., the 975 th data point in the latest impedance data for the speaker) as the start data point of the 30 th latest impedance data region of the latest impedance data for the speaker and take data point two (i.e., the 1000 th data point in the latest impedance data for the speaker) as the end data point of the 30 th latest impedance data region of the latest impedance data for the speaker. The value of l84.S plus one becomes 31, and since 31 is larger than 30, the partitioning operation of the latest impedance data area ends.
In addition, the value of n in step L8 corresponds to the value of n in step L5, for example, step L5 is the 1 st initial impedance data area, and step L8 corresponds to replacing the impedance data of the 1 st latest impedance data area with the impedance data of the 1 st initial impedance data area in step L5. After the replacement is completed, the value of N is increased by one, and becomes 2 from 1, and at this time, it is also necessary to determine whether the value of N is greater than N, and since the value of N is 2 and less than 30 (assuming that N is 30), it is necessary to return to step L5 to process the next initial impedance data area.
For another example, if the step L5 is the 30 th initial impedance data area, the step L8 is to replace the impedance data of the 30 th latest impedance data area with the impedance data of the 30 th initial impedance data area in the step L5. After the replacement is completed, the value of N is increased by one, which is changed from 30 to 31, at this time, it is also necessary to determine whether the value of N is greater than N, since the value of N is 31 and greater than 30 (assuming that N is 30), the replacement operation of the initial impedance data of the speaker is completed, and the process can be directly proceeded to L9 for the next processing.
And L9, converting the final initial impedance data of the loudspeaker into a frequency domain to obtain an impedance curve of the loudspeaker, and calculating the T/S parameter of the loudspeaker according to the impedance curve.
In this embodiment, the impedance data of each initial impedance data area is obtained by acquiring voltage data of an adjustable resistor with a resistance value close to the impedance value of the corresponding area, so that the accuracy of the final initial impedance data of the loudspeaker is higher, that is, the accuracy of the finally determined impedance curve of the loudspeaker is higher, and the accuracy of the finally calculated T/S parameter of the loudspeaker is higher.
Example 2: a test system of T/S parameters of a loudspeaker is used for the test method of embodiment 1, and specifically comprises a fixed voltage value acquisition module, a first resistance value acquisition module, an adjustable resistance voltage data acquisition module, an adjustable resistance current data acquisition module, an initial voltage data acquisition module, an initial impedance data partitioning module, an impedance mean value calculation module, an impedance mean value judgment module, an n value judgment module, a second resistance value acquisition module, an adjustable resistance latest voltage data acquisition module, an adjustable resistance latest current data acquisition module, an latest voltage data acquisition module, an latest impedance data partitioning module, an impedance data replacement module, an impedance curve acquisition module and a T/S parameter calculation module, as shown in figure 1.
The fixed voltage value acquisition module is used for acquiring a fixed voltage value of the fixed power supply. The first resistance value obtaining module is used for obtaining a first resistance value of the adjustable resistor. The adjustable resistor voltage data acquisition module is used for acquiring voltage data of the adjustable resistor when the adjustable resistor is the first resistance value. The adjustable resistor current data acquisition module is used for calculating current data of the adjustable resistor according to the voltage data of the adjustable resistor and the first resistance value of the adjustable resistor. The initial current data acquisition module is used for taking the current data of the adjustable resistor as the initial current data of the loudspeaker. The initial voltage data acquisition module is used for calculating initial voltage data of the loudspeaker through the fixed voltage value and the voltage data of the adjustable resistor. The initial impedance data acquisition module is used for calculating initial impedance data of the loudspeaker through initial voltage data of the loudspeaker and initial current data of the loudspeaker. The initial impedance data partitioning module is used for partitioning the initial impedance data of the loudspeaker to obtain N initial impedance data areas. The impedance mean value calculation module is used for calculating the impedance mean value of the current initial impedance data area. The impedance mean value judging module is used for comparing the impedance mean value of the current initial impedance data area with the first resistance value. The N value judging module is used for comparing the current N value with N. The second resistance value obtaining module is used for obtaining a second resistance value of the adjustable resistor. The adjustable resistor latest voltage data acquisition module is used for acquiring the latest voltage data of the adjustable resistor when the adjustable resistor is the second resistance value. The adjustable resistor latest current data acquisition module is used for calculating the latest current data of the adjustable resistor according to the latest voltage data of the adjustable resistor and the second resistance value of the adjustable resistor. The latest current data acquisition module is used for taking the latest current data of the adjustable resistor as the latest current data of the loudspeaker. And the latest voltage data acquisition module is used for calculating the latest voltage data of the loudspeaker through the fixed voltage value and the latest voltage data of the adjustable resistor. The latest impedance data acquisition module is used for calculating the latest impedance data of the loudspeaker through the latest voltage data and the latest current data of the loudspeaker. The latest impedance data partitioning module is used for partitioning the latest impedance data of the loudspeaker to obtain N latest impedance data areas. The impedance data replacement module is used for replacing the current latest impedance data area with the corresponding initial impedance data area in the initial impedance data of the loudspeaker. The impedance curve acquisition module is used for converting the final initial impedance data of the loudspeaker into a frequency domain to obtain an impedance curve of the loudspeaker. And the T/S parameter calculation module is used for calculating the T/S parameter of the loudspeaker according to the impedance curve.
Further, as shown in fig. 2, the initial impedance data partitioning module includes a start data point obtaining unit and an end data point obtaining unit. The initial data point acquisition unit is used for acquiring an initial data point of the current initial impedance data area. The end data point acquisition unit is used for acquiring an end data point of the current initial impedance data area.
Specifically, the initial data point obtaining unit includes an initial impedance data area occurrence frequency determining subunit, and the initial impedance data area occurrence frequency determining subunit is configured to determine whether the current initial impedance data area is a first initial impedance data area. The end data point acquisition unit comprises a data point number acquisition subunit and a data point number judgment subunit. The data point number acquiring subunit is used for acquiring the number of data points between the starting data point of the current initial impedance data area and the last data point of the initial impedance data of the loudspeaker. The data point number judging subunit is configured to compare the data point number acquired by the first data point number acquiring subunit with a second preset threshold.
The end data point acquisition unit also comprises an m initial value setting subunit, an end data point temporary subunit, a minimum and maximum impedance value acquisition and calculation subunit, a final end data point determination subunit and an m value adjustment subunit. The m initial value setting subunit is used for setting an initial value for m. The end data point tentative subunit is configured to use the mth data point adjacent to the start data point of the current initial impedance data area as a tentative end data point of the current initial impedance data area. The minimum and maximum impedance value obtaining and calculating subunit is used for obtaining the minimum impedance value and the maximum impedance value of the current initial impedance data area according to the tentative end data point, and calculating the absolute value of the difference between the minimum impedance value and the maximum impedance value. And the final end data point determining subunit is used for taking the tentative end data point as a final end data point when the absolute value of the difference is greater than or equal to a third preset threshold and less than or equal to a fourth preset threshold. The m value adjusting subunit is used for adding one to the value of m when the absolute value of the difference value is smaller than a third preset threshold value; and when the absolute value of the difference is larger than a fourth preset threshold value, reducing the value of m by one.
Further, as shown in fig. 2, the initial impedance data partitioning module further includes a start data point marking unit and an end data point marking unit. The initial data point marking unit is used for marking the initial data point of the current initial impedance data area. The end data point marking unit is used for marking the end data point of the current initial impedance data area. The latest impedance data partitioning module comprises a data point one and data point two determining unit and a latest impedance data partitioning unit. The first data point and second data point determining unit is used for finding a corresponding first data point in the latest impedance data of the loudspeaker according to the initial data point mark of the current initial impedance data area and finding a corresponding second data point in the latest impedance data of the loudspeaker according to the end data point mark of the current initial impedance data area. The latest impedance data partition unit is used for taking the data point I as a starting data point of a current latest impedance data area of the latest impedance data of the loudspeaker and taking the data point II as an ending data point of the current latest impedance data area of the latest impedance data of the loudspeaker.
In this embodiment, the impedance data of each initial impedance data area is obtained by acquiring voltage data of an adjustable resistor with a resistance value close to the impedance value of the corresponding area, so that the accuracy of the final initial impedance data of the loudspeaker is higher, that is, the accuracy of the finally determined impedance curve of the loudspeaker is higher, and the accuracy of the finally calculated T/S parameter of the loudspeaker is higher.
The above-described embodiments are merely illustrative of the preferred embodiments of the present invention, and do not limit the spirit and scope of the present invention. Various modifications and improvements of the technical solutions of the present invention may be made by those skilled in the art without departing from the design concept of the present invention, and the technical contents of the present invention are all described in the claims.

Claims (10)

1. A method for testing T/S parameters of a loudspeaker is characterized in that: comprises the following steps
L1, selecting an adjustable resistor to be connected with a loudspeaker in series, and selecting a fixed power supply to supply power to the adjustable resistor and the loudspeaker, wherein the fixed power supply has a fixed voltage value;
l2, adjusting the resistance value of the adjustable resistor, and recording the corresponding resistance value of the adjustable resistor as a first resistance value; playing a test audio through a loudspeaker, and simultaneously acquiring voltage data of an adjustable resistor; calculating to obtain current data of the adjustable resistor according to the voltage data of the adjustable resistor and the first resistance value of the adjustable resistor;
l3, taking the current data of the adjustable resistor as initial current data of the loudspeaker, and calculating to obtain initial voltage data of the loudspeaker through the fixed voltage value and the voltage data of the adjustable resistor; calculating initial impedance data of the loudspeaker through initial voltage data of the loudspeaker and initial current data of the loudspeaker;
l4, partitioning the initial impedance data of the loudspeaker to obtain N initial impedance data areas; and setting the initial value of n to 1;
l5, calculating an impedance mean value of the nth initial impedance data area, comparing the impedance mean value with a first resistance value, and entering L6 when the absolute value of the difference value between the impedance mean value and the first resistance value is greater than a first preset threshold value; otherwise, adding one to the value of N, judging whether the value of N is larger than N, returning to L5 when the value of N is smaller than or equal to N, and entering L9 when the value of N is larger than N;
l6, adjusting the resistance value of the adjustable resistor to be equal to the impedance mean value, and recording the corresponding resistance value of the adjustable resistor as a second resistance value; playing a test audio through a loudspeaker, and simultaneously acquiring latest voltage data of the adjustable resistor; calculating to obtain the latest current data of the adjustable resistor according to the latest voltage data of the adjustable resistor and the second resistance value of the adjustable resistor;
l7, taking the latest current data of the adjustable resistor as the latest current data of the loudspeaker, and calculating the latest voltage data of the loudspeaker through the fixed voltage value and the latest voltage data of the adjustable resistor; calculating the latest impedance data of the loudspeaker through the latest voltage data and the latest current data of the loudspeaker;
l8, partitioning the latest impedance data of the loudspeaker to obtain N latest impedance data areas; replacing the nth initial impedance data area in the initial impedance data of the loudspeaker with the nth latest impedance data area, adding one to the value of N, judging whether the value of N is greater than N, returning to L5 when the value of N is less than or equal to N, and entering L9 when the value of N is greater than N;
and L9, converting the final initial impedance data of the loudspeaker into a frequency domain to obtain an impedance curve of the loudspeaker, and calculating the T/S parameter of the loudspeaker according to the impedance curve.
2. The method for testing the T/S parameters of the loudspeaker according to claim 1, wherein: the step of partitioning the initial impedance data of the speaker in L4 comprises
L41, acquiring a starting data point of the current initial impedance data area;
and L42, acquiring an end data point of the current initial impedance data area.
3. The method for testing the T/S parameters of the loudspeaker according to claim 2, wherein: the L41 specifically includes:
judging whether the current initial impedance data area is a first initial impedance data area or not, and if so, taking a first data point of the initial impedance data of the loudspeaker as an initial data point of the current initial impedance data area; otherwise, taking the next data point of the ending data point of the previous initial impedance data area as the starting data point of the current initial impedance data area;
the L42 specifically includes: acquiring the number of data points between the initial data point of the current initial impedance data area and the last data point of the initial impedance data of the loudspeaker, and when the number of the data points is greater than a second preset threshold value, taking the mth data point adjacent to the initial data point of the current initial impedance data area as the end data point of the current initial impedance data area, and returning to L41; otherwise, the last data point of the initial impedance data of the loudspeaker is used as the ending data point of the current initial impedance data area.
4. The method for testing the T/S parameters of the loudspeaker according to claim 3, wherein: the step of determining the value of m in L42 comprises
L421, setting an initial value for m;
l422, taking the mth data point adjacent to the starting data point of the current initial impedance data area as a tentative ending data point of the current initial impedance data area;
l423, acquiring a minimum impedance value and a maximum impedance value of the current initial impedance data area according to the tentative ending data point, calculating a difference absolute value between the minimum impedance value and the maximum impedance value, and taking the tentative ending data point as a final ending data point when the difference absolute value is greater than or equal to a third preset threshold and less than or equal to a fourth preset threshold; when the absolute value of the difference is smaller than a third preset threshold, adding one to the value of m, and returning to L422; and when the absolute value of the difference is larger than a fourth preset threshold value, reducing the value of m by one, and returning to L422.
5. The method for testing the T/S parameters of the loudspeaker according to claim 4, wherein: the step of partitioning the initial impedance data of the speaker in the L4 further comprises
Marking a start data point and an end data point of each initial impedance data area;
the step of partitioning the latest impedance data of the speaker in the L8 comprises
L81, setting the initial value of s to be 1;
l82, finding an s-th initial impedance data area in the initial impedance data of the loudspeaker, finding a corresponding data point I in the latest impedance data of the loudspeaker according to the initial data point mark of the s-th initial impedance data area, and finding a corresponding data point II in the latest impedance data of the loudspeaker according to the end data point mark of the s-th initial impedance data area;
l83, taking the first data point as a starting data point of an s-th latest impedance data area of the latest impedance data of the loudspeaker, and taking the second data point as an ending data point of the s-th latest impedance data area of the latest impedance data of the loudspeaker;
and adding one to the value of L84.S, judging whether the value of s is larger than N, returning to L82 when the value of s is smaller than or equal to N, and ending when the value of s is larger than N.
6. A test system for T/S parameters of a speaker, which is used in the test method of claim 1, wherein: comprises that
The fixed voltage value acquisition module is used for acquiring a fixed voltage value of the fixed power supply;
the first resistance value obtaining module is used for obtaining a first resistance value of the adjustable resistor;
the adjustable resistor voltage data acquisition module is used for acquiring voltage data of the adjustable resistor when the adjustable resistor is a first resistance value;
the adjustable resistor current data acquisition module is used for calculating voltage data of the adjustable resistor and a first resistance value of the adjustable resistor to obtain current data of the adjustable resistor;
the initial current data acquisition module is used for taking the current data of the adjustable resistor as the initial current data of the loudspeaker;
the initial voltage data acquisition module is used for calculating initial voltage data of the loudspeaker through the fixed voltage value and the voltage data of the adjustable resistor;
the initial impedance data acquisition module is used for calculating initial impedance data of the loudspeaker through initial voltage data of the loudspeaker and initial current data of the loudspeaker;
the initial impedance data partitioning module is used for partitioning the initial impedance data of the loudspeaker to obtain N initial impedance data areas;
the impedance mean value calculation module is used for calculating the impedance mean value of the current initial impedance data area;
the impedance mean value judging module is used for comparing the impedance mean value of the current initial impedance data area with the first resistance value;
the N value judging module is used for comparing the current N value with N;
the second resistance value obtaining module is used for obtaining a second resistance value of the adjustable resistor;
the adjustable resistor latest voltage data acquisition module is used for acquiring the latest voltage data of the adjustable resistor when the adjustable resistor is the second resistance value;
the adjustable resistor latest current data acquisition module is used for calculating the latest current data of the adjustable resistor according to the latest voltage data of the adjustable resistor and the second resistance value of the adjustable resistor;
the current data acquisition module is used for taking the latest current data of the adjustable resistor as the latest current data of the loudspeaker;
the latest voltage data acquisition module is used for calculating the latest voltage data of the loudspeaker through the fixed voltage value and the latest voltage data of the adjustable resistor;
the latest impedance data acquisition module is used for calculating the latest impedance data of the loudspeaker through the latest voltage data of the loudspeaker and the latest current data of the loudspeaker;
the latest impedance data partitioning module is used for partitioning the latest impedance data of the loudspeaker to obtain N latest impedance data areas;
the impedance data replacement module is used for replacing the current latest impedance data area with a corresponding initial impedance data area in the initial impedance data of the loudspeaker;
the impedance curve acquisition module is used for converting the final initial impedance data of the loudspeaker into a frequency domain to obtain an impedance curve of the loudspeaker;
and the T/S parameter calculation module is used for calculating the T/S parameter of the loudspeaker according to the impedance curve.
7. The system for testing the T/S parameters of the loudspeaker according to claim 6, wherein: the initial impedance data partitioning module comprises
The initial data point acquisition unit is used for acquiring an initial data point of the current initial impedance data area;
and the end data point acquisition unit is used for acquiring an end data point of the current initial impedance data area.
8. The system for testing the T/S parameters of the loudspeaker according to claim 7, wherein: the starting data point acquisition unit includes
The initial impedance data area occurrence frequency judging subunit is used for judging whether the current initial impedance data area is a first initial impedance data area or not;
the end data point acquisition unit includes
A data point number obtaining subunit, configured to obtain a number of data points between a starting data point of the current initial impedance data area and a last data point of the initial impedance data of the speaker;
and the data point number judging subunit is used for comparing the data point number acquired by the first data point number acquiring subunit with a second preset threshold.
9. The system for testing the T/S parameters of the loudspeaker according to claim 8, wherein: the end data point acquisition unit further comprises
An m initial value setting subunit, configured to set an initial value for m;
an end data point tentative subunit, configured to use an mth data point adjacent to the start data point of the current initial impedance data area as a tentative end data point of the current initial impedance data area;
the minimum and maximum impedance value obtaining and calculating subunit is used for obtaining a minimum impedance value and a maximum impedance value of the current initial impedance data area according to the tentative end data point and calculating a difference absolute value between the minimum impedance value and the maximum impedance value;
a final end data point determining subunit, configured to, when the absolute value of the difference is greater than or equal to a third preset threshold and less than or equal to a fourth preset threshold, take the tentative end data point as a final end data point;
the m value adjusting subunit is used for adding one to the value of m when the absolute value of the difference value is smaller than a third preset threshold value; and when the absolute value of the difference is larger than a fourth preset threshold value, reducing the value of m by one.
10. The system for testing the T/S parameters of the loudspeaker according to claim 9, wherein: the initial impedance data partitioning module further comprises
The initial data point marking unit is used for marking an initial data point of the current initial impedance data area;
the end data point marking unit is used for marking an end data point of the current initial impedance data area;
the latest impedance data partitioning module comprises
A first data point and second data point determining unit, configured to find a first corresponding data point in the latest impedance data of the speaker according to the start data point flag of the current initial impedance data area, and find a second corresponding data point in the latest impedance data of the speaker according to the end data point flag of the current initial impedance data area;
and the latest impedance data partitioning unit is used for taking the data point I as a starting data point of the current latest impedance data area of the latest impedance data of the loudspeaker and taking the data point II as an ending data point of the current latest impedance data area of the latest impedance data of the loudspeaker.
CN202211495736.1A 2022-11-28 2022-11-28 Method and system for testing T/S parameters of loudspeaker Active CN115550829B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211495736.1A CN115550829B (en) 2022-11-28 2022-11-28 Method and system for testing T/S parameters of loudspeaker

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211495736.1A CN115550829B (en) 2022-11-28 2022-11-28 Method and system for testing T/S parameters of loudspeaker

Publications (2)

Publication Number Publication Date
CN115550829A CN115550829A (en) 2022-12-30
CN115550829B true CN115550829B (en) 2023-02-28

Family

ID=84721790

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211495736.1A Active CN115550829B (en) 2022-11-28 2022-11-28 Method and system for testing T/S parameters of loudspeaker

Country Status (1)

Country Link
CN (1) CN115550829B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102118678A (en) * 2011-04-02 2011-07-06 嘉兴中科声学科技有限公司 Method and system for measuring speaker parameters by using current sensor
CN103338429A (en) * 2013-06-25 2013-10-02 歌尔声学股份有限公司 Device and method for measuring impedance of loudspeaker
CN105103568A (en) * 2012-09-24 2015-11-25 Actiwave公司 Control and protection of loudspeakers
CN106501613A (en) * 2016-10-13 2017-03-15 乐视控股(北京)有限公司 The method of testing and test device of loudspeaker impedance
CN106851514A (en) * 2017-02-25 2017-06-13 中山市天键电声有限公司 Nonlinear loudspeaker parameter test device system and method for testing
CN107071684A (en) * 2017-06-23 2017-08-18 深圳精拓创新科技有限公司 Loudspeaker T/S parameter test methods and test device
JP2018201062A (en) * 2017-05-25 2018-12-20 プレザントンテクノロジー株式会社 Speaker drive device and speaker drive method
CN109089190A (en) * 2018-10-26 2018-12-25 Oppo广东移动通信有限公司 Impedance curve determines method, apparatus, storage medium and terminal device
CN109429139A (en) * 2017-08-24 2019-03-05 霍尼韦尔腾高电子系统(广州)有限公司 Real-time and non real-time detection method, device and the broadcast system of loudspeaker subregion
CN112492497A (en) * 2020-12-29 2021-03-12 西安讯飞超脑信息科技有限公司 T/S parameter measuring method and device for loudspeaker and electronic equipment
CN112544090A (en) * 2018-07-26 2021-03-23 思睿逻辑国际半导体有限公司 Audio circuit

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19960979A1 (en) * 1999-12-17 2001-07-05 Bosch Gmbh Robert Adaptive method for determining speaker parameters
EP2355542B1 (en) * 2010-02-04 2012-09-12 Nxp B.V. Control of a loudspeaker output
US9578417B2 (en) * 2013-09-16 2017-02-21 Cirrus Logic, Inc. Systems and methods for detection of load impedance of a transducer device coupled to an audio device
CN106068007B (en) * 2016-06-07 2019-09-13 瑞声科技(新加坡)有限公司 Nonlinear loudspeaker system identifying method
CN105916079B (en) * 2016-06-07 2019-09-13 瑞声科技(新加坡)有限公司 A kind of nonlinear loudspeaker compensation method and device
US10349195B1 (en) * 2017-12-21 2019-07-09 Harman International Industries, Incorporated Constrained nonlinear parameter estimation for robust nonlinear loudspeaker modeling for the purpose of smart limiting
US11425476B2 (en) * 2019-12-30 2022-08-23 Harman Becker Automotive Systems Gmbh System and method for adaptive control of online extraction of loudspeaker parameters

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102118678A (en) * 2011-04-02 2011-07-06 嘉兴中科声学科技有限公司 Method and system for measuring speaker parameters by using current sensor
CN105103568A (en) * 2012-09-24 2015-11-25 Actiwave公司 Control and protection of loudspeakers
CN103338429A (en) * 2013-06-25 2013-10-02 歌尔声学股份有限公司 Device and method for measuring impedance of loudspeaker
CN106501613A (en) * 2016-10-13 2017-03-15 乐视控股(北京)有限公司 The method of testing and test device of loudspeaker impedance
CN106851514A (en) * 2017-02-25 2017-06-13 中山市天键电声有限公司 Nonlinear loudspeaker parameter test device system and method for testing
JP2018201062A (en) * 2017-05-25 2018-12-20 プレザントンテクノロジー株式会社 Speaker drive device and speaker drive method
CN107071684A (en) * 2017-06-23 2017-08-18 深圳精拓创新科技有限公司 Loudspeaker T/S parameter test methods and test device
CN109429139A (en) * 2017-08-24 2019-03-05 霍尼韦尔腾高电子系统(广州)有限公司 Real-time and non real-time detection method, device and the broadcast system of loudspeaker subregion
CN112544090A (en) * 2018-07-26 2021-03-23 思睿逻辑国际半导体有限公司 Audio circuit
CN109089190A (en) * 2018-10-26 2018-12-25 Oppo广东移动通信有限公司 Impedance curve determines method, apparatus, storage medium and terminal device
CN112492497A (en) * 2020-12-29 2021-03-12 西安讯飞超脑信息科技有限公司 T/S parameter measuring method and device for loudspeaker and electronic equipment

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
mmPhone: Acoustic Eavesdropping on Loudspeakers via mmWave-characterized Piezoelectric Effect;Chao Wang,et al.;《IEEE INFOCOM 2022 - IEEE Conference on Computer Communications》;20220620;全文 *
Simulation and Analysis of Moving-coil Loudspeakers;Zixin Feng,et al.;《2020 International Conference on Culture-oriented Science & Technology (ICCST)》;20201124;全文 *
T-S参数在小型扬声器系统中的运用;钟旋等.;《中国声学学会2007年青年学术会议论文集(下)》;20071231;全文 *
扬声器参数集成检测系统的研究;穆瑞林等;《中国传媒大学学报(自然科学版)》;20180225(第01期);全文 *
模块化的多功能电声测试系统软件设计;王鸿姗.;《中国优秀硕士学位论文全文数据库(电子期刊)》;20210615;全文 *

Also Published As

Publication number Publication date
CN115550829A (en) 2022-12-30

Similar Documents

Publication Publication Date Title
US4458196A (en) Method and apparatus for high speed resistance, inductance and capacitance measurement
US8853516B2 (en) Audio analysis apparatus
US4513622A (en) Method of forming random vibration spectrum and device therefor
CN112037816B (en) Correction, howling detection and suppression method and device for frequency domain frequency of voice signal
CN111182435A (en) Testing method and device of voice equipment
CN110567575B (en) Automobile door lock joint sound quality evaluation method
US6970568B1 (en) Apparatus and method for analyzing an electro-acoustic system
CN115550829B (en) Method and system for testing T/S parameters of loudspeaker
CN107409256A (en) Sound field correcting apparatus, field calibration method and sound field correction program
US4845737A (en) Method for measuring line parameters of subscriber lines of a telecommunication system
JPS63193068A (en) Automatic peak amplitude measuring method
US20200342308A1 (en) Method and apparatus providing a trained signal classification neural network
US6453253B1 (en) Impulse response measuring method
CN107678333B (en) Step length time correction method and device based on equivalent time sequence sampling
CN109979487B (en) Voice signal detection method and device
CN116206628A (en) Multimedia multi-audio test method, system, multimedia device and storage medium
JP2004531754A (en) Method and apparatus for identifying electronic files
NL2024416B1 (en) Location determination system, method for determining a location and device for determining its location
EP1033817A1 (en) Distortion detecting device, distortion correcting device, and distortion correcting method for digital audio signal
JP2007189317A (en) Sound field correction device and control method thereof
CN112927720A (en) Audio anomaly detection method and device
JPH05188105A (en) Impulse response measuring apparatus
CN115665643B (en) Method and system for evaluating active noise reduction effect of earphone
CN114071343B (en) Audio equipment testing method, testing device and computer equipment
JPS59161908A (en) Compensator for requency characteristics

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