A method and device for determining geometric parameters of a resonator, a speaker, and a storage medium
By determining the peak and trough frequency of the speaker and calculating the geometric parameters of the resonator, the problem of reducing the complex design of the speaker and decreasing sensitivity of other bands is solved, and the effect of simplifying the design and retaining the multi-band sensitivity of the speaker is achieved.
Patent Information
- Application Number
- CN202210357919.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-06
- Publication Date
- 2025-05-30
- Estimated Expiration
- 2042-04-06
AI Technical Summary
In the prior art, when reducing the standing wave of the speaker by filling the sound-absorbing material, the design process is complicated and cumbersome, and the sensitivity of the speaker in other frequency bands is reduced.
A method for determining the geometric parameters of the resonator is proposed. By obtaining the original frequency response curve when the speaker is not installed, the peak and trough frequencies are determined, the resonance frequency of the resonator is determined based on these frequencies, and the narrow tube length, narrow tube diameter and cavity volume of the resonator are calculated using a preset formula.
This method simplifies the design process by reducing sound waves only near the standing wave frequency, avoiding the elimination of sound waves in other frequency bands, thereby maintaining the sensitivity of the speaker in other frequency bands.
Smart Images

Figure CN114722530B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the technical field of audio equipment, and in particular, to a method and device for determining geometric parameters of a resonator, a speaker, and a storage medium. Background Art
[0002] Currently, due to design limitations, speaker players are prone to interference from standing waves when playing sound. The principle of standing wave generation in a speaker is as follows: When sound is emitted and transmitted through the air to the inner wall of the speaker, the inner wall of the speaker reflects the sound wave. At certain frequencies, the amplitudes of the incident wave and the reflected wave are the same and the propagation directions are opposite. After superposition, a standing wave will be formed, and the standing wave will cause obvious peaks and valleys in the frequency response curve of the speaker. The inappropriate presence of standing waves in the speaker box will more or less affect the purity of the low frequency, the fullness of the middle frequency, and the fineness of the high frequency of the speaker sound. Therefore, for the design of a speaker, how to effectively reduce the standing waves in the speaker is relatively important.
[0003] In the prior art, sound-absorbing materials are usually used to reduce the standing waves in the speaker. However, when adding sound-absorbing materials inside the box, the type, size, and placement position of the sound-absorbing materials will all affect the final effect. Therefore, multiple rounds of sampling and testing are required to find the optimal solution, and the design process is complex and cumbersome. Moreover, while the sound-absorbing materials absorb the standing waves in the speaker, they also attenuate the sound waves in other frequency bands outside the standing waves in the speaker, resulting in a decrease in the sensitivity of the speaker in other frequency bands. Summary of the Invention
[0004] Embodiments of the present invention provide a method and device for determining geometric parameters of a resonator, a speaker, and a storage medium to solve the problems of complex and cumbersome design process and decreased sensitivity of the speaker in other frequency bands when using sound-absorbing materials to reduce standing waves.
[0005] In a first aspect, an embodiment of the present invention provides a method for determining geometric parameters of a resonator, including:
[0006] Obtaining an original frequency response curve of the speaker without installing the resonator;
[0007] Determining peaks and valleys from the original frequency response curve, where the peak corresponds to a peak frequency and the valley corresponds to a valley frequency;
[0008] Determining the resonance frequency of the resonator according to the peak frequency and the valley frequency;
[0009] Determining the length, diameter of the narrow tube, and cavity volume of the resonator according to the resonance frequency and a preset formula.
[0010] Optionally, the number of resonance frequencies is at least 1.
[0011] Optionally, the number of the wave peaks and the wave valleys is at least one, and determining the resonance frequency of the resonator according to the wave peak frequency and the wave valley frequency includes:
[0012] Determining any frequency between adjacent wave peak frequencies and wave valley frequencies as the resonance frequency.
[0013] Optionally, determining any frequency between the wave peak frequency and the wave valley frequency as the resonance frequency includes:
[0014] Calculating the average value of adjacent wave peak frequencies and wave valley frequencies as the resonance frequency.
[0015] Optionally, the preset formula is as follows:
[0016]
[0017] Where f is the resonance frequency, c o is the speed of sound, d is the diameter of the narrow tube, l is the length of the narrow tube, and V is the volume of the cavity.
[0018] Optionally, the cavity of the resonator is spherical, the size parameters of the speaker include the inner diameter of the speaker and the height of the speaker bottom, and the relationship among the diameter of the narrow tube, the length of the narrow tube, and the diameter of the cavity is:
[0019]
[0020] Where d < h < D, l + h < H, f is the resonance frequency, c o is the speed of sound, d is the diameter of the narrow tube, l is the length of the narrow tube, h is the diameter of the cavity, D is the inner diameter of the speaker, and H is the height of the speaker bottom.
[0021] Optionally, it is characterized in that determining the length of the narrow tube, the diameter of the narrow tube, and the volume of the cavity of the resonator according to the resonance frequency and the preset formula includes:
[0022] Initializing the values of the length of the narrow tube, the diameter of the narrow tube, and the volume of the cavity;
[0023] Inputting the values of the length of the narrow tube, the diameter of the narrow tube, and the volume of the cavity into a preset curve simulation model to obtain a characteristic frequency response curve;
[0024] Calculating the smoothness of the characteristic frequency response curve;
[0025] Judging whether the smoothness is less than a preset threshold;
[0026] If so, outputting the values of the length of the narrow tube, the diameter of the narrow tube, and the volume of the cavity;
[0027] Otherwise, update the values of the narrow tube diameter and the cavity volume with a preset update step size, calculate the value of the narrow tube length, and return to the step of obtaining the characteristic frequency response curve by inputting the values of the narrow tube length, the narrow tube diameter, and the cavity volume into a preset curve simulation model.
[0028] In a second aspect, an embodiment of the present invention further provides a resonator geometric parameter determination device, including:
[0029] A curve acquisition module, configured to acquire an original frequency response curve of the speaker without installing the resonator;
[0030] A peak and valley determination module, configured to determine peaks and valleys from the original frequency response curve, where the peak corresponds to a peak frequency and the valley corresponds to a valley frequency;
[0031] A resonance frequency determination module, configured to determine the resonance frequency of the resonator according to the peak frequency and the valley frequency;
[0032] A parameter determination module, configured to determine the narrow tube length, the narrow tube diameter, and the cavity volume of the resonator according to the resonance frequency and a preset formula.
[0033] Optionally, the number of the resonance frequencies is at least 1.
[0034] Optionally, the number of the peaks and the valleys is at least 1. The resonance frequency determination module includes:
[0035] A frequency range determination sub-module, configured to determine any frequency between adjacent peak frequencies and valley frequencies as the resonance frequency.
[0036] Optionally, the resonance frequency determination sub-module includes:
[0037] A frequency mean calculation unit, configured to calculate the mean of adjacent peak frequencies and valley frequencies as the resonance frequency.
[0038] Optionally, the preset formula is as follows:
[0039]
[0040] Where f is the resonance frequency, c o is the speed of sound, d is the narrow tube diameter, l is the narrow tube length, and V is the cavity volume.
[0041] Optionally, the cavity of the resonator is spherical, the size parameters of the speaker include the inner diameter of the speaker and the height of the bottom of the speaker, and the relational expressions of the narrow tube diameter, the narrow tube length, and the cavity diameter are:
[0042]
[0043] where d < h < D, l + h < H, f is the resonance frequency, c o is the speed of sound, d is the diameter of the narrow tube, l is the length of the narrow tube, h is the diameter of the cavity, D is the inner diameter of the speaker, and H is the height of the bottom of the speaker. Optionally, the parameter determination module includes:
[0044] a parameter initialization sub-module for initializing the values of the length of the narrow tube, the diameter of the narrow tube, and the volume of the cavity;
[0045] a parameter value input sub-module for inputting the values of the length of the narrow tube, the diameter of the narrow tube, and the volume of the cavity into a preset curve simulation model to obtain a characteristic frequency response curve;
[0046] a smoothness calculation sub-module for calculating the smoothness of the characteristic frequency response curve;
[0047] a smoothness judgment sub-module for judging whether the smoothness is less than a preset threshold. If so, execute the content executed by the parameter value output sub-module; if not, execute the content executed by the parameter update sub-module;
[0048] a parameter value output sub-module for outputting the values of the length of the narrow tube, the diameter of the narrow tube, and the volume of the cavity;
[0049] a parameter update sub-module for updating the values of the diameter of the narrow tube and the volume of the cavity with a preset update step, calculating the value of the length of the narrow tube, and returning to execute the content executed by the parameter value input sub-module.
[0050] In a third aspect, an embodiment of the present invention further provides a speaker, which includes a speaker body and a resonator. The resonator includes a narrow tube and a cavity. The volume of the cavity, the length of the narrow tube, and the diameter of the narrow tube of the resonator are determined by the resonator geometric parameter determination method described in the first aspect.
[0051] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements the resonator geometric parameter determination method described in the first aspect.
[0052] An embodiment of the present invention provides a method for determining the geometric parameters of a resonator. First, obtain the original frequency response curve of the speaker without the resonator installed, determine the peaks and valleys from the original frequency response curve, the peak corresponds to the peak frequency, and the valley corresponds to the valley frequency. Determine the resonant frequency of the resonator according to the peak frequency and the valley frequency, and determine the cavity volume, the length of the narrow tube, and the diameter of the narrow tube of the resonator according to the resonant frequency and a preset formula. By setting the resonant frequency of the resonator through the peak frequency and the valley frequency of the original frequency response curve of the speaker, and then setting the geometric parameters of the resonator with the resonant frequency, the effect of reducing the standing wave in the speaker through the resonator can be achieved. The design process is simple, and when the resonator reduces the standing wave, it only targets the sound waves near the resonant frequency, rather than eliminating the sound waves in other frequency bands like using sound-absorbing materials, avoiding the decrease in sensitivity of the speaker in other frequency bands. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Figure 1 FIG. is a flowchart of a method for determining the geometric parameters of a resonator provided in Embodiment 1 of the present invention;
[0054] Figure 2 FIG. is a schematic diagram of a resonator provided in Embodiment 1 of the present invention;
[0055] Figure 3 FIG. is a comparison diagram of the frequency response curves of a speaker before and after adding a resonator provided in Embodiment 1 of the present invention;
[0056] Figure 4 FIG. is a schematic diagram of a cavity connecting multiple narrow tubes provided in Embodiment 1 of the present invention;
[0057] Figure 5 FIG. is a schematic structural diagram of a resonator arranged in a speaker provided in Embodiment 1 of the present invention;
[0058] Figure 6 FIG. is a structural block diagram of a device for determining the geometric parameters of a resonator provided in Embodiment 4 of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0059] The present invention will be further described in detail below with reference to the drawings and embodiments. It can be understood that the specific embodiments described herein are only used to explain the present invention, rather than limiting the present invention. Additionally, it should be noted that for the sake of description, only parts related to the present invention are shown in the drawings, rather than all the structures.
[0060] Embodiment 1
[0061] Figure 1The flowchart of a method for determining the geometric parameters of a resonator provided in Embodiment 1 of the present invention. This embodiment is applicable to the case of placing a resonator in a speaker. This method can be executed by a device for determining the geometric parameters of the resonator, and the device for determining the geometric parameters of the resonator can be implemented by software and / or hardware and can be configured in a computer device, such as a computer, a laptop, etc. Specifically, the method includes the following steps:
[0062] S101. Obtain the original frequency response curve of the speaker without installing the resonator.
[0063] Generally, the frequency response curve of a speaker tends to be flat. To avoid the interference of various noises in the listening environment and the absorption materials of walls and carpets on the frequency response curve of the speaker, the original frequency response curve of the speaker without installing the resonator can be obtained in an anechoic chamber. Specifically, the speaker's speaker can be made to play sound, and a microphone can be set one meter away from the speaker. The microphone is used to receive the sound played by the speaker to obtain the frequency response curve, that is, the original frequency response curve of the speaker.
[0064] S102. Determine the peaks and valleys from the original frequency response curve. The peak corresponds to the peak frequency, and the valley corresponds to the valley frequency.
[0065] The original frequency response curve of the speaker excludes the interference of other noises and absorption materials. Therefore, when there are peaks and valleys in the original frequency response curve, it is caused by the reflection of sound waves by the inner wall of the speaker. At certain frequencies, the reflected sound wave of the sound is exactly in the same vibration direction as the source sound, then the sound at this frequency will be enhanced, and the sound at this frequency will become larger, that is, a peak is formed. There are also some frequencies where the reflected sound is exactly in the opposite vibration direction to the source sound, then the sound at this frequency will be weakened, that is, a valley is formed. Among them, the peak corresponds to the peak frequency, and the valley corresponds to the valley frequency. Generally speaking, after the structure of the speaker is determined, the positions and numbers of the peaks and valleys in the original frequency response curve of the speaker obtained in the anechoic chamber are also determined, and the numbers of the peaks and valleys are at least 1.
[0066] S103. Determine the resonance frequency of the resonator according to the peak frequency and the valley frequency.
[0067] The resonator in this embodiment is a Helmholtz resonator. Placing the resonator inside the speaker can be used to eliminate the standing waves in the speaker, such as Figure 2As shown, the resonator includes a narrow tube 1 and a cavity 2, which is equivalent to a container with a thin neck or a small opening. The working principle of the resonator is as follows: When affected by sound waves, the air in the narrow tube 1 and the air near the tube opening vibrate with the sound waves, which is equivalent to an acoustic mass element. The air in the cavity 2 changes with the expansion and contraction of the air, which is equivalent to an acoustic compliance element. When the frequency of the incident sound wave is close to the resonant frequency of the resonator, the air column in the narrow tube 1 vibrates strongly, overcoming the frictional resistance and consuming acoustic energy. On the contrary, when the frequency of the incident sound wave is far from the resonant frequency of the resonator, the vibration of the air column is very weak and basically does not consume acoustic energy, that is, the sound wave near the resonant frequency is weakened to reduce the obvious peaks and valleys formed by the superposition of the incident wave and the reflected wave after reflection of the sound wave at that frequency, that is, to reduce standing waves.
[0068] There are peaks and valleys in the original frequency response curve, indicating that there are uneven curve segments corresponding to the peaks and valleys in the original frequency response curve. When there are multiple peaks and valleys, there are multiple corresponding curve segments, and each curve segment covers a certain frequency range. The resonant frequency of the resonator can be set within this frequency range.
[0069] There is only one corresponding resonant frequency for one resonator structure. As Figure 3 shown, curve A represents the original frequency response curve of the speaker, and curve B represents the frequency response curve after adding one resonator. Since the curve segments corresponding to the peaks and valleys in curve A cover a certain frequency range (1K - 1.3KHz), setting one resonator with a resonant frequency within this frequency range (for example, 1240Hz), the smoothing effect of this resonator on the frequency response curve of the speaker may be limited. That is, for the frequency response curve obtained after adding one resonator to the speaker, compared with the original frequency response curve, although the amplitudes of the peaks and valleys within this frequency range have been weakened, there are still peaks and valleys with a certain amplitude. Therefore, in an example of this embodiment, the number of resonators is more than one, and the specific number can also be set according to actual needs. When the requirement for the smoothness of the curve is relatively low, only one resonator can be set, that is, only one resonant frequency needs to be obtained. When the requirement for the smoothness of the curve is relatively high, multiple resonators can be set, that is, multiple resonant frequencies need to be obtained. Specifically, when setting multiple resonators, multiple sets of cavities and narrow tubes can be set, or multiple narrow tubes can be connected to one cavity. As Figure 4 shown, multiple narrow tubes share one cavity to form multiple resonators. Then, the cavity volumes of the multiple resonators are the same, and the resonant frequencies of the resonators formed by the cavity and different narrow tubes are different. The narrow tube lengths and narrow tube diameters of different narrow tubes can be determined according to the resonant frequencies to be set. For example, the length of the first narrow tube is l 1 and the diameter of the narrow tube is d 1 , the length of the first narrow tube is l 2 and the diameter of the narrow tube is d 2 .
[0070] When obtaining multiple resonance frequencies, in order to ensure to a greater extent the smoothing effect of the resonator on the curve, the frequency between adjacent peak frequencies and valley frequencies can be determined as the resonance frequency. Because for the resonator with a resonance frequency between the peak frequency and the valley frequency, both the peak frequency and the valley frequency are close to this resonance frequency, then this resonator can play a certain degree of smoothing role on both the peak and the valley of the original frequency response curve of the speaker. When only obtaining 1 resonance frequency, the average value of the peak frequency and the valley frequency can be determined as the resonance frequency, that is, making the resonance frequency located in the middle of two adjacent peak frequencies and valley frequencies, and playing a comprehensive adjustment role on the peak and the valley in the case of only one resonator. The above settings of the resonance frequency are only examples and can be set according to the actual situation, and the present invention does not limit this.
[0071] S104. Determine the narrow tube length, narrow tube diameter and cavity volume of the resonator according to the resonance frequency and the preset formula.
[0072] The resonance frequency of the resonator is determined by the narrow tube diameter, narrow tube length and cavity volume, and the calculation formula is as follows:
[0073]
[0074] Among them, f is the resonance frequency, c o is the speed of sound, d is the narrow tube diameter, l is the narrow tube length, and V is the cavity volume. Given the resonance frequency of the resonator, the relational expressions that mutually restrict the narrow tube diameter d, narrow tube length l and cavity volume V can be derived conversely.
[0075] The narrow tube of the resonator is cylindrical, and the cross-section of the tube orifice of the narrow tube is a circle, that is, the cross-sectional area of the tube orifice of the narrow tube is d which is the narrow tube diameter. The shape of the cavity can be determined according to the structure of the speaker. Since in actual products, issues such as molds, assembly and speaker structure need to be considered, the cavity part structure of the resonator may have various shapes, such as spherical, cylindrical, conical or irregular shapes, etc. The primary condition for designing the resonator is that the size and shape of the resonator need to be adapted to the remaining space inside the speaker.
[0076] In an optional embodiment of this embodiment, if the cavity of the resonator is spherical, the relational expression between the cavity volume V and the cavity diameter h is where h is the cavity diameter. Substituting the expression of the cavity volume V into the calculation formula of the resonance frequency, the relational expression of the narrow tube diameter d, narrow tube length l and cavity diameter h can be obtained as:
[0077]
[0078] The resonator can be placed at the bottom of the speaker. Figure 5The schematic diagram shows the placement of a resonator in a speaker, where 3 is the speaker and 4 is the resonator, and the resonator 4 is located at the bottom of the speaker 3. In order to adapt to the remaining space at the bottom of the speaker, the values of the narrow tube diameter d, the narrow tube length l, and the cavity diameter h can be constrained according to the size parameters of the speaker. The size parameters of the speaker include the inner diameter of the speaker and the height of the speaker bottom. Then the constraint conditions can be: d < h < D, l + h < H, where D is the inner diameter or width of the speaker, and H is the height of the speaker bottom. The inner diameter (width) of the speaker and the height of the speaker bottom are the inner diameter (width) and height of the remaining space at the speaker bottom respectively.
[0079] That is, the constraint conditions are: the overall height (l + h) of the resonator is less than the height H of the speaker bottom, the narrow tube diameter d of the resonator is less than the cavity diameter h, and the cavity diameter h is less than the inner diameter d of the speaker.
[0080] In practical applications, the value of the cavity diameter h is often set in advance according to the inner diameter d of the speaker. For example, the cavity diameter h can be set to 1 / 3 of the inner diameter D of the speaker.
[0081] It should be noted that here the cavity of the resonator is regarded as a thin-walled cavity, and the thickness of the cavity is ignored, that is, both the inner diameter and the outer diameter of the cavity are regarded as the same value. If the cavity shell is relatively thick and the difference between the inner diameter and the outer diameter of the cavity needs to be considered, then the cavity volume V should be calculated according to the inner diameter of the cavity. When restricting the size of the cavity, it should be designed according to the outer diameter of the cavity. According to the method mentioned in the embodiments of the present invention, it is also easy to know how to make corresponding modifications, and the modified solution should fall within the protection scope of the present invention.
[0082] After obtaining the relational expressions and constraint conditions among the narrow tube diameter d, the narrow tube length l, and the cavity volume V, the three values can be calculated using simulation software. For example, Comsol software is used to simulate the parameters. Since the narrow tube diameter d has a greater influence on the sound absorption effect of the resonator, the value of the cavity volume V can be kept unchanged first, and then multiple different narrow tube diameters d are set under the constraint conditions. Then, according to the values of the cavity volume V and the narrow tube diameter d, they are substituted into a preset formula, and the resonant frequency in the preset formula is known, so the narrow tube length l can be obtained. Then, the smoothing effect of the resonator on the original frequency response curve under multiple parameter combinations corresponding to different narrow tube diameters d is tested, and the parameter combination with the best smoothing effect is selected, that is, the best narrow tube diameter d can be determined from it. Next, keeping the value of the narrow tube diameter d unchanged, multiple sets of values of the narrow tube length l and the cavity volume V are set under the constraint conditions to test the smoothing effect of the resonator on the original frequency response curve under multiple parameter combinations, and the parameter combination with the best smoothing effect is selected. Finally, taking the narrow tube length l or the cavity volume V as a variable, the narrow tube length l and the cavity volume V are adjusted until the smoothing effect of the resonator on the original frequency response curve of the speaker under the adjusted parameter combination meets the user's requirements.
[0083] Among them, when the values of the narrow tube diameter, narrow tube length, and cavity volume are known, a frequency response curve under this parameter combination can be plotted through a curve simulation model, that is, the frequency response curve after adding a resonator with this geometric parameter inside the speaker. Among them, the parameter combinations and corresponding frequency response curves in historical data can be obtained, and the curve simulation model can be obtained and improved through deep learning.
[0084] In an alternative embodiment of the present invention, determining the cavity volume, narrow tube length, and narrow tube diameter of the resonator according to the resonance frequency and a preset formula includes the following steps:
[0085] Initialize the values of the narrow tube length, narrow tube diameter, and cavity volume;
[0086] Input the values of the narrow tube length, narrow tube diameter, and cavity volume into a preset curve simulator to obtain a characteristic frequency response curve;
[0087] Calculate the smoothness of the characteristic frequency response curve;
[0088] Determine whether the smoothness is less than a preset threshold;
[0089] If so, output the values of the cavity volume, narrow tube length, and narrow tube diameter;
[0090] If not, update the values of the cavity volume and narrow tube diameter with a preset update step length, calculate the value of the narrow tube length, and return to the step of inputting the values of the narrow tube length, narrow tube diameter, and cavity volume into a preset curve simulator to obtain a characteristic frequency response curve.
[0091] If t is the update step length, the iteration formula is T = T 0 + t, where T 0 is the parameter value before update (including the cavity volume, narrow tube length, and narrow tube diameter), and T is the parameter value after update. For different parameters, the update step length t is different, and it can be specifically set according to actual requirements.
[0092] In an alternative embodiment, to facilitate parameter update, the iteration formula can be set as: T = T 0 + αt, where α is the update coefficient, and the value of the update coefficient α can be positive or negative to adjust the parameter in the increasing or decreasing direction.
[0093] Among them, the frequency range of the characteristic frequency response curve can be a range with the resonance frequency of the resonator as the center and a preset frequency band width. The smoothness of the characteristic frequency response curve can be judged by the curvature of the curve. The curvature of the curve is the rotation rate of the tangent direction angle of a certain point on the curve with respect to the arc length, indicating the degree of deviation of the curve from a straight line. The larger the curvature, the greater the bending degree of the curve, that is, the lower the smoothness of the characteristic frequency response curve. On the contrary, the smaller the curvature, the smaller the bending degree of the curve, that is, the higher the smoothness of the characteristic frequency response curve. Among them, the setting of the preset threshold represents the user's requirement for the smoothness of the characteristic frequency response curve, that is, the demand for eliminating the speaker standing wave degree, and can be specifically set according to actual needs.
[0094] By using the curve simulation model to simulate the sound absorption effect of the resonator under different parameter combinations, it can be quickly verified and optimized through theoretical and simulation calculations. Compared with the measured data, the simulation results have certain reference value, which is very beneficial for product design and development. However, due to the diversity and complexity of the sound absorption materials, it is difficult to establish a corresponding simulation model, and only through actual sample tests and comparisons, it is more difficult in product design and development. In addition, the structure of the Helmholtz resonator is very simple, and its manufacturability and product consistency during actual production are superior to those of the sound absorption materials.
[0095] The embodiment of the present invention provides a method for determining the geometric parameters of a resonator. First, obtain the original frequency response curve of the speaker without installing the resonator, determine the peaks and valleys from the original frequency response curve, the peak corresponds to the peak frequency, and the valley corresponds to the valley frequency. Determine the resonance frequency of the resonator according to the peak frequency and the valley frequency, and determine the cavity volume, the length of the narrow tube, and the diameter of the narrow tube of the resonator according to the resonance frequency and the preset formula. By setting the resonance frequency of the resonator through the peak frequency and the valley frequency of the original frequency response curve of the speaker, and then setting the geometric parameters of the resonator with the resonance frequency, the effect of reducing the standing wave in the speaker through the resonator can be achieved. The design process is simple, and when the resonator reduces the standing wave, it only targets the sound waves near the resonance frequency, and will not eliminate the sound waves in other frequency bands like using sound absorption materials, avoiding the decrease in the sensitivity of the speaker in other frequency bands.
[0096] Embodiment Two
[0097] Figure 6 It is a structural block diagram of a device for determining the geometric parameters of a resonator provided by the second embodiment of the present invention, and specifically may include the following modules:
[0098] The curve acquisition module 601 is used to acquire the original frequency response curve of the speaker without installing the resonator;
[0099] The peak and valley determination module 602 is used to determine the peaks and valleys from the original frequency response curve, the peak corresponds to the peak frequency, and the valley corresponds to the valley frequency;
[0100] A resonance frequency determination module 603, configured to determine the resonance frequency of a resonator according to a peak frequency and a trough frequency;
[0101] A parameter determination module 604, configured to determine the length of a narrow tube, the diameter of the narrow tube, and the cavity volume of the resonator according to the resonance frequency and a preset formula.
[0102] Optionally, the number of resonance frequencies is at least one.
[0103] Optionally, the number of the peaks and the number of the troughs are at least one. The resonance frequency determination module 603 includes:
[0104] A frequency range determination sub-module, configured to determine any frequency between adjacent peak frequencies and trough frequencies as the resonance frequency.
[0105] Optionally, the resonance frequency determination sub-module includes:
[0106] A frequency mean calculation unit, configured to calculate the mean of adjacent peak frequencies and trough frequencies as the resonance frequency.
[0107] Optionally, the preset formula is as follows:
[0108]
[0109] where f is the resonance frequency, c o is the speed of sound, d is the diameter of the narrow tube, l is the length of the narrow tube, and V is the cavity volume.
[0110] Optionally, the cavity of the resonator is spherical. The size parameters of the speaker include the inner diameter of the speaker and the height of the speaker bottom. The relational expression among the diameter of the narrow tube, the length of the narrow tube, and the cavity diameter is:
[0111]
[0112] where d < h < D, l + h < H, f is the resonance frequency, c o is the speed of sound, d is the diameter of the narrow tube, l is the length of the narrow tube, h is the cavity diameter, D is the inner diameter of the speaker, and H is the height of the speaker bottom.
[0113] Optionally, the parameter determination module 604 includes:
[0114] A parameter initialization sub-module, configured to initialize the values of the length of the narrow tube, the diameter of the narrow tube, and the cavity volume;
[0115] A parameter value input sub-module, configured to input the values of the length of the narrow tube, the diameter of the narrow tube, and the cavity volume into a preset curve simulation model to obtain a characteristic frequency response curve;
[0116] A smoothness calculation sub-module, which is used to calculate the smoothness of the characteristic frequency response curve;
[0117] A smoothness judgment sub-module, which is used to judge whether the smoothness is less than a preset threshold. If so, it executes the content executed by the parameter value output sub-module; if not, it executes the content executed by the parameter update sub-module;
[0118] A parameter value output sub-module, which is used to output the values of the narrow tube length, the narrow tube diameter, and the cavity volume;
[0119] A parameter update sub-module, which is used to update the values of the narrow tube diameter and the cavity volume with a preset update step length, calculate the value of the narrow tube length, and return to execute the content executed by the parameter value input sub-module.
[0120] The resonator geometric parameter determination device provided by the embodiment of the present invention can execute the resonator geometric parameter determination method provided by the first embodiment of the present invention, and has the corresponding functional modules and beneficial effects for executing the method.
[0121] Embodiment III
[0122] The third embodiment of the present invention also provides a speaker, which includes a speaker body and a resonator. The resonator includes a narrow tube and a cavity. The cavity volume, the narrow tube length, and the narrow tube diameter of the resonator are determined by the resonator geometric parameter determination method provided by the first embodiment of the present invention.
[0123] Embodiment IV
[0124] The fourth embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it can implement the resonator geometric parameter determination method in any embodiment of the present invention.
[0125] Of course, for the storage medium including computer-executable instructions provided by the embodiment of the present invention, the computer-executable instructions are not limited to the method operations as described above, and can also execute the resonator geometric parameter determination method provided by any embodiment of the present invention applied to the device.
[0126] It should be noted that for the device, speaker, and storage medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple. For the relevant parts, please refer to the partial description of the method embodiments.
[0127] From the above description of the embodiments, those skilled in the art can clearly understand that the present invention can be implemented by means of software and necessary general hardware. Of course, it can also be implemented by hardware, but in many cases the former is a better implementation. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as a floppy disk, read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk, or optical disc of a computer, etc., including several instructions for causing a computer device (which can be a personal computer, computer device, server, or network device, etc.) to execute the resonator geometric parameter determination method described in each embodiment of the present invention.
[0128] It should be noted that in the embodiments of the above geometric parameter determination device, the various units and modules included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of mutual distinction and do not limit the protection scope of the present invention.
[0129] The above are only the preferred embodiments of the present invention and are not used to limit the present invention. For those skilled in the art, the present invention can have various modifications and changes. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.
Claims
1. A method for determining the geometric parameters of a resonator, characterized in that, comprising: obtaining the original frequency response curve of the speaker without installing the resonator; determining the peaks and valleys from the original frequency response curve, where the peaks correspond to peak frequencies and the valleys correspond to valley frequencies; determining the resonant frequency of the resonator according to the peak frequency and the valley frequency; determining the narrow tube length, narrow tube diameter and cavity volume of the resonator according to the resonant frequency and a preset formula, and the size and shape of the resonator are adapted to the remaining space inside the speaker; the preset formula is: where f is the resonant frequency, c o is the speed of sound, d is the diameter of the narrow tube, l is the length of the narrow tube, and V is the volume of the cavity.
2. The method according to claim 1, characterized in that, the number of the resonant frequencies is at least 1.
3. The method according to claim 1, characterized in that, the number of the peaks and the valleys is at least 1, and determining the resonant frequency of the resonator according to the peak frequency and the valley frequency includes: determining any frequency between adjacent peak frequencies and valley frequencies as the resonant frequency.
4. The method according to claim 3, characterized in that, determining any frequency between adjacent peak frequencies and valley frequencies as the resonant frequency includes: calculating the average value of adjacent peak frequencies and valley frequencies as the resonant frequency.
5. The method according to claim 1, characterized in that, the cavity of the resonator is spherical, the size parameters of the speaker include the inner diameter of the speaker and the height of the bottom of the speaker, and the relationship formula of the narrow tube diameter, narrow tube length and cavity diameter is: Wherein, d < h < D, l + h < H, f is the resonance frequency, c o is the speed of sound, d is the diameter of the narrow tube, l is the length of the narrow tube, h is the diameter of the cavity, D is the inner diameter of the speaker, and H is the height of the bottom of the speaker.
6. The method according to any one of claims 1-5, characterized in that, determining the narrow tube length, narrow tube diameter and cavity volume of the resonator according to the resonant frequency and a preset formula includes: initializing the values of the narrow tube length, narrow tube diameter and cavity volume; inputting the values of the narrow tube length, narrow tube diameter and cavity volume into a preset curve simulation model to obtain a characteristic frequency response curve; calculating the smoothness of the characteristic frequency response curve; judging whether the smoothness is less than a preset threshold; if so, outputting the values of the narrow tube length, narrow tube diameter and cavity volume; if not, updating the values of the narrow tube diameter and cavity volume with a preset update step length, calculating the value of the narrow tube length, and returning to the step of inputting the values of the narrow tube length, narrow tube diameter and cavity volume into a preset curve simulation model to obtain a characteristic frequency response curve.
7. A device for determining the geometric parameters of a resonator, characterized in that, comprising: a curve acquisition module for obtaining the original frequency response curve of the speaker without installing the resonator; a peak and valley determination module for determining the peaks and valleys from the original frequency response curve, where the peaks correspond to peak frequencies and the valleys correspond to valley frequencies; a resonant frequency determination module for determining the resonant frequency of the resonator according to the peak frequency and the valley frequency; a parameter determination module for determining the narrow tube length, narrow tube diameter and cavity volume of the resonator according to the resonant frequency and a preset formula, and the size and shape of the resonator are adapted to the remaining space inside the speaker; the preset formula is: where f is the resonant frequency, c o is the sound velocity, d is the diameter of the narrow tube, l is the length of the narrow tube, and V is the volume of the cavity.
8. A speaker, characterized in that, the speaker includes a speaker body and a resonator, the resonator includes a narrow tube and a cavity, and the length, diameter of the narrow tube and the volume of the cavity of the resonator are determined by the resonator geometric parameter determination method described in any one of claims 1-6.
9. A computer-readable storage medium, characterized in that, a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, it implements the resonator geometric parameter determination method described in any one of claims 1-6.
Citation Information
Patent Citations
Deep learning-based second-order Helmholtz resonator design method
CN112926159A
String instrument type speaker system
CN201352848Y